diff --git a/src/ifcopenshell-python/ifcopenshell/api/geometry/add_slab_representation.py b/src/ifcopenshell-python/ifcopenshell/api/geometry/add_slab_representation.py index af6f0b062d..f0ecff352f 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/geometry/add_slab_representation.py +++ b/src/ifcopenshell-python/ifcopenshell/api/geometry/add_slab_representation.py @@ -42,13 +42,7 @@ class Usecase: def create_item(self): size = self.convert_si_to_unit(1) - points = ( - (0.0, 0.0, 0.0), - (size, 0.0, 0.0), - (size, size, 0.0), - (0.0, size, 0.0), - (0.0, 0.0, 0.0), - ) + points = ((0.0, 0.0), (size, 0.0), (size, size), (0.0, size), (0.0, 0.0)) if self.file.schema == "IFC2X3": curve = self.file.createIfcPolyline([self.file.createIfcCartesianPoint(p) for p in points]) else: