mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Implement Blender UI for handling new coordinate operations in IFC4X3
This commit is contained in:
@@ -226,13 +226,12 @@ def get_helmert_transformation_parameters(ifc_file: ifcopenshell.file) -> Option
|
||||
else:
|
||||
factor_x = factor_y = factor_z = 1
|
||||
elif conversion.is_a() == "IfcRigidOperation":
|
||||
# TODO
|
||||
e = conversion.FirstCoordinate
|
||||
n = conversion.SecondCoordinate
|
||||
e = conversion.FirstCoordinate.wrappedValue
|
||||
n = conversion.SecondCoordinate.wrappedValue
|
||||
h = conversion.Height or 0
|
||||
xaa = 1.0
|
||||
xao = 0.0
|
||||
factor_x = factor_y = factor_z = 1
|
||||
scale = factor_x = factor_y = factor_z = 1
|
||||
|
||||
if not xaa and not xao:
|
||||
xaa = 1.0
|
||||
|
||||
Reference in New Issue
Block a user