offset · ·

A flanged drum shrunk until its flange is gone

offset/flanged-drum-shrunk · offset, shrink, analytic, torus, self-intersection, face-removed

A drum: the cylinder of radius 8 on the z axis from z = 0 to z = 6, with a thin flange around its side, a ring from radius 8 out to radius 11 and from z = 2.2 to z = 3.8, 1.6 thick. Shrink it by 1: the solid of every point at least 1 from the flanged drum's outside.

Every point of the flange is within 0.8 of its top or bottom face, so shrinking takes the whole flange away: its faces, moved 1 inward from each side, cross each other and are gone. The drum's top and bottom move in to z = 5 and z = 1 and its side to radius 7, with its outer edges sharp. Where the flange met the drum, its two inside edges (the circles of radius 8 at z = 2.2 and z = 3.8) become concave pieces of tori, tubes of radius 1 about those circles, running from the side at radius 7 outward and meeting each other in a sharp ridge, the circle of radius 7.4 at z = 3. So a low ridge, 0.4 high, is all that is left of the flange.

As a set:

$$\bigl(\{\,\rho \le 8,\ 0 \le z \le 6\,\} \cup \{\,\rho \le 11,\ 2.2 \le z \le 3.8\,\}\bigr) \ominus B_{1}$$

expectedclosed form
volume624.3662287π·7²·4 + 2π(16a − 8(a√(1 − a²) + asin a) − a³/3), a = 0.8
area496.60237972π(49 + 7(4 − 2a) + 2(8 asin a − a)), a = 0.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
outcomepasspassrefusedpass–refusedrefusedrefused–passrefusedpass–passrefusedrefused
volume err.0.0e+003.6e-163.6e-161.8e-163.6e-160.0e+00
area err.2.3e-163.4e-164.6e-163.4e-163.4e-162.3e-16
time28 ms649 ms1.2 ms18 ms391 ms2.3 ms62 ms21 ms2.1 ms12 ms38 ms50 ms1.1 ms
CPU time34 ms648 ms980 µs18 ms390 ms2.1 ms144 ms21 ms1.9 ms14 ms37 ms50 ms940 µs
memory11.6 MB368.5 MB3.6 MB11.2 MB54.3 MB10.3 MB30.6 MB18.4 MB9.8 MB10.7 MB9.4 MB25.6 MB3.5 MB
LOC91851261361471111274

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

offset/flanged-drum-shrunk.md, the case as written.