swept · ·

A rod threaded by a wheel whose section is an ellipse

swept/spheroid-wheel-screwed-through-rod · swept, solid-sweep, screw, helix, ellipsoid, quadric, 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 shaped as a flattened spheroid, carried along a screw. The wheel's meridian is an ellipse, neither a line nor a circle.

The wheel is the oblate spheroid centered at (10.5, 0, 0) with semi-axes 6, 6 and 1.5, its short axis along its own axis. That axis lies square to the x axis, leaning from the y axis down toward −z by h = atan(2π·4.75/30) ≈ 44.83°: its direction is (0, cos h, −sin h). So its rim, a circle of radius 6 about its center in the plane square to that axis, reaches to (4.5, 0, 0), 0.5 inside the rod.

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 −90° (lowered 7.5, wholly below the rod) to a turn of +330° (raised 27.5, wholly above it). Cut from the rod everything the wheel passes through.

expectedclosed form
volume1559.464105no closed form: cad-kernel and cadrs agree to 3e-10; the mean of their values
area794.4600094no closed form: cad-kernel and cadrs agree to 9e-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–pass–refused–refused–pass–pass–passrefusedrefused
volume err.5.7e-101.1e-105.2e-121.3e-103.6e-11
area err.1.1e-098.4e-113.3e-103.6e-102.9e-10
time1.47 s615 ms1.41 s1.7 ms3.3 ms193 ms177 ms5.72 s26 ms1.2 ms
CPU time3.55 s614 ms2.17 s1.5 ms3.1 ms193 ms401 ms5.72 s26 ms1.1 ms
memory21 MB356.7 MB158.5 MB4.5 MB11.6 MB13.2 MB17.9 MB99.7 MB12.5 MB3.6 MB
LOC266258147152604

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

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