mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-20 20:22:09 +00:00
Run black on IOS-Python
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import ifcopenshell
|
||||
for i, box_alignment in enumerate(['top-left', 'center', 'invalid', 'CENTER']):
|
||||
|
||||
for i, box_alignment in enumerate(["top-left", "center", "invalid", "CENTER"]):
|
||||
f = ifcopenshell.file(schema="IFC2X3")
|
||||
|
||||
f.createIfcTextLiteralWithExtent(
|
||||
"My presentable text",
|
||||
f.createIfcAxis2Placement2D(f.createIfcCartesianPoint((0., 0.))),
|
||||
'RIGHT',
|
||||
f.createIfcPlanarExtent(10., 10.),
|
||||
box_alignment
|
||||
f.createIfcAxis2Placement2D(f.createIfcCartesianPoint((0.0, 0.0))),
|
||||
"RIGHT",
|
||||
f.createIfcPlanarExtent(10.0, 10.0),
|
||||
box_alignment,
|
||||
)
|
||||
|
||||
f.write(f"{'pass' if i in (0,1) else 'fail'}-{i}-box-alignment-{box_alignment}-ifc2x3.ifc")
|
||||
|
||||
Reference in New Issue
Block a user