offset · ·

A drilled plate grown past its hole

offset/drilled-plate-grown-past-its-hole · offset, grow, analytic, torus, vanishing-face, self-intersection

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 4, more than the hole's radius: the solid of every point within 4 of the drilled plate.

The plate grows as a box does: each face moves 4 outward, each outer edge becomes a quarter of a cylinder of radius 4, each corner an eighth of a ball. The hole is gone: every point of it is within 3 of its wall, so it is filled. Over each end of the hole, though, a point is within 4 of the plate only within 4 of the hole's rim, so the grown top (and bottom) dips there in a dimple: the inner part of a spindle torus, a tube of radius 4 about the rim's circle of radius 3, which crosses the axis. The dimple's lowest point is on the axis, √7 ≈ 2.65 above the top face (and below the bottom), where the spindle's surface meets itself in a point, and it meets the flat of the grown top along the circle of radius 3 over the rim.

As a set:

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

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

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–pass–refused–––pass–pass–pass–refused
volume err.0.0e+002.1e-162.1e-162.1e-162.1e-16
area err.5.6e-165.6e-163.7e-165.6e-163.7e-16
time98 ms631 ms34 ms58 ms70 ms4 ms13 ms1.1 ms
CPU time159 ms630 ms34 ms57 ms70 ms5.2 ms13 ms920 µs
memory14.2 MB365.2 MB12.4 MB47.2 MB26.2 MB9 MB9.5 MB3.3 MB
LOC1118771010124

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

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