swept · ·

A ring pushed straight down into a block at a lean

swept/ring-pushed-in-at-a-lean · swept, solid-sweep, slide, torus, leaning, 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 35° from upright toward +x, along the direction (sin 35°, 0, cos 35°): 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.

The ring touches what it sweeps along two closed curves, the outer and the inner, where its normal is level. Each is carried down into an upright wall: the hole's, and the wall of the core the ring's own hole leaves standing in the middle.

expectedclosed form
volume1880.891254no closed form: cad-kernel and cadrs agree to 5e-11; the mean of their values
area1186.342576no closed form: cad-kernel and cadrs agree to 6e-11; 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–pass–refused–refused–pass–pass–passpassrefused
volume err.9.5e-101.4e-103.9e-111.7e-093.5e-111.0e-09
area err.7.5e-101.1e-101.3e-108.2e-101.2e-119.2e-10
time247 ms612 ms153 ms1.7 ms3.9 ms268 ms213 ms72 ms345 ms1.3 ms
CPU time688 ms611 ms159 ms1.5 ms3.7 ms267 ms411 ms71 ms777 ms1.1 ms
memory24.5 MB356.6 MB17.5 MB4.6 MB11.5 MB64.4 MB17.5 MB10.8 MB42.9 MB3.5 MB
LOC2551171291116374

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

swept/ring-pushed-in-at-a-lean.md, the case as written.