mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
403308a923
BISECT cut mode deletes the serializer cut linework and regenerates it by bisecting Blender mesh objects, which linked models do not have - their cuts were deleted and never regenerated, so linked elements only appeared as projections and the .cut CSS rule never applied to them. remove_cut_linework now only removes cut groups whose guid resolves in the host file, keeping the serializer cut geometry for linked models. Resolving a linked entity STEP id via tool.Ifc.get_object cross-matches into the host session and can return an arbitrary host object (e.g. the drawing camera), so generate_material_layers and the linework merge now guard on element.file identity. BISECT mode also runs move_projection_to_bottom like OPENCASCADE mode: its own bisect cuts are appended last, but the retained serializer cuts of linked models are emitted before the projections and would paint underneath. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>