A pocket 1.7 mm from a hole could be shelled with 0.5 mm walls and with
2.5 mm walls, but not with 1 or 1.5: OpenCascade's offset of the whole body
gives up where the offsets of two cut-outs run into each other, and the
step said the walls don't fit. One more way is tried last: the hollow is
put together from what is cut out of the body - the box round it brought
in by the wall, less each lump the box holds besides the body (the hole's
room, the pocket's) grown by the wall on its own. The same shape as the
body offset inward; the lumps just overlap. It is held to the wall asked
for: nowhere nearer the body's skin than that.
Tests: the hole and the pocket at 1 and 1.5 (volumes worked out by hand,
the tube and the pocket's walls one lump), two pockets 1.5 apart, a row of
hole, hole, pocket.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Each operation tried over a grid of shapes, places and sizes, every
result held to a volume worked out by hand. What that found:
- A face with a hole in it pulled out: the hole was closed with a lid
(the slab added took the face's outer outline only). Pushed in with a
boss standing on it: refused, "would break the body into pieces".
The slab now stops at each hole's own walls, and such a face goes the
exact way first (a round hole stays one true cylinder).
- Shell, where two faces are closer together than two walls (a pocket
1.7 mm from a hole, a hole 2 mm from a side): the pocket's walls were
left out without a word (the pocket a window into the hollow), the
tube round a hole in the opened face ended a wall and a half short of
the opening, and a broken shell came out "repaired" a sixth too
light. Shell now takes a result only if it is sound, has a wall
behind every face it kept and nothing left deep inside, trying each
way in turn; the opening is cut from the hollow's own floor. What
still can't be built says why (walls would run into each other; a
pocket in the opened face would be left loose).
- A join where an edge of one body lay in a face of the other left that
edge lying across the face, bounding nothing: taken for a gap,
"would tear the body open". Such edges are taken out of every
boolean's result.
Tests: grid.ts and gridbooleans (65), gridextrude (152), gridfaces
(122), gridfillet (126), gridshapes (98), gridshell (48), gridsizes (90).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>