fix anchoring bug in rect() and doc fix in screw_hole

This commit is contained in:
Adrian Mariano
2023-03-12 23:25:13 -04:00
parent d138c0d07e
commit b813881d26
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ function rect(size=1, rounding=0, chamfer=0, atype="box", anchor=CENTER, spin=0,
assert(is_num(rounding) || is_vector(rounding,4))
assert(in_list(atype, ["box", "perim"]))
let(
anchor=point2d(anchor),
anchor=_force_anchor_2d(anchor),
size = force_list(size,2),
chamfer = force_list(chamfer,4),
rounding = force_list(rounding,4)