Merge pull request #1446 from adrianVmariano/master

projection doc fix
This commit is contained in:
Revar Desmera 2024-06-22 20:58:13 -07:00 committed by GitHub
commit 17e307fdb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -270,7 +270,7 @@ module path_extrude(path, convexity=10, clipsize=100) {
// --- // ---
// od = The outer diameter to extrude to. // od = The outer diameter to extrude to.
// id = The inner diameter to extrude from. // 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 // 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 // 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 // orient = The orientation of the cylinder to wrap around, given as a vector. Default: UP

View File

@ -1205,7 +1205,7 @@ function _vnf_centroid(vnf,eps=EPSILON) =
// XY plane, which is again a region. If the VNF does not intersect // XY plane, which is again a region. If the VNF does not intersect
// the XY plane then returns the empty set. This operation is // the XY plane then returns the empty set. This operation is
// much faster than `cut=false`. // 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([ // vnf = vnf_join([
// xrot(90,torus(id=15,od=24,$fn=5)), // xrot(90,torus(id=15,od=24,$fn=5)),
// right(12,torus(id=15,od=24,$fn=4)), // right(12,torus(id=15,od=24,$fn=4)),
@ -1220,7 +1220,7 @@ function _vnf_centroid(vnf,eps=EPSILON) =
// ]); // ]);
// reg = projection(vnf); // reg = projection(vnf);
// region(reg); // region(reg);
// Example: Tilted torus // Example(3D): Tilted torus
// vnf = xrot(35,torus(id=4,od=12,$fn=32)); // vnf = xrot(35,torus(id=4,od=12,$fn=32));
// vnf_polyhedron(vnf); // vnf_polyhedron(vnf);
// Example(2D): Projection of tilted torus using `cut=true` // Example(2D): Projection of tilted torus using `cut=true`