swept · ·

A wheel cut by a plus always in mesh with it

swept/plus-cut-wheel · swept, solid-sweep, generating, conjugate, envelope, boolean, cut

A wheel cut by a plus-shaped tool that turns in mesh with it, as a gear shaper cuts.

The tool is a plus in the plane z = 0, centered on the origin: four arms along +x, +y, −x and −y, each 30 long from the center and 8 wide, joined in a square 8 by 8 at the center. It is extruded from z = −10 to z = 0.

The wheel's blank is a disk of radius 40 about the vertical line through (−50, 0), from z = −8 to z = −2.

The tool turns about the z axis while the wheel turns two thirds as fast the other way about its own axis: when the tool has turned right-handed by t (from +x toward +y), the wheel has turned by −2t/3 about the vertical line through (−50, 0). Over t from 0° to 540° the wheel makes one whole turn and the tool one and a half, after which each stands as it began. Cut from the wheel everything the tool passes through, as seen from the wheel: what is left is the material that at every instant of the motion lies outside the tool.

The tool is never clear of the wheel.

expectedclosed form
volume17485.52445no closed form: cad-kernel and cadrs agree to 1e-11; the mean of their values (next.BREP is 7e-10 from it)
area8193.421604no closed form: cad-kernel and cadrs agree to 2.5e-10; the mean of their values (next.BREP is 1.0e-8 from it)

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–refusedpassrefused
volume err.7.5e-127.0e-123.6e-125.1e-112.9e-08
area err.1.2e-101.2e-101.2e-109.2e-116.2e-08
time909 ms623 ms1.3 ms268 ms1.1 ms1.7 ms1.1 ms3.7 ms56 ms219 ms1.9 ms307 ms1.4 ms836 ms1.4 ms
CPU time1.89 s622 ms1.1 ms479 ms990 µs1.5 ms940 µs3.5 ms56 ms219 ms1.7 ms975 ms1.1 ms2.00 s1.2 ms
memory39.7 MB356.5 MB3.8 MB11.6 MB4.8 MB4.7 MB3.5 MB11.6 MB47.3 MB35.4 MB9.9 MB19.1 MB3.5 MB49.7 MB3.5 MB
LOC226715781020586224364

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

swept/plus-cut-wheel.md, the case as written.