mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +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 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:
|
||||
new_matrix.translation.z = voided_obj.matrix_world.translation.z + props.rl2
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user