This commit is contained in:
Adrian Mariano 2024-04-25 06:31:05 -04:00
parent 5a1aee6c34
commit d6537c9e74
2 changed files with 2 additions and 1 deletions

View File

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

View File

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