See #1227. Don't move any child at all when regenerating wall body.

This commit is contained in:
Dion Moult
2025-03-09 18:00:13 +11:00
parent 5fa4f2e79b
commit e78127d54f
4 changed files with 16 additions and 52 deletions
@@ -155,7 +155,7 @@ class Usecase:
elif obj.is_a("IfcFeatureElement"):
# Feature elements affect the geometry of their parent, and
# so logically should always move with the parent. However,
# subchildren shouldn't move.
# subchildren (fillings) shouldn't move.
placement2 = obj.ObjectPlacement
for referenced_placement2 in placement2.ReferencedByPlacements:
matrix2 = ifcopenshell.util.placement.get_local_placement(referenced_placement2)