diff --git a/examples/knot.scad b/examples/knot.scad new file mode 100644 index 00000000..ac0dd9ab --- /dev/null +++ b/examples/knot.scad @@ -0,0 +1,21 @@ +include ; +include ; +include ; +include ; +include ; + +p = 2; +q = 3; +phi_step = 0.05; +star_radius = 0.5; + +pts = torus_knot(p, q, phi_step); + +shape_pentagram_pts = shape_pentagram(star_radius); + +path_extrude( + shape_pentagram_pts, + concat(pts, [pts[0]]), + closed = true, + method = "EULER_ANGLE" +);