Fixed bugs with furniture library toilets and basins #2976

Bug was introduced in cf6acd5 when `shape_builder.get_rectangle_coords` started returning coords in counter-clockwise order instead of clockwise.
This commit is contained in:
Andrej730
2023-04-14 19:04:22 +05:00
parent f6a95e8c17
commit d2124e1c8b
3 changed files with 24 additions and 20 deletions
@@ -55,6 +55,8 @@ class ShapeBuilder:
return ifc_curve
def get_rectangle_coords(self, size: Vector = Vector((1.0, 1.0)).freeze(), position: Vector = None):
"""get rectangle coords in counter-clockwise order
starting from the bottom left corner"""
dimensions = len(size)
if not position: