swept · ·

A bull-nose mill run along a line, an arc and a line

swept/bull-nose-along-line-arc-line · swept, solid-sweep, path, slide, turn, torus, pieces, boolean, cut

A block, the box from (−10, −10, −10) to (40, 40, 0), with a groove cut into its top by a bull-nose mill run along a path made of a line, an arc and a line.

The mill is a solid of revolution about an upright axis: a cylinder of radius 2 from 1.5 below the block's top up to 5 above it, whose bottom corner is rounded to radius 0.5. Its flat bottom is a disc of radius 1.5 at z = −1.5, joined to its side (radius 2, from z = −1 up) by a quarter of a torus whose tube, of radius 0.5, is centered on the circle of radius 1.5 at z = −1.

Its axis starts on the vertical line through (0, 0) and moves, staying upright, in three pieces:

Cut from the block everything the mill passes through.

The path is tangent where its pieces meet, and its arc, of radius 10, is wider than the mill. The round's bottom circle stays in its plane, so the groove has a flat floor 3 wide.

expectedclosed form
volume24653.5167250·50·10 − (A·L + V₀), L = 40 + 5π the path's length, A = ∫2R(z) dz the groove's section below the top, V₀ = ∫πR(z)² dz the mill below the top, R(z) = 1.5 + √(0.25 − (z + 1)²) below z = −1, 2 above (Pappus on the arc: the section is symmetric about the path)
area7159.255417000 − (4L + 4π) (the opening) + (3L + 2.25π) (the floor) + 2L(0.5π/2 + 1) (the walls) + the mill's side and round below the top, 2π·0.5(1.5π/2 + 0.5) + 2π·2·1

Drawing

Top view
Top
Isometric view
Isometric
Front view
Front
Right view
Right

Third-angle projection, the three views at one scale. Drawn from occt's result, which passed.

Results

cad-kernelocctarriskentronvcadsolidcraftbrepkitpopkernaetherisnext.BREPgeopcadrssmlibspringrepgeomsolveranvilcad
outcomepasspass †–pass–pass †–timeout–pass–pass–passrefused †refused
volume err.1.5e-161.5e-163.0e-162.7e-151.5e-162.0e-111.5e-16
area err.3.8e-162.5e-162.5e-164.7e-152.5e-161.4e-112.5e-16
time30 ms1.07 s132 ms798 ms120.1 s145 ms25 ms73 ms16.3 s281 ms
CPU time52 ms1.07 s160 ms798 ms120.7 s145 ms41 ms72 ms24.8 s280 ms
memory14.5 MB375.3 MB25.7 MB56 MB1596.9 MB23.1 MB12.4 MB9.7 MB51.4 MB5.7 MB
LOC57332850212452325933

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

swept/bull-nose-along-line-arc-line.md, the case as written.