offset · ·

A torus grown just to its hole

offset/torus-grown-to-its-hole · offset, grow, analytic, torus, horn, adversarial

A solid torus about the z axis, centered on the origin, whose tube has radius 2 about a middle circle of radius 4, as in offset/torus-grown-past-its-hole. Grow it by 2: the solid of every point within 2 of the torus.

That is every point within 4 of the middle circle. The grown tube's radius, 4, equals the middle circle's, so the grown torus just closes its hole: it is the horn torus of geometry/horn-torus, whose surface comes to the z axis at one point, the origin, where it meets itself like two cones tip to tip. Its section through the axis, on one side of it, is the disk of radius 4 about (4, 0), which touches the axis at the origin.

As a set:

$$\{\,(\rho - 4)^2 + z^2 \le 2^2\,\} \oplus B_{2} = \{\,(\rho - 4)^2 + z^2 \le 4^2\,\}$$

expectedclosed form
volume1263.3093632π²Rs², s = r + d = R: 2π²R³, R = 4, r = 2, d = 2
area631.65468174π²Rs = 4π²R²

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
outcomepasspass–––pass–––pass–pass–pass–refused
volume err.0.0e+001.8e-163.6e-160.0e+000.0e+001.8e-16
area err.0.0e+000.0e+000.0e+003.6e-163.6e-160.0e+00
time3.1 ms631 ms90 ms3.2 ms2 ms1.8 ms1.2 ms
CPU time4.2 ms630 ms89 ms2.9 ms1.8 ms1.6 ms1 ms
memory10.5 MB363.7 MB42.5 MB9.6 MB7 MB7.5 MB4.7 MB
LOC6958885

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

offset/torus-grown-to-its-hole.md, the case as written.