swept · ·

A bull-nose mill swung partway into a curved block

swept/bull-nose-swung-partway-into-ring-sector · swept, solid-sweep, turn, torus, stopped, boolean, cut

A curved block with a notch cut into it by a bull-nose mill swung partway into 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 mill is a solid of revolution about the vertical line through (10, 0), from z = −0.5 to z = 0.5: a cylinder of radius 1 whose bottom corner is rounded to radius 0.3. Its flat bottom is a disc of radius 0.7 at z = −0.5, joined to its side (radius 1, from z = −0.2 up) by a quarter of a torus whose tube, of radius 0.3, is centered on the circle of radius 0.7 at z = −0.2. Its top is flat, at z = 0.5.

It turns rigidly about the z axis, right-handed (from +x toward +y), from −140° to +30°: it starts clear of the block and stops halfway across it. Cut from the block everything the mill passes through.

The round's bottom circle stays in its plane, so the notch has a flat floor; the round's meridians nearest and farthest from the axis sweep tori about the z axis.

expectedclosed form
volume71.9919009680π/3 − ∫(π R(z)²/2 + (π/3)·10 R(z)) dz, R(z) the mill's radius at height z: 0.7 + √(0.3² − (z + 0.2)²) below z = −0.2, 1 above
area175.628531140π + 16 − ∫2R dz (the opening at 0°) + the flat top and bottom swept, π R²/2 + (10π/3)R at R = 1 and 0.7 + the walls about the axis (π/6)·2·10·ℓ, ℓ = 0.7 + 0.3π/2 the side's profile + half the mill's side and round, π·0.7 + π·0.3(0.7π/2 + 0.3)

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–passpassrefused
volume err.3.1e-122.1e-142.0e-164.7e-152.3e-113.9e-163.9e-163.1e-12
area err.3.6e-125.8e-153.2e-161.1e-159.8e-123.2e-160.0e+003.6e-12
time8.49 s653 ms39 ms116 ms120.0 s31 ms22 ms23 ms3.79 s1.2 ms
CPU time24.7 s652 ms39 ms115 ms121.0 s31 ms40 ms23 ms6.11 s990 µs
memory45.6 MB369 MB11.5 MB52.4 MB418 MB26.1 MB11.6 MB8.9 MB40.4 MB3.4 MB
LOC4128182516161718334

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

swept/bull-nose-swung-partway-into-ring-sector.md, the case as written.