swept · ·

A curved block grooved by a leaning cutter turned past it

swept/torus-turned-across-block · swept, solid-sweep, turn, torus, envelope, boolean, cut

A curved block, grooved by a cutter turned past it about the block's own axis.

The block is a sector of a ring about the z axis: everything with distance from the z axis between 8 and 12, with z between −1 and 1, and with polar angle between 0° and 60° (measured from +x toward +y).

The cutter is a torus whose axis passes through (5, 0, 0), leaning from the z axis toward +y by 25°: its direction is (0, sin 25°, cos 25°). Its center is (5, 0, 0); the circle through its tube's centers has radius 2.5, and its tube has radius 2. So, as placed, its tube reaches out to x = 9.5 along the x axis, into the block's inner side, but the cutter is turned out of the block before it starts.

The cutter turns rigidly about the z axis, right-handed (from +x toward +y), from −140° to +140°: it starts clear of the block, passes through it, and ends clear of it. Cut from the block everything the cutter passes through.

Leaning across the turn, the cutter's axis is skew to the block's, so the groove's wall is none of the torus's own circles.

expectedclosed form
volume57.57189968no closed form: next.BREP and cadrs agree to 1e-9; the mean of their values
area115.8366253no closed form: next.BREP and cadrs agree to 3e-9; 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
outcomepassrefusedrefusedpassrefusedrefusedrefusedrefusedrefusedpassrefusedpass–pass †wrongrefused
volume err.1.0e-071.7e-103.1e-103.0e-105.2e-104.2e-06
area err.6.6e-081.4e-091.1e-091.2e-091.3e-092.6e-06
time11.6 s634 ms1.4 ms22 ms1.5 ms1.7 ms1.1 ms3.8 ms55 ms107 ms2.1 ms39 ms340 ms224 ms1.3 ms
CPU time14.7 s634 ms1.2 ms22 ms1.3 ms1.5 ms910 µs3.6 ms54 ms107 ms1.9 ms72 ms340 ms276 ms1.1 ms
memory20.1 MB356.5 MB3.7 MB9.9 MB4.8 MB4.6 MB3.6 MB11.7 MB47.1 MB18.8 MB9.7 MB12.2 MB11.3 MB32.5 MB3.7 MB
LOC1767147810303961217424

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

swept/torus-turned-across-block.md, the case as written.