mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-09-01 02:51:53 +02:00
attachment bugfixes
This commit is contained in:
@@ -297,7 +297,7 @@ function force_region(poly) = is_path(poly) ? [poly] : poly;
|
||||
// [square([60,10], center=true)]
|
||||
// );
|
||||
// region(rgn);
|
||||
module region(r, anchor="origin", spin=0, cp="centroid")
|
||||
module region(r, anchor="origin", spin=0, cp="centroid", atype="hull")
|
||||
{
|
||||
assert(in_list(atype, _ANCHOR_TYPES), "Anchor type must be \"hull\" or \"intersect\"");
|
||||
r = force_region(r);
|
||||
|
Reference in New Issue
Block a user