1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 17:24:20 +02:00

delete demo

This commit is contained in:
Justin Lin
2020-07-04 11:07:24 +08:00
parent 66e4ff08ff
commit 328cb362ba

View File

@@ -1,20 +0,0 @@
use <hull_polyline2d.scad>;
use <voronoi/vrn2_space_cells.scad>;
size = [20, 20];
grid_w = 5;
cells = vrn2_space_cells(size, grid_w);
for(cell = cells) {
cell_pt = cell[0];
cell_poly = cell[1];
linear_extrude(1)
hull_polyline2d(concat(cell_poly, [cell_poly[0]]), width = 1);
color(rands(0, 1, 3))
translate(cell_pt)
linear_extrude(2, scale = 0.8)
translate(-cell_pt)
polygon(cell_poly);
}