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

voronoi preview

This commit is contained in:
Justin Lin
2020-05-23 16:57:12 +08:00
parent 9282b74d8b
commit 17d8aa9a7e
22 changed files with 198 additions and 37 deletions

View File

@@ -1,7 +1,7 @@
use <golden_spiral.scad>;
use <ptf/ptf_rotate.scad>;
use <hollow_out.scad>;
use <experimental/voronoi_cells.scad>;
use <voronoi/vrn2_cells_from.scad>;
spirals = 2; // [2:]
line_thickness = .5;
@@ -33,7 +33,7 @@ module voronoi_fibonacci() {
half_line_thicness = line_thickness / 2;
lst_r = norm(spiral[len(spiral) - 1]) + half_line_thicness;
cells = voronoi2d_cells(pts);
cells = vrn2_cells_from(pts);
for(i = [0:len(pts) - 1]) {
cell = cells[i];