Modeled two bodies separately and need them to behave as one part, or cut one shape out of another? SolidCraft is a free, open-source (MIT or Apache-2.0) parametric CAD app, and the command for this is Combine, in the SOLID panel's MODIFY group (solid.combine if you're scripting or using the agent control channel). It's the tool for merging, subtracting or intersecting bodies that already exist in your design — as opposed to the Join/Cut choice you make while a feature like Extrude is still being created. If you're new to SolidCraft's modeling workflow in general, start with the SolidCraft tutorial; if Combine triggers a feature warning, see SolidCraft Boolean retry warning for what it means.
Target and tool bodies
Combine always works between a target (the body that survives) and one or more tools (the bodies that act on it). You pick the target first, then the tools, then an operation:
- Join — merges every tool into the target, making one body.
- Cut — removes the volume of every tool from the target.
- Intersect — keeps only the volume the target and every tool share.
A script or the agent control channel sends the same three pieces directly: {"command": "solid.combine", "params": {"target": "Block", "tools": ["Pin"], "operation": "cut"}}.
How this differs from Join inside Extrude or Revolve
SolidCraft's sketch-based features — Extrude, Revolve, Sweep, Loft, Coil, and the Box, Cylinder, Sphere and Torus primitives — also choose between Join, New Body and Cut, but they do it for material they're adding right now, not for bodies that already exist. By default they even pick automatically: Join when the new material touches a body it meets, New Body when it would be a separate piece, and Cut when it goes inside a body, running a background check before OK confirms the choice. That default can be turned off in Preferences › Design so each feature keeps whatever operation it opens with.
Combine is the separate tool for when the bodies already exist as their own features or imports — for example, joining a bracket you modeled in one tree to a plate you imported from a STEP file, instead of redoing either as a single feature.
Picking which bodies the operation touches
Every Join, Cut or Intersect feature — whether it's Combine or a sketch-based feature choosing one of those operations — has a Target Bodies box. Leaving it empty means All: a Join merges every body the feature touches, a Cut removes material from every body it intersects, and an Intersect keeps the shared volume with every body, re-checked every time the model rebuilds, including hidden bodies. Picking specific bodies there, or clearing the box with its ×, locks the operation to exactly those bodies instead.
Adding clearance so parts actually fit
A Combine Cut on its own assumes the tool's exact geometry — useful for a straight pocket, but not for two parts meant to slide or press together. The Offset setting under Cut grows every tool body by a set amount before cutting, so a pin sized for a slot, or a slider for a rail, gets the clearance gap it needs instead of a dimension-for-dimension hole that jams. Set it negative and the tools shrink instead, which is how to model a press fit rather than a sliding one. Faces controls whether every face of the tool moves (All) or only the faces you pick (Selected), and Round Edges with a Round Radius rounds the edges the offset creates, by default matching the offset itself so the gap stays even all the way round:
{"command": "solid.combine", "params": {"target": "Block", "tools": ["Pin"], "operation": "cut", "keep_tools": true, "offset": "gap", "offset_edges": "round"}}
keep_tools: true leaves the tool bodies in the design after the cut, which is useful if you still need the pin itself as a separate part.
When Join reports separate pieces
Picking Join on a tool that doesn't actually touch the target still merges it — it becomes a second, disconnected piece inside the same body, and the feature's warning says so: "Body1 is now in 2 separate pieces." SolidCraft keeps the shared body name rather than splitting the pieces into separate Browser entries, so the warning is your cue to check whether that's actually what you wanted. If not, undo the Combine, move the tool so it touches the target, and join again. This is a different warning from Boolean retry, which fires when faces coincide exactly rather than when bodies don't touch at all — see SolidCraft Boolean retry warning if you hit that one instead.
Related reading
For the kernel-level warning that can show up when a join or cut lands on a coincident face, see SolidCraft Boolean retry warning. For the parameter system most Combine-driven designs build on top of, see SolidCraft Parametric CAD, and for how SolidCraft's assembly joints (a separate concept from Combine's Join operation) connect components, see SolidCraft Assembly.