mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
rename
This commit is contained in:
parent
d9347a1b09
commit
a9a31e382f
@ -1,4 +1,4 @@
|
||||
use <voronoi/vrn2_space_cells.scad>;
|
||||
use <voronoi/vrn2_cells_space.scad>;
|
||||
|
||||
grid_w = 5;
|
||||
spacing = 0.2;
|
||||
@ -108,7 +108,7 @@ levels = [
|
||||
];
|
||||
|
||||
size = [len(levels[0]), len(levels)];
|
||||
cells = vrn2_space_cells(size, grid_w);
|
||||
cells = vrn2_cells_space(size, grid_w);
|
||||
|
||||
for(cell = cells) {
|
||||
level = levels[size[1] - cell[0][1]][cell[0][0]];
|
||||
|
@ -1,10 +1,10 @@
|
||||
use <voronoi/vrn2_space_cells.scad>;
|
||||
use <voronoi/vrn2_cells_space.scad>;
|
||||
use <hull_polyline3d.scad>;
|
||||
use <ptf/ptf_torus.scad>;
|
||||
|
||||
size = [40, 80];
|
||||
grid_w = 5;
|
||||
cells = vrn2_space_cells(size, grid_w);
|
||||
cells = vrn2_cells_space(size, grid_w);
|
||||
|
||||
$fn = 4;
|
||||
|
||||
|
@ -2,7 +2,7 @@ use <_impl/_vrn2_space_cells_impl.scad>;
|
||||
use <_impl/_convex_intersection_for.scad>;
|
||||
use <../shape_square.scad>;
|
||||
|
||||
function vrn2_space_cells(size, grid_w, seed) =
|
||||
function vrn2_cells_space(size, grid_w, seed) =
|
||||
let(
|
||||
sd = is_undef(seed) ? rands(0, 255, 1)[0] : seed,
|
||||
region_size = grid_w * 3,
|
Loading…
x
Reference in New Issue
Block a user