mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
small fix for 60a70f523
This commit is contained in:
@@ -69,7 +69,7 @@ def get_axis2placement(placement: ifcopenshell.entity_instance) -> MatrixType:
|
|||||||
if coordinates := getattr(location, "Coordinates", None):
|
if coordinates := getattr(location, "Coordinates", None):
|
||||||
o = coordinates
|
o = coordinates
|
||||||
else:
|
else:
|
||||||
ifc_class = location.is_a("IfcPointByDistanceExpression")
|
ifc_class = location.is_a()
|
||||||
print(
|
print(
|
||||||
f'WARNING. Placement location of type "{ifc_class}" '
|
f'WARNING. Placement location of type "{ifc_class}" '
|
||||||
f'is not yet supported and placement {placement} may be placed incorrectly.'
|
f'is not yet supported and placement {placement} may be placed incorrectly.'
|
||||||
|
|||||||
Reference in New Issue
Block a user