mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Merge branch 'master' into revarbat_dev
This commit is contained in:
commit
58faf0d5a1
2 changed files with 3 additions and 3 deletions
|
@ -1518,8 +1518,8 @@ module path_copies(path, n, spacing, sp=undef, dist, rotate_children=true, dist,
|
|||
for(i=[0:1:len(cutlist)-1]) {
|
||||
$pos = cutlist[i][0];
|
||||
$idx = is_def(dist) ? distind[i] : i;
|
||||
$dir = rotate_children ? (planar?[1,0]:[1,0,0]) : cutlist[i][2];
|
||||
$normal = rotate_children? (planar?[0,1]:[0,0,1]) : cutlist[i][3];
|
||||
$dir = !rotate_children ? (planar?[1,0]:[1,0,0]) : cutlist[i][2];
|
||||
$normal = !rotate_children? (planar?[0,1]:[0,0,1]) : cutlist[i][3];
|
||||
translate($pos) {
|
||||
if (rotate_children) {
|
||||
if(planar) {
|
||||
|
|
|
@ -339,7 +339,7 @@ module region(r, anchor="origin", spin=0, cp="centroid", atype="hull")
|
|||
|
||||
|
||||
|
||||
// Section: Gometrical calculations with regions
|
||||
// Section: Geometrical calculations with regions
|
||||
|
||||
// Function: point_in_region()
|
||||
// Synopsis: Tests if a point is inside, outside, or on the border of a region.
|
||||
|
|
Loading…
Reference in a new issue