mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 09:14:29 +02:00
update demo
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
use <experimental/tri_delaunay.scad>;
|
use <experimental/tri_delaunay.scad>;
|
||||||
|
use <experimental/tri_delaunay_shapes.scad>;
|
||||||
use <experimental/tri_delaunay_voronoi.scad>;
|
use <experimental/tri_delaunay_voronoi.scad>;
|
||||||
use <hull_polyline2d.scad>;
|
use <hull_polyline2d.scad>;
|
||||||
|
|
||||||
@@ -10,10 +11,10 @@ for(p = points) {
|
|||||||
circle(2);
|
circle(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
%draw(tri_delaunay(points));
|
delaunay = tri_delaunay(points, ret = "DELAUNAY");
|
||||||
|
|
||||||
d = tri_delaunay(points, ret = "DELAUNAY");
|
%draw(tri_delaunay_shapes(delaunay));
|
||||||
#draw(tri_delaunay_voronoi(d));
|
#draw(tri_delaunay_voronoi(delaunay));
|
||||||
|
|
||||||
module draw(pointsOfTriangles) {
|
module draw(pointsOfTriangles) {
|
||||||
for(t = pointsOfTriangles) {
|
for(t = pointsOfTriangles) {
|
Reference in New Issue
Block a user