mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Update all geom settings to new v0.8 syntax
This commit is contained in:
@@ -75,7 +75,7 @@ def get_axis2placement(placement: ifcopenshell.entity_instance) -> MatrixType:
|
||||
import ifcopenshell.geom
|
||||
|
||||
settings = ifcopenshell.geom.settings()
|
||||
settings.set('convert-back-units', True)
|
||||
settings.set("convert-back-units", True)
|
||||
shape = ifcopenshell.geom.create_shape(settings, placement)
|
||||
return np.array(shape.matrix).reshape((4, 4), order="F")
|
||||
elif ifc_class == "IfcAxis2Placement2D":
|
||||
|
||||
Reference in New Issue
Block a user