offset · ·

An L-shaped plate grown by 1, its edges kept sharp

offset/l-block-grown-sharp · offset, grow, planar, sharp-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. Grow it by 1 with its edges kept sharp: move each face 1 outward along its normal, and extend the moved faces until they meet, so that no round is added and every edge stays where its two faces meet.

The grown plate is the outline through (−1, −1), (21, −1), (21, 6), (6, 6), (6, 16) and (−1, 16), extruded from z = −1 to z = 9.

As a set:

$$\bigl(\operatorname{poly}\bigl((0,0),(20,0),(20,5),(5,5),(5,15),(0,15)\bigr)\times[0,8]\bigr) \oplus [-1,1]^3$$

expectedclosed form
volume2240(t + 2d)·224, t = 8, d = 1; 224 is the area of the outline moved 1 outward
area12282·224 + (t + 2d)·78; 78 is the moved outline's perimeter

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
outcomepasspasspasspass–passpasspass–passpasspass–passpass †pass
volume err.1.2e-150.0e+002.0e-162.4e-134.1e-164.1e-162.0e-162.0e-162.0e-162.0e-162.0e-162.0e-162.0e-16
area err.1.9e-163.7e-161.9e-162.1e-131.9e-161.9e-161.9e-163.7e-163.7e-161.9e-161.9e-161.9e-161.9e-16
time110 ms651 ms2.7 ms46 ms79 ms1.5 ms7 ms8.7 ms62 ms2.3 ms2.1 ms38 ms1.5 ms
CPU time152 ms650 ms2.5 ms46 ms78 ms1.3 ms8.1 ms8.5 ms61 ms2 ms1.6 ms39 ms1.3 ms
memory15.1 MB368.2 MB7.3 MB15.3 MB48.6 MB4.8 MB21.7 MB18.5 MB18.8 MB6.9 MB7.6 MB24.3 MB4.6 MB
LOC616257219612171010376

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

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