mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 09:32:37 +00:00
add_representation.create_cartesian_point - fix missing z offset for 0 values
This commit is contained in:
@@ -871,7 +871,7 @@ class Usecase:
|
|||||||
if is_model_coords and self.settings["coordinate_offset"]:
|
if is_model_coords and self.settings["coordinate_offset"]:
|
||||||
x += self.settings["coordinate_offset"][0]
|
x += self.settings["coordinate_offset"][0]
|
||||||
y += self.settings["coordinate_offset"][1]
|
y += self.settings["coordinate_offset"][1]
|
||||||
if z:
|
if z is not None:
|
||||||
z += self.settings["coordinate_offset"][2]
|
z += self.settings["coordinate_offset"][2]
|
||||||
x = self.convert_si_to_unit(x)
|
x = self.convert_si_to_unit(x)
|
||||||
y = self.convert_si_to_unit(y)
|
y = self.convert_si_to_unit(y)
|
||||||
|
|||||||
Reference in New Issue
Block a user