offset · ·

A rounded cone frustum shrunk to a stub

offset/rounded-frustum-shrunk-to-a-stub · offset, shrink, analytic, torus, cone, round, vanishing-face, self-intersection

A cone frustum on the z axis, from the disk of radius 6 at z = 0 to the disk of radius 3 at z = 6 (its side the cone 2r + z = 12), with both its circular edges rounded to radius 1.5: the top rim by a piece of a torus tangent to the top and to the cone, the bottom rim by one tangent to the bottom and to the cone, each of tube radius 1.5. Shrink it by 2.5: the solid of every point at least 2.5 from the frustum's outside.

That is more than the rounds' radius. A round moved 2.5 inward would be a torus of tube radius 1.5 − 2.5 < 0, turned inside out: it is no part of the result, and the moved cone and the moved top or bottom run on past it until they meet in a sharp edge. The result is the frustum shrunk with sharp edges: from z = 2.5 to z = 3.5, its side the cone 2r + z = 12 − 2.5√5 (the side moved 2.5 along its normal), so its radius is (12 − 2.5√5 − 2.5)/2 at the bottom and (12 − 2.5√5 − 3.5)/2 at the top.

As a set: the rounded frustum lies between the sharp frustum shrunk by 1.5 and grown back by 1.5 and the sharp frustum itself, so for any distance of at least 1.5 its points at least that far inside are the sharp frustum's:

$$\{\, d \le z \le 6 - d,\ 2\sqrt{x^2 + y^2} + z \le 12 - d\sqrt{5} \,\},\quad d = 2.5$$

expectedclosed form
volume9.197227964πh(a² + ab + b²)/3, h = 6 − 2d, a = (12 − d√5 − d)/2, b = (12 − d√5 − (6 − d))/2, d = 2.5
area30.63296752πa² + πb² + π(a + b)√((a − b)² + h²), with a, b and h as for the volume

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
outcomepass †pass–pass–pass–––pass–pass–passrefusedrefused
volume err.7.7e-161.0e-121.9e-160.0e+009.7e-163.1e-151.9e-16
area err.1.0e-154.2e-132.3e-162.3e-163.5e-162.2e-154.6e-16
time22 ms640 ms13 ms269 ms36 ms3.2 ms4.8 ms73 ms13 ms
CPU time27 ms639 ms13 ms269 ms35 ms2.9 ms4.2 ms74 ms13 ms
memory11.5 MB368.6 MB12 MB54.2 MB22.7 MB9.5 MB8.6 MB26.9 MB5.2 MB
LOC21158510125226

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

offset/rounded-frustum-shrunk-to-a-stub.md, the case as written.