mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user