weld_vertices
Merge near-coincident vertices within a group to stop deleting a line from deleting a wall; optionally snap vertices across different groups.
Instructions
Merge near-coincident vertex pairs in a group by moving one onto the other, which is what fixes the 'deleting a line deletes the wall' problem. Only welds vertices within the same entities collection — two vertices in different groups are genuinely separate points. With cross_group:true it instead snaps near-coincident vertices that sit in different groups/components (e.g. a wall group and its parent) exactly onto each other, moving the one in the nested group (keep:'outer', default) or the outer one (keep:'inner'); the vertices stay separate points, but the sub-millimetre gap disappears. One undo step; aborts if the weld would split or fold a face. Check the near_coincident_vertices delta in the report. All lengths and coordinates are in metres.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | With cross_group: which vertex stays put. 'outer' (default) keeps the one in the shallower group and moves the nested one. | |
| group | Yes | Group name. Found at any nesting depth: a top-level group with this name wins, otherwise the name must be unique in the model (an ambiguous name is refused, listing the matches). | |
| dry_run | No | ||
| tolerance | No | Maximum gap to weld, in metres (default 2 mm) | |
| cross_group | No | Snap near-coincident vertices across different groups/components instead of welding within one collection (default false) | |
| allow_splits | No |