add join_prism

This commit is contained in:
Adrian Mariano 2022-03-28 20:52:24 -04:00
parent b9ae9e9a8b
commit c135de46d3
3 changed files with 1132 additions and 17 deletions

View file

@ -1516,9 +1516,9 @@ function reorient(
// Arguments:
// name = The string name of the anchor. Lowercase. Words separated by single dashes. No spaces.
// pos = The [X,Y,Z] position of the anchor.
// orient = A vector pointing in the direction parts should project from the anchor position.
// spin = If needed, the angle to rotate the part around the direction vector.
function named_anchor(name, pos=[0,0,0], orient=UP, spin=0) = [name, pos, orient, spin];
// 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. Default: 0
function named_anchor(name, pos, orient=UP, spin=0) = [name, pos, orient, spin];

View file

@ -256,7 +256,7 @@ function is_region_simple(region, eps=EPSILON) =
// pentagram = turtle(["move",100,"left",144], repeat=4);
// region = make_region(pentagram,nonzero=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))]);
// rainbow(region)stroke($item, width=.3,closed=true);

File diff suppressed because it is too large Load diff