attachment bugfixes

This commit is contained in:
Adrian Mariano
2021-11-16 22:13:00 -05:00
parent 47bf93e6cb
commit cd664f830c
3 changed files with 4 additions and 3 deletions

View File

@@ -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);