offset · ·

A grooved drum grown until its groove closes

offset/grooved-drum-grown · offset, grow, analytic, torus, self-intersection, face-removed

A drum: the cylinder of radius 10 on the z axis from z = 0 to z = 10, with a groove around its side from z = 4.2 to z = 5.8, 1.6 wide, cut 3 deep (to radius 7). Grow it by 1: the solid of every point within 1 of the grooved drum.

Every point of the groove is within 0.8 of one of its walls, so growing fills it: its faces, moved 1 into the groove from each side, cross each other and are gone. The drum's top and bottom move out to z = 11 and z = −1, its side to radius 11, and its two outer rims round to the outer quarter of a torus's tube of radius 1. Where the groove was, the groove's two outer rims (the circles of radius 10 at z = 4.2 and z = 5.8) become pieces of tori too, tubes of radius 1 about those circles, running from the side at radius 11 inward and meeting each other in a sharp crease, the circle of radius 10.6 at z = 5. So a shallow V-shaped notch, 0.4 deep, is all that is left of the groove.

In a section through the axis, Q is the integral of the distance from the axis over the grown drum with no groove, and M over the notch.

As a set:

$$\bigl(\{\,\rho \le 10,\ 0 \le z \le 10\,\} \setminus \{\,\rho \ge 7,\ 4.2 \le z \le 5.8\,\}\bigr) \oplus B_{1}$$

expectedclosed form
volume4519.3501472π(Q − M), Q = 705 + 5π + 2/3, M = 20a − 10(a√(1 − a²) + asin a) + a³/3, a = 0.8
area1545.4237622π(2·50 + 2(5π + 1) + 11(10 − 2a) + 2(10 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 next.BREP's result, which passed.

Results

cad-kernelocctarriskentronvcadsolidcraftbrepkitpopkernaetherisnext.BREPgeopcadrssmlibspringrepgeomsolveranvilcad
outcomepasswrongrefusedpass–passrefusedpass–passrefusedpass–passrefusedrefused
volume err.0.0e+000.0e+000.0e+002.0e-166.0e-160.0e+002.0e-160.0e+00
area err.5.9e-161.5e-165.9e-162.9e-165.9e-165.9e-160.0e+000.0e+00
time30 ms667 ms1.1 ms23 ms551 ms3 ms193 ms24 ms1.9 ms15 ms26 ms50 ms1.1 ms
CPU time37 ms666 ms970 µs23 ms550 ms2.9 ms274 ms24 ms1.7 ms22 ms26 ms50 ms960 µs
memory11.8 MB369 MB3.8 MB11.1 MB52.3 MB10 MB35.2 MB18.9 MB9.9 MB11.4 MB8.9 MB25.2 MB3.4 MB
LOC152051571681471113274

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

offset/grooved-drum-grown.md, the case as written.