swept · ·

A ring pushed into a block at so steep a lean its inner outline folds

swept/ring-pushed-in-past-its-fold · swept, solid-sweep, slide, torus, leaning, fold, cusp, stopped, boolean, cut

A block, the box from (−8, −8, −8) to (8, 8, 0), with a hole bored into its top by a ring pushed straight down into it at a lean, stopping wholly inside it.

The ring is a torus centered at (0, 0, 4), its axis leaning 65° from upright toward +x, along the direction (sin 65°, 0, cos 65°): the circle through its tube's centers has radius 3, and its tube has radius 1. As placed it is wholly above the block.

It slides without turning straight down by 8, so that its center ends at (0, 0, −4), the whole ring under the block's top. Cut from the block everything the ring passes through.

Leaning past tan² β = (R − r)/r (here 54.7°), the curve along which the ring's normal is level, seen from above, cusps: the inner outline folds back on itself, and the wall it sweeps down is cut where it folds.

expectedclosed form
volume1907.002118no closed form: cad-kernel and cadrs agree to 2e-9; the mean of their values
area1164.568667no closed form: cad-kernel and cadrs agree to 8e-10; the mean of their values

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–refused–refused–pass–pass–passpass ✦refused
volume err.1.2e-091.3e-091.2e-092.4e-098.2e-10
area err.4.0e-102.3e-103.0e-101.1e-085.5e-10
time6.30 s613 ms21 ms1.5 ms3.6 ms482 ms439 ms3.31 s2.31 s1.2 ms
CPU time7.21 s613 ms21 ms1.3 ms3.4 ms481 ms959 ms3.31 s4.91 s950 µs
memory25 MB356.7 MB10.3 MB4.7 MB11.4 MB81.7 MB19.4 MB15.9 MB41.3 MB3.4 MB
LOC2351181291016374

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

swept/ring-pushed-in-past-its-fold.md, the case as written.