offset · ·

An L-shaped plate shrunk by 1

offset/l-block-shrunk · offset, shrink, planar, concave-edge

The L-shaped plate whose outline in the xy plane is the polygon through (0, 0), (20, 0), (20, 5), (5, 5), (5, 15) and (0, 15), extruded 8 along +z. Shrink it by 1: the solid of every point at least 1 from the plate's outside.

Each face moves 1 inward and every convex edge stays sharp. The inside corner's edge, the concave one along (5, 5), becomes a round: a quarter of a cylinder of radius 1 about that edge, concave, joining the two faces beside it, which have moved in to x = 4 and y = 4.

So the shrunk plate runs from z = 1 to z = 7, and its section is the polygon through (1, 1), (19, 1), (19, 4), (5, 4), (4, 5), (4, 14) and (1, 14) with its edge from (5, 4) to (4, 5) replaced by the quarter circle of radius 1 about (5, 5).

As a set:

$$\bigl(\operatorname{poly}\bigl((0,0),(20,0),(20,5),(5,5),(5,15),(0,15)\bigr)\times[0,8]\bigr) \ominus B_{1}$$

expectedclosed form
volume505.287611(t − 2d)(A − Pd + kd²), A = 150, P = 70, t = 8, d = 1, k = 5 − π/4
area537.85398162(A − Pd + kd²) + (t − 2d)(P − 2kd)

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
outcomepasspassrefusedpass–passpass †pass–passpass †pass–passrefusedrefused
volume err.1.1e-161.1e-164.8e-131.1e-167.9e-161.1e-163.4e-161.5e-150.0e+001.1e-16
area err.4.2e-164.2e-163.7e-132.1e-162.1e-164.2e-164.2e-161.1e-154.2e-162.1e-16
time16 ms651 ms1.2 ms5.5 ms48 ms1.8 ms7.4 ms14 ms257 ms2.2 ms2.3 ms47 ms1.1 ms
CPU time21 ms650 ms970 µs5.3 ms47 ms1.6 ms8.5 ms14 ms257 ms2 ms2 ms48 ms950 µs
memory11.8 MB368.4 MB3.5 MB11.9 MB50.5 MB7.2 MB22.4 MB24.3 MB20.3 MB6.5 MB8.6 MB25.4 MB3.4 MB
LOC6155751361220107224

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

offset/l-block-shrunk.md, the case as written.