offset · ·

A hemisphere with its rim rounded, shrunk past the round's radius

offset/rounded-hemisphere-shrunk-past-its-round · offset, shrink, analytic, torus, sphere, round, vanishing-face

The half of the ball of radius 5 about the origin above the plane z = 0, with its rim, where the flat meets the ball, rounded to radius 1: the round is a piece of a torus whose tube has radius 1 about the circle of radius √15 at z = 1, tangent to the flat along the circle of radius √15 and to the ball along the circle through (5√15/4, 5/4). Shrink it by 3/2: the solid of every point at least 3/2 from its outside.

That is more than the round's radius. The round moved 3/2 inward would be a torus of tube radius 1 − 3/2 < 0, turned inside out, and drops; the moved flat and the moved ball meet in a sharp edge. The rounded hemisphere lies between the hemisphere shrunk by 1 and grown back by 1 and the hemisphere itself, and both shrink by 3/2 to the same solid: the hemisphere's points at least 3/2 inside, the part of the ball of radius 7/2 about the origin above the plane z = 3/2.

As a set:

$$\{\,x^2 + y^2 + z^2 \le (7/2)^2,\ z \ge 3/2\,\}$$

expectedclosed form
volume35.60471674πh²(3r − h)/3, r = 5 − d, h = r − d, d = 3/2: the ball of radius 7/2 above z = 3/2
area75.398223692πrh + π(r² − d²) = 24π

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
outcomepass †wrong–pass–pass–––pass–pass–passrefusedrefused
volume err.0.0e+000.0e+001.2e-152.0e-164.0e-162.0e-16
area err.0.0e+000.0e+005.7e-163.8e-163.8e-160.0e+00
time8.9 ms653 ms7.8 ms460 ms36 ms3.7 ms4.8 ms49 ms170 ms
CPU time12 ms653 ms7.6 ms460 ms36 ms3.4 ms4.6 ms49 ms170 ms
memory11.5 MB369.3 MB11.3 MB53.3 MB22.7 MB10.9 MB8.8 MB24.9 MB7.1 MB
LOC2817118111315116

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

offset/rounded-hemisphere-shrunk-past-its-round.md, the case as written.