mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 22:28:16 +01:00
15 lines
317 B
OpenSCAD
15 lines
317 B
OpenSCAD
use <voronoi/vrn2_space_cells.scad>;
|
|
use <hull_polyline3d.scad>;
|
|
use <ptf/ptf_torus.scad>;
|
|
|
|
size = [40, 80];
|
|
grid_w = 5;
|
|
cells = vrn2_space_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);
|
|
} |