mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 00:09:41 +00:00
add join_prism
This commit is contained in:
parent
b9ae9e9a8b
commit
c135de46d3
3 changed files with 1132 additions and 17 deletions
|
@ -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];
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
1141
rounding.scad
1141
rounding.scad
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue