mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 01:04:07 +02:00
rename
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use <experimental/tri_delaunay.scad>;
|
||||
use <experimental/tri_delaunay2voronoi.scad>;
|
||||
use <experimental/tri_delaunay_voronoi.scad>;
|
||||
use <hull_polyline2d.scad>;
|
||||
|
||||
points = [for(i = [0:20]) rands(-100, 100, 2)];
|
||||
@@ -13,7 +13,7 @@ for(p = points) {
|
||||
%draw(tri_delaunay(points));
|
||||
|
||||
d = tri_delaunay(points, ret = "DELAUNAY");
|
||||
#draw(tri_delaunay2voronoi(d));
|
||||
#draw(tri_delaunay_voronoi(d));
|
||||
|
||||
module draw(pointsOfTriangles) {
|
||||
for(t = pointsOfTriangles) {
|
@@ -1,9 +1,9 @@
|
||||
use <experimental/_impl/_tri_delaunay2voronoi_impl.scad>;
|
||||
use <experimental/_impl/_tri_delaunay_voronoi_impl.scad>;
|
||||
use <util/map/hashmap.scad>;
|
||||
use <util/map/hashmap_keys.scad>;
|
||||
use <util/map/hashmap_get.scad>;
|
||||
|
||||
function tri_delaunay2voronoi(d) =
|
||||
function tri_delaunay_voronoi(d) =
|
||||
let(
|
||||
coords = delaunay_coords(d),
|
||||
coords_leng = len(coords),
|
Reference in New Issue
Block a user