mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 11:24:19 +00:00
3b584ef242
regenerate_wall_representation returns None for walls without an IfcMaterialLayerSet (the only mode it knows how to rebuild). Feeding None to switch_representation crashes deep in resolve_representation on .Items. Document the None return on the API side and bail in tool.Model.recreate_wall when it hits. Generated with the assistance of an AI coding tool.