offset · ·

A plate with a wide hole, grown by the hole's radius

offset/wide-hole-plate-grown-by-its-hole · offset, grow, analytic, torus, vanishing-face, degenerate, adversarial

A plate from (−30, −30, 0) to (30, 30, 4) with a hole of radius 20 drilled through it along the z axis, grown by 20, exactly the hole's radius: the solid of every point within 20 of the drilled plate. It is offset/drilled-plate-grown-by-its-hole with a hole much wider than the plate is thick.

The plate grows as a box does: each face moves 20 outward, each outer edge becomes a quarter of a cylinder of radius 20, each corner an eighth of a ball. The hole's wall moves 20 in, onto the z axis, so the hole closes: every point of it is within 20 of its wall, and it is filled. Over each end of the hole, though, a point is within 20 of the plate only within 20 of the hole's rim, so the grown top (and bottom) is not flat there but dips in a dimple: the part of a horn torus, a tube of radius 20 about the rim's circle of radius 20, inside the rim. Its surface comes down to a point on the axis, at z = 4 (and z = 0), where it meets itself in a cusp.

As a set:

$$\bigl(\bigl([-30,30]^2\times[0,4]\bigr) \setminus \{\,\rho \le 20\,\}\bigr) \oplus B_{20}$$

expectedclosed form
volume362114.3484V₀ − 2·2π(dρ²/2 − ρ/2·(ρq + d²·asin(ρ/d)) + (d³ − q³)/3), V₀ = abc + 2(ab + bc + ca)d + π(a + b + c)d² + 4πd³/3, a = b = 60, c = 4, ρ = 20, d = 20, q = √(d² − ρ²) = 0
area29124.70896A₀ − 2πρ² + 2·2πd(ρφ − d(1 − cos φ)), A₀ = 2(ab + bc + ca) + 2π(a + b + c)d + 4πd², φ = asin(ρ/d) = π/2, a = b = 60, c = 4, ρ = d = 20

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
outcomepassrefused–––refused–––pass–pass–pass–refused
volume err.1.1e-153.2e-168.0e-166.4e-16
area err.2.5e-162.5e-160.0e+002.5e-16
time244 ms682 ms104 ms83 ms4.1 ms14 ms1.3 ms
CPU time380 ms681 ms104 ms82 ms5.2 ms14 ms1.1 ms
memory22.1 MB366.5 MB47.1 MB27.8 MB8.7 MB9.4 MB3.5 MB
LOC111361010124

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

offset/wide-hole-plate-grown-by-its-hole.md, the case as written.