offset · ·

A plus-shaped plate shrunk by 1

offset/plus-shaped-plate-shrunk · offset, shrink, planar, concave-edge, round, adversarial

A plate shaped like a plus sign, as in offset/plus-shaped-plate-grown but 4 thick: its outline in the xy plane is the polygon through (3, 0), (6, 0), (6, 3), (9, 3), (9, 6), (6, 6), (6, 9), (3, 9), (3, 6), (0, 6), (0, 3) and (3, 3), extruded 4 along +z. Shrink it by 1: keep every point of it at least 1 from its boundary.

The top and the bottom move in to z = 3 and z = 1, and each side moves 1 into the material, so each arm, 3 wide, is left 1 wide. The eight convex vertical edges and the edges round the top and the bottom stay sharp. Each of the four concave vertical edges is rounded by the shrink: the material left there is bounded by the cylinder of radius 1 about the edge, such as the one about the vertical line through (6, 3), between the two moved sides, which it meets tangentially.

The section at any height from z = 1 to z = 3 is the outline shrunk by 1: of area A − Pd + (8·tan 45° − 4·π/4)d², its eight convex corners still square and its four inside corners rounded to radius 1.

As a set:

$$\Bigl(\operatorname{poly}\bigl((3,0),(6,0),(6,3),(9,3),(9,6),(6,6),(6,9),(3,9),(3,6),(0,6),(0,3),(3,3)\bigr)\times[0,4]\Bigr) \ominus B_{1}$$

expectedclosed form
volume27.71681469(t − 2d)(A − Pd + (8 − π)d²) = 34 − 2π, A = 45, P = 36, t = 4, d = 1
area80.283185312(A − Pd + (8 − π)d²) + (t − 2d)(P − 16d + 2πd) = 74 + 2π

Drawing

Top view
Top
Isometric view
Isometric
Front view
Front
Right view
Right

Third-angle projection, the three views at one scale. Drawn from occt's result, which passed.

Results

cad-kernelocctarriskentronvcadsolidcraftbrepkitpopkernaetherisnext.BREPgeopcadrssmlibspringrepgeomsolveranvilcad
outcomepasspass–––pass–––pass–pass–pass–refused
volume err.1.3e-162.6e-160.0e+005.1e-162.6e-160.0e+00
area err.1.8e-163.5e-163.5e-163.5e-163.5e-160.0e+00
time36 ms654 ms109 ms29 ms3.2 ms3.3 ms1.1 ms
CPU time48 ms653 ms109 ms28 ms3.6 ms3 ms960 µs
memory12.7 MB369.1 MB53.4 MB25 MB6.7 MB8.5 MB3.5 MB
LOC9165139114

† works around a missing feature. Pick an entry to see its solid, its measures and its code.

offset/plus-shaped-plate-shrunk.md, the case as written.