mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Fix #6067. Bug where adding a door ignored the Z offset option.
This commit is contained in:
@@ -99,7 +99,7 @@ class FilledOpeningGenerator:
|
|||||||
|
|
||||||
if should_set_z_level:
|
if should_set_z_level:
|
||||||
if filling.is_a("IfcDoor"):
|
if filling.is_a("IfcDoor"):
|
||||||
new_matrix.translation.z = voided_obj.matrix_world.translation.z
|
new_matrix.translation.z = voided_obj.matrix_world.translation.z + props.rl1
|
||||||
else:
|
else:
|
||||||
new_matrix.translation.z = voided_obj.matrix_world.translation.z + props.rl2
|
new_matrix.translation.z = voided_obj.matrix_world.translation.z + props.rl2
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user