1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 01:04:07 +02:00

update demo

This commit is contained in:
Justin Lin
2021-04-17 18:11:11 +08:00
parent dba9fd8895
commit 996cd35daa

View File

@@ -1,4 +1,5 @@
use <experimental/tri_delaunay.scad>;
use <experimental/tri_delaunay_shapes.scad>;
use <experimental/tri_delaunay_voronoi.scad>;
use <hull_polyline2d.scad>;
@@ -10,10 +11,10 @@ for(p = points) {
circle(2);
}
%draw(tri_delaunay(points));
delaunay = tri_delaunay(points, ret = "DELAUNAY");
d = tri_delaunay(points, ret = "DELAUNAY");
#draw(tri_delaunay_voronoi(d));
%draw(tri_delaunay_shapes(delaunay));
#draw(tri_delaunay_voronoi(delaunay));
module draw(pointsOfTriangles) {
for(t = pointsOfTriangles) {