mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Minor fix
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user