From 565b62f3f556c2c6337a72a7e13b06413ae9f3eb Mon Sep 17 00:00:00 2001 From: Adrian Mariano <avm4@cornell.edu> Date: Sat, 22 Jun 2024 22:32:05 -0400 Subject: [PATCH 1/2] fix projection examples --- vnf.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vnf.scad b/vnf.scad index 937431c..d67c297 100644 --- a/vnf.scad +++ b/vnf.scad @@ -1205,7 +1205,7 @@ function _vnf_centroid(vnf,eps=EPSILON) = // XY plane, which is again a region. If the VNF does not intersect // the XY plane then returns the empty set. This operation is // much faster than `cut=false`. -// Example: Here's a VNF with two linked toruses and a small cube +// Example(3D): Here's a VNF with two linked toruses and a small cube // vnf = vnf_join([ // xrot(90,torus(id=15,od=24,$fn=5)), // right(12,torus(id=15,od=24,$fn=4)), @@ -1220,7 +1220,7 @@ function _vnf_centroid(vnf,eps=EPSILON) = // ]); // reg = projection(vnf); // region(reg); -// Example: Tilted torus +// Example(3D): Tilted torus // vnf = xrot(35,torus(id=4,od=12,$fn=32)); // vnf_polyhedron(vnf); // Example(2D): Projection of tilted torus using `cut=true` From c6e58b926b5ca3965a46402775fb3a3a8a0aef45 Mon Sep 17 00:00:00 2001 From: Adrian Mariano <avm4@cornell.edu> Date: Sat, 22 Jun 2024 22:58:52 -0400 Subject: [PATCH 2/2] doc fix --- miscellaneous.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miscellaneous.scad b/miscellaneous.scad index 2dcc35b..472e056 100644 --- a/miscellaneous.scad +++ b/miscellaneous.scad @@ -270,7 +270,7 @@ module path_extrude(path, convexity=10, clipsize=100) { // --- // od = The outer diameter to extrude to. // id = The inner diameter to extrude from. -// size = If a scalar, the width of the 2D children. If a vector, the [X,Y] size of the 2D children. Default: [2*PI*or,1000] +// size = If a scalar, the width of the 2D children. If a vector, the [X,Y] size of the 2D children. Default: [`2*PI*or`,1000] // convexity = The max number of times a line could pass though a wall. Default: 10 // spin = Amount in degrees to spin around cylindrical axis. Default: 0 // orient = The orientation of the cylinder to wrap around, given as a vector. Default: UP