mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-06 22:36:49 +02:00
fix projection examples
This commit is contained in:
4
vnf.scad
4
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
|
// 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`
|
||||||
|
Reference in New Issue
Block a user