mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 21:58:27 +01:00
commit
17e307fdb4
@ -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
|
||||||
|
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`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user