Run black on IOS-Python

This commit is contained in:
Dion Moult
2024-07-26 12:00:28 +10:00
parent d51fa2c5f7
commit a6286293d8
83 changed files with 603 additions and 637 deletions
+5 -10
View File
@@ -1,18 +1,13 @@
import ifcopenshell
for depth in (-1., 0., 1.):
for depth in (-1.0, 0.0, 1.0):
f = ifcopenshell.file(schema="IFC2X3")
f.createIfcExtrudedAreaSolid(
f.createIfcRectangleProfileDef(
"AREA", None,
f.createIfcAxis2Placement2D(
f.createIfcCartesianPoint((0., 0.))
), 1., 1.
"AREA", None, f.createIfcAxis2Placement2D(f.createIfcCartesianPoint((0.0, 0.0))), 1.0, 1.0
),
f.createIfcAxis2Placement3D(
f.createIfcCartesianPoint((0., 0., 0.))
),
f.createIfcDirection((0., 0., 1.)),
depth
f.createIfcAxis2Placement3D(f.createIfcCartesianPoint((0.0, 0.0, 0.0))),
f.createIfcDirection((0.0, 0.0, 1.0)),
depth,
)
f.write(f"{'pass' if depth > 0. else 'fail'}-extrusion-depth-{depth}-ifc2x3.ifc")