swept · ·

A domed mill swung partway into a curved block

swept/domed-mill-swung-partway-into-ring-sector · swept, solid-sweep, turn, sphere, sharp-edge, stopped, boolean, cut

A curved block with a notch cut down into it by a mill with a domed end 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): a cylinder of radius 1 standing up to z = 3, ended below by a cap of the sphere of radius 2 centered at (10, 0, 1.2). The cap's lowest point is (10, 0, −0.8), in the block, and it meets the cylinder in a sharp circle at z = 1.2 − √3 ≈ −0.532, where the sphere's radius 2 and the cylinder's 1 cross at 30°.

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 turn carries the cap into tori about the z axis (each meridian of the cap an arc of a circle of radius 2 off the axis) and the side into cylinders, meeting along the circles the sharp rim's nearest and farthest points sweep.

expectedclosed form
volume63.2129522180π/3 − ∫(π R(z)²/2 + (π/3)·10 R(z)) dz over −0.8 ≤ z ≤ 1, R(z) = min(√(4 − (z − 1.2)²), 1)
area159.70096840π + 16 − ∫2R dz (the opening at 0°) − (π/2 + 10π/3) (the opening in the top) + the walls about the axis (π/6)·2·10·ℓ, ℓ = π/3 + √3 − 0.2 the profile's length + half the mill's surface below z = 1, (4π(2 − √3) + 2π(√3 − 0.2))/2

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.1.1e-163.6e-140.0e+009.0e-151.2e-112.2e-164.5e-161.1e-15
area err.0.0e+001.8e-141.8e-161.6e-157.1e-121.8e-161.8e-162.2e-14
time1.29 s648 ms16 ms104 ms120.2 s33 ms20 ms17 ms1.29 s1.4 ms
CPU time1.58 s648 ms16 ms104 ms120.5 s32 ms37 ms17 ms1.86 s1.1 ms
memory18.6 MB369.5 MB11.3 MB51.1 MB1847.4 MB25.6 MB11.1 MB9.1 MB36.7 MB3.5 MB
LOC3730182416161918364

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

swept/domed-mill-swung-partway-into-ring-sector.md, the case as written.