offset · ·

A drilled plate grown by its hole's radius

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

The plate of offset/drilled-plate-grown, from (−10, −10, 0) to (10, 10, 4) with a hole of radius 3 drilled through it along the z axis, grown by 3, exactly the hole's radius: the solid of every point within 3 of the drilled plate.

The plate grows as a box does: each face moves 3 outward, each outer edge becomes a quarter of a cylinder of radius 3, each corner an eighth of a ball. The hole's wall moves 3 in, onto the z axis, so the hole closes: every point of it is within 3 of its wall, and it is filled. Over each end of the hole, though, a point is within 3 of the plate only within 3 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 3 about the rim's circle of radius 3, 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([-10,10]^2\times[0,4]\bigr) \setminus \{\,\rho \le 3\,\}\bigr) \oplus B_{3}$$

expectedclosed form
volume6300.904006V₀ − 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 = 20, c = 4, ρ = 3, d = 3, q = √(d² − ρ²) = 0
area2070.484672A₀ − 2πρ² + 2·2πd(ρφ − d(1 − cos φ)), A₀ = 2(ab + bc + ca) + 2π(a + b + c)d + 4πd², φ = asin(ρ/d) = π/2, a = b = 20, c = 4, ρ = d = 3

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 †refused–pass–refused–––pass–pass–pass–refused
volume err.4.3e-164.3e-162.9e-164.3e-164.3e-16
area err.6.6e-166.6e-164.4e-168.8e-168.8e-16
time242 ms632 ms28 ms104 ms67 ms4 ms12 ms1.1 ms
CPU time430 ms631 ms27 ms104 ms62 ms5.1 ms11 ms950 µs
memory16.5 MB365.9 MB11.8 MB47 MB26.2 MB8.7 MB9.6 MB3.6 MB
LOC12187101010124

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

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