mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-01 23:50:24 +02:00
remove anchor_isect reference
This commit is contained in:
@@ -657,7 +657,7 @@ module linear_sweep(region, height=1, center, twist=0, scale=1, slices, maxseg,
|
|||||||
|
|
||||||
|
|
||||||
function linear_sweep(region, height=1, center, twist=0, scale=1, slices,
|
function linear_sweep(region, height=1, center, twist=0, scale=1, slices,
|
||||||
maxseg, style="default", cp="centroid", anchor_isect=false, anchor, spin=0, orient=UP) =
|
maxseg, style="default", cp="centroid", atype="hull", anchor, spin=0, orient=UP) =
|
||||||
let(
|
let(
|
||||||
region = force_region(region)
|
region = force_region(region)
|
||||||
)
|
)
|
||||||
@@ -702,7 +702,7 @@ function linear_sweep(region, height=1, center, twist=0, scale=1, slices,
|
|||||||
for (rgn = regions) vnf_from_region(rgn, ident(4), reverse=true),
|
for (rgn = regions) vnf_from_region(rgn, ident(4), reverse=true),
|
||||||
for (rgn = trgns) vnf_from_region(rgn, up(height), reverse=false)
|
for (rgn = trgns) vnf_from_region(rgn, up(height), reverse=false)
|
||||||
])
|
])
|
||||||
) reorient(anchor,spin,orient, cp=cp, vnf=vnf, extent=!anchor_isect, p=vnf, anchors=anchors);
|
) reorient(anchor,spin,orient, cp=cp, vnf=vnf, extent=atype=="hull", p=vnf, anchors=anchors);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user