diff --git a/attachments.scad b/attachments.scad index 40873c6..8c76bb6 100644 --- a/attachments.scad +++ b/attachments.scad @@ -3449,6 +3449,7 @@ function _get_cp(geom) = function _force_anchor_2d(anchor) = + is_undef(anchor) ? anchor : assert(anchor.y==0 || anchor.z==0, "Anchor for a 2D shape cannot be fully 3D. It must have either Y or Z component equal to zero.") anchor.y==0 ? [anchor.x,anchor.z] : point2d(anchor); diff --git a/std.scad b/std.scad index 2d97ca2..ef70288 100644 --- a/std.scad +++ b/std.scad @@ -7,7 +7,7 @@ assert(version_num()>=20190500, "BOSL2 requires OpenSCAD version 2019.05 or later."); -echo("ALERT: The syntax of align() has changed on April 24, 2024. See the wiki. See also the 'align=' parameter to attach()"); +//echo("ALERT: The syntax of align() has changed on April 24, 2024. See the wiki. See also the 'align=' parameter to attach()"); include <version.scad>