swept · ·

A helical groove milled by a drum leaning to the screw's axis

swept/drum-leaning-to-a-screw · swept, solid-sweep, screw, helix, cylinder, leaning, boolean, cut

A curved block with a helical groove milled through it by a drum leaning to the screw that carries 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 −1 and 1, and with polar angle between 0° and 60° (measured from +x toward +y).

The drum is a solid cylinder of radius 0.8 and length 3, its ends flat, whose axis runs through (10, 0, 0), its middle, along the direction (0, sin 25°, cos 25°): leaning 25° from upright toward +y. It stands out above and below the block.

It is carried along a screw about the z axis: it turns right-handed about it (from +x toward +y) and rises 1 for every whole turn, rigidly, from a turn of −140° to one of +140°. It starts clear of the block, passes wholly through it, and ends clear of it. Cut from the block everything the drum passes through.

expectedclosed form
volume50.25001869no closed form: cad-kernel, next.BREP and cadrs agree to 1e-9; the mean of their values
area143.6145449no closed form: cad-kernel, next.BREP and cadrs agree to 7e-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.8e-103.3e-107.0e-101.6e-101.1e-09
area err.4.4e-102.7e-102.1e-102.3e-104.1e-11
time2.99 s611 ms104 ms1.4 ms3.4 ms964 ms77 ms451 ms198 ms1.1 ms
CPU time9.51 s610 ms129 ms1.2 ms3.2 ms958 ms189 ms446 ms413 ms960 µs
memory25.3 MB356.6 MB24.7 MB4.7 MB11.6 MB315 MB13.3 MB23.2 MB37.8 MB3.6 MB
LOC3151581191215354

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

swept/drum-leaning-to-a-screw.md, the case as written.