mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
3faaee80ec
It wasn't passing the exclude_callback if attribute of the copied element wasn't a tuple, resulting in duplicated named profiles in case if you'd copy a IfcBooleanClippingResult #3810 For example, how copy_deep of IfcProductDefinitionShape with boolean clipping previously would work: V IfcShapeRepresentation - copied with exlude_callback (part of .Representations[]) V IfcBooleanClippingResult - copied with exlude_callback (part of .Items[]) X IfcExtrudedAreaSolid - copied without exlude_callback becuase it's part of .FirstOperand (not an array) and we have IfcIShapeProfileDef duplicated Case without booleanclippings: V IfcShapeRepresentation - copied with exlude_callback (part of .Representations[]) V IfcExtrudedAreaSolid - copied with exlude_callback, since it's part of .Items[], IfcIShapeProfileDef not duplicated