mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
Fix fundamental coordinate placement resolution utility bug. See #688.
This commit is contained in:
@@ -22,4 +22,4 @@ def get_local_placement(plc):
|
|||||||
parent = np.eye(4)
|
parent = np.eye(4)
|
||||||
else:
|
else:
|
||||||
parent = get_local_placement(plc.PlacementRelTo)
|
parent = get_local_placement(plc.PlacementRelTo)
|
||||||
return np.dot(get_axis2placement(plc.RelativePlacement), parent)
|
return np.dot(parent, get_axis2placement(plc.RelativePlacement))
|
||||||
|
|||||||
Reference in New Issue
Block a user