offset · ·

A box shrunk by 1

offset/box-shrunk · offset, shrink, planar

The box from the origin to (10, 8, 6), shrunk by 1: the solid of every point at least 1 from the box's outside.

Each face moves 1 inward and the edges stay sharp, so the shrunk box is the box from (1, 1, 1) to (9, 7, 5).

As a set:

$$\bigl([0,10]\times[0,8]\times[0,6]\bigr) \ominus B_{1}$$

expectedclosed form
volume192(a − 2d)(b − 2d)(c − 2d), a = 10, b = 8, c = 6, d = 1
area2082(8·6 + 6·4 + 4·8)

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–passrefusedpass
volume err.1.5e-161.5e-161.5e-164.8e-135.9e-161.5e-161.5e-160.0e+001.3e-151.5e-161.5e-161.5e-16
area err.2.7e-162.7e-161.4e-164.6e-135.5e-161.4e-161.4e-161.4e-169.6e-162.7e-161.4e-161.4e-16
time10 ms628 ms2.2 ms2.3 ms61 ms1.4 ms6.2 ms8.1 ms21 ms2.1 ms1.7 ms48 ms1.4 ms
CPU time14 ms627 ms2 ms2.1 ms61 ms1.2 ms7.2 ms7.9 ms21 ms1.9 ms1.5 ms48 ms1.2 ms
memory11.1 MB367.8 MB7 MB8.5 MB47.6 MB4.6 MB21.4 MB18.2 MB19 MB6.8 MB7.5 MB25.2 MB4.6 MB
LOC66128139481489185

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

offset/box-shrunk.md, the case as written.