offset · ·

A box grown by 1

offset/box-grown · offset, grow, planar, corner

The box from the origin to (10, 8, 6), grown by 1: the solid of every point within 1 of the box.

Each face moves 1 outward, each edge becomes a quarter of a cylinder of radius 1 about it, and each corner an eighth of a ball of radius 1 about it. The grown box runs from (−1, −1, −1) to (11, 9, 7).

As a set:

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

expectedclosed form
volume935.5870139abc + 2(ab + bc + ca)d + π(a + b + c)d² + 4πd³/3, a = 10, b = 8, c = 6, d = 1
area539.3628182(ab + bc + ca) + 2π(a + b + c)d + 4πd²

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–passpassrefused
volume err.4.9e-163.6e-164.9e-161.2e-163.6e-166.1e-164.9e-161.2e-164.9e-164.9e-164.9e-16
area err.6.3e-162.1e-168.4e-162.1e-168.4e-166.3e-161.1e-150.0e+006.3e-168.4e-166.3e-16
time70 ms636 ms1.3 ms3.2 ms943 ms3.1 ms26 ms7.2 ms966 ms3 ms4.3 ms50 ms1.1 ms
CPU time118 ms635 ms1.1 ms3 ms943 ms2.9 ms49 ms7 ms965 ms2.7 ms4 ms65 ms950 µs
memory13.3 MB365.7 MB3.7 MB9.2 MB54.2 MB7.6 MB23.1 MB11.6 MB21.3 MB7.7 MB8.7 MB28.9 MB3.5 MB
LOC6658513482289184

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

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