swept · ·

A rod grooved by a wheel screwed along it

swept/torus-screwed-through-rod · swept, solid-sweep, screw, helix, torus, envelope, boolean, cut

A rod, the cylinder of radius 5 about the z axis from z = 0 to z = 20, with a helical groove ground around it by a wheel carried along a screw, as a thread is ground.

The wheel is a torus: the circle through its tube's centers has radius 6, and its tube has radius 2. As placed, its center is (11.5, 0, 0), so the part of its tube nearest the rod is centered at (5.5, 0, 0) and reaches 1.5 into the rod. Its axis passes through its center square to the x axis, leaning from the y axis down toward −z by the helix angle h = atan(2π·5.5 / 30) ≈ 49.04°: the axis's direction is (0, cos h, −sin h). The wheel then lies along the helix that the screw below carries the point (5.5, 0, 0) along, as a grinding wheel is set.

The screw is about the z axis: the wheel turns right-handed about it (from +x toward +y) and rises 30 for every whole turn, rigidly. It runs from a turn of −108° (the wheel lowered 9, wholly below the rod) to a turn of +348° (raised 29, wholly above it). Cut from the rod everything the wheel passes through.

The groove's section square to the axis is the same at every height, turned.

expectedclosed form
volume1460.630003no closed form: cad-kernel, next.BREP and cadrs agree to 7e-10; the mean of their values
area791.5632226no closed form: cad-kernel, next.BREP and cadrs agree to 1e-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 †passrefused
volume err.6.8e-103.4e-104.4e-101.4e-105.9e-102.7e-07
area err.5.6e-103.9e-104.3e-103.9e-106.5e-104.8e-07
time1.45 s638 ms1.2 ms24 ms1 ms1.4 ms1.1 ms3.9 ms53 ms179 ms1.9 ms29 ms451 ms260 ms1.2 ms
CPU time3.34 s637 ms1 ms24 ms900 µs1.2 ms900 µs3.7 ms53 ms179 ms1.7 ms34 ms451 ms347 ms960 µs
memory20.4 MB356.5 MB3.7 MB13.4 MB4.7 MB4.7 MB3.7 MB11.3 MB47.4 MB12.5 MB9.3 MB9.9 MB33.9 MB32.1 MB3.6 MB
LOC1977147810204461016354

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

swept/torus-screwed-through-rod.md, the case as written.