swept · ·

A rod threaded by a drafted bar of slotted section

swept/drafted-slot-screwed-through-rod · swept, solid-sweep, screw, helix, draft, cone, prism, boolean, cut

A rod, the cylinder of radius 5 about the z axis from z = 0 to z = 20, threaded by a drafted bar whose section is a slot, carried along a screw.

The bar points at the rod's axis. Its section in the plane x = 12 is the slot (stadium) made of the two half discs of radius 1 centered at (12, ±1.5, 0) and the rectangle |y| ≤ 1.5, |z| ≤ 1 between them: 5 long along y and 2 wide along z. The bar is that section carried along −x to x = 4, drafted 3° inward: in the plane x = 12 − s its section is the slot's shrunk by s·tan 3° on every side (its half discs of radius 1 − s tan 3° about the same centers). So its sides are two planes and two half cones, and its tip, the plane x = 4, is 1 inside the rod.

The screw is about the z axis: the tool turns right-handed about it (from +x toward +y) and rises 6 for every whole turn, rigidly. It runs from a turn of −90° (lowered 1.5, the tool wholly below the rod) to a turn of 1350° (raised 22.5, wholly above it). Cut from the rod everything the bar passes through.

expectedclosed form
volume1401.313963no closed form: cad-kernel, next.BREP and cadrs agree to 1e-9; the mean of their values
area896.7608938no closed form: cad-kernel, next.BREP 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 next.BREP's result, which passed.

Results

cad-kernelocctarriskentronvcadsolidcraftbrepkitpopkernaetherisnext.BREPgeopcadrssmlibspringrepgeomsolveranvilcad
outcomepassrefused–pass–refused–refused–pass–pass–passpass ✦refused
volume err.6.9e-096.9e-104.2e-107.4e-103.9e-102.4e-09
area err.8.6e-091.5e-094.2e-108.2e-104.3e-101.6e-09
time3.51 s611 ms3.62 s1.7 ms4.1 ms367 ms490 ms20.6 s31.3 s1.2 ms
CPU time10.1 s610 ms6.72 s1.5 ms3.8 ms367 ms1.27 s20.6 s109.6 s970 µs
memory30 MB356.5 MB180.4 MB4.6 MB11.6 MB21.5 MB27.1 MB76.3 MB96 MB3.4 MB
LOC4162781462130354

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

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