You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The alignment behavior for RegularPolygon seems to be different than for other objects. From what I can see most objects get aligned by bounding box. However if you ask for RegularPolygon to be centered it gets aligned according to the circumscribed circle.
The left image is what happens if you give align = Align.CENTER while the right is what would normally happen.
Is this intended? The docs do not mention this but there are tests enforcing this behavior:
The alignment behavior for
RegularPolygon
seems to be different than for other objects. From what I can see most objects get aligned by bounding box. However if you ask forRegularPolygon
to be centered it gets aligned according to the circumscribed circle.The left image is what happens if you give
align = Align.CENTER
while the right is what would normally happen.Is this intended? The docs do not mention this but there are tests enforcing this behavior:
build123d/tests/test_build_sketch.py
Lines 296 to 303 in 47814ad
edit: this test is enforcing this behavior as the default arg for align is
(Align.CENTER, Align.CENTER)
The text was updated successfully, but these errors were encountered: