swept · ·

A helical groove milled by a ball-end mill screwed across a block

swept/ball-end-mill-screwed-across-ring-sector · swept, solid-sweep, screw, helix, sphere, cylinder, canal, boolean, cut

A curved block with a helical groove milled into it by a ball-end mill screwed across it.

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 −2 and 2, and with polar angle between −30° and 30° (measured from +x toward +y).

The mill is a solid of revolution about the vertical line through (10, 0): the lower half of the ball of radius 1 centered at (10, 0, 0), under a cylinder of radius 1 from z = 0 up to z = 3, flat on top.

It is carried along a screw about the z axis: it turns right-handed about it (from +x toward +y) and rises 3 for every whole turn, rigidly, from a turn of −60° (lowered 0.5) to one of +60° (raised 0.5). It starts clear of the block, passes wholly through it, and ends clear of it; its top stands out above the block all the way. Cut from the block everything the mill passes through.

The ball sweeps the pipe about its center's helix, which touches what the side sweeps along the helix of the ball's widest circle.

expectedclosed form
volume109.1956263no closed form: OCCT and cadrs agree to 2e-9; the mean of their values
area242.2865388no closed form: OCCT and cadrs agree to 2e-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 occt's result, which passed.

Results

cad-kernelocctarriskentronvcadsolidcraftbrepkitpopkernaetherisnext.BREPgeopcadrssmlibspringrepgeomsolveranvilcad
outcomepasspass †–pass–pass †–refused–pass–pass–passpassrefused
volume err.3.6e-102.8e-107.5e-102.1e-078.2e-107.4e-106.1e-103.5e-10
area err.1.3e-097.6e-119.4e-103.4e-077.7e-101.1e-096.9e-101.3e-09
time4.83 s1.05 s115 ms290 ms3.9 ms77 ms45 ms85 ms4.14 s1.2 ms
CPU time8.01 s1.05 s138 ms290 ms3.6 ms77 ms86 ms83 ms6.45 s980 µs
memory24.8 MB379.4 MB57 MB55.1 MB11.7 MB25 MB12.1 MB9.5 MB47.2 MB3.5 MB
LOC472821151331718354

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

swept/ball-end-mill-screwed-across-ring-sector.md, the case as written.