1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 21:12:08 +02:00

symmetric

This commit is contained in:
Justin Lin
2020-04-09 14:53:05 +08:00
parent 53e86a14fa
commit c3d5484fde
3 changed files with 34 additions and 11 deletions

View File

@@ -0,0 +1,15 @@
use <experimental/voronoi_square_cells.scad>;
use <hull_polyline3d.scad>;
use <ptf/ptf_torus.scad>;
size = [40, 80];
grid_w = 5;
cells = voronoi_square_cells(size, grid_w);
$fn = 4;
for(cell = cells) {
cell_poly = [for(p = cell[1]) ptf_torus(size, p, [10, 5], [360, 360])];
hull_polyline3d(cell_poly, thickness = 1);
}