You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Bounding Solid with a margin per side, a cylinder, and named sides #17043
Bounding Solid has one margin for every side. CAM stock usually needs different allowances per side: more on top for facing, none on the clamped bottom. A test or flow volume around a part wants more room downstream than upstream. Round parts want a cylinder.
How you imagine it working
Shape: a box, or a cylinder about a chosen axis.
Margin: zero, a percentage of the part's size, or a fixed distance.
Per side: each side has its own margin (±X, ±Y, ±Z; for a cylinder, radial, top and bottom). You type it, or drag an arrow on that side in the view, and Escape during a drag puts it back.
Into the part: a side may be set into the part (a negative margin), with a note naming that side, but never past the part's far side.
It stays parametric: it follows the bodies when they change and keeps the margins.
Its faces are named by side ("+X", "Top", …) in model.faces, so later features, CamCraft, FieldCraft or an export can address them.
This is only the modelling half of the fluid-domain idea in the #1622 comment: nothing here solves anything.
Where the idea comes from: Magnusim CAD's Enclosure tool. It is GPL-3.0, so this offers the idea only, no code.
Done: a margin per side.margins in the order −X, +X, −Y, +Y, −Z, +Z works. I put a box around a part with 150 mm on one side and 50 mm on the others, cut the part out of it, and the volume was exact.
Still open: named sides. The box's faces come out as F4:face:0 … F4:face:5, so which one is +X has to be worked out from the face normals. Names by side ("+X", "Top", …) would let a script or an export pick the inlet and outlet sides directly.
Still open: the cylinder. The command has no shape option yet.
I checked through the command line only, so I can't say anything about the arrows in the view.
Activity
github-actions commentedon Nov 15, 2026
Claimed by @0rdnungsamt through #17513. The claim lapses after 14 days without pushes.
Bounding Solid: a margin for each side (part of tangency-labs#17043)
Bounding Solid: a margin for each side of the box (part of tangency-l…
github-actions commentedon Nov 19, 2026
No draft PR showed up within 72 h, so this one is free again. Anyone can
/claimit.Lilmill2000 commentedon Dec 2, 2026
Where this stands in 0.54.0, after #17513:
marginsin the order −X, +X, −Y, +Y, −Z, +Z works. I put a box around a part with 150 mm on one side and 50 mm on the others, cut the part out of it, and the volume was exact.F4:face:0…F4:face:5, so which one is +X has to be worked out from the face normals. Names by side ("+X", "Top", …) would let a script or an export pick the inlet and outlet sides directly.I checked through the command line only, so I can't say anything about the arrows in the view.