Files
IfcOpenShell/src
Petru Conduraru c1081dccee Bonsai: surface and explicitly fix walls whose length is on local Y
get_wall_axis and every consumer of it (window and door snapping,
material layer offsets, wall joins) assume a wall's local +X carries its
length. A mesh converted to IfcWall keeps its authored axes, so a box
modelled long on local Y gets its effective length and thickness
swapped for those tools, which is the snapping failure in issue 7453.

An earlier attempt rotated the mesh during conversion and was closed:
overriding explicit user modelling breaks unpredictable cases such as
heritage, industrial and dilapidation models. Nothing is changed
automatically here. assign_class only reports an actionable warning
naming the affected tools and the fix, and a new
bim.align_local_x_to_length operator rotates the local axes only when
the user invokes it, compensating the object matrix so the world
position and appearance stay identical. Parametric walls, square
footprints and multi user meshes are left untouched.

Generated with the assistance of an AI coding tool.
2026-07-20 10:13:12 +03:00
..
2026-07-18 22:39:33 +05:00
2026-07-15 19:20:17 +05:00
2026-07-18 22:39:33 +05:00
2026-02-27 14:52:55 +05:00
2025-12-19 18:53:14 +05:00
2025-12-19 18:53:14 +05:00
2026-07-18 22:39:33 +05:00
2025-12-22 18:44:42 +05:00
2025-12-19 18:53:14 +05:00
2025-12-22 18:44:42 +05:00