mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
add join_prism
This commit is contained in:
parent
b9ae9e9a8b
commit
c135de46d3
@ -1516,9 +1516,9 @@ function reorient(
|
|||||||
// Arguments:
|
// Arguments:
|
||||||
// name = The string name of the anchor. Lowercase. Words separated by single dashes. No spaces.
|
// name = The string name of the anchor. Lowercase. Words separated by single dashes. No spaces.
|
||||||
// pos = The [X,Y,Z] position of the anchor.
|
// pos = The [X,Y,Z] position of the anchor.
|
||||||
// orient = A vector pointing in the direction parts should project from the anchor position.
|
// orient = A vector pointing in the direction parts should project from the anchor position. Default: UP
|
||||||
// spin = If needed, the angle to rotate the part around the direction vector.
|
// spin = If needed, the angle to rotate the part around the direction vector. Default: 0
|
||||||
function named_anchor(name, pos=[0,0,0], orient=UP, spin=0) = [name, pos, orient, spin];
|
function named_anchor(name, pos, orient=UP, spin=0) = [name, pos, orient, spin];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -256,7 +256,7 @@ function is_region_simple(region, eps=EPSILON) =
|
|||||||
// pentagram = turtle(["move",100,"left",144], repeat=4);
|
// pentagram = turtle(["move",100,"left",144], repeat=4);
|
||||||
// region = make_region(pentagram,nonzero=true);
|
// region = make_region(pentagram,nonzero=true);
|
||||||
// rainbow(region)stroke($item, width=1,closed=true);
|
// rainbow(region)stroke($item, width=1,closed=true);
|
||||||
// Example(2D,NoAxes): To crossing squares become two L-shaped components
|
// Example(2D,NoAxes): Two crossing squares become two L-shaped components
|
||||||
// region = make_region([square(10), move([5,5],square(8))]);
|
// region = make_region([square(10), move([5,5],square(8))]);
|
||||||
// rainbow(region)stroke($item, width=.3,closed=true);
|
// rainbow(region)stroke($item, width=.3,closed=true);
|
||||||
|
|
||||||
|
1141
rounding.scad
1141
rounding.scad
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user