swept · ·

A drum swung partway into a curved block

swept/drum-swung-partway-into-ring-sector · swept, solid-sweep, turn, cylinder, stopped, boolean, cut

A curved block with a notch cut into it by a drum 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 drum is a solid cylinder of radius 1 about the vertical line through (10, 0), from z = −0.5 to z = 0.5, its ends flat.

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 drum passes through.

The notch runs in from the block's flat side at 0°, between the cylinders of radii 9 and 11 about the z axis and the planes z = ±0.5, and ends in the half of the drum's side that leads where it stops.

expectedclosed form
volume71.7330322680π/3 − (π r²/2 + (π/6)·2Dr)·1, r = 1, D = 10: each circle about the axis loses the angle from the block's edge to 30° past it and the drum's half-width there, and ∫2ρ a(ρ) dρ is the drum's section, πr²
area177.36281840π + 16 − 2 (the opening in the face at 0°) + floor and roof 2(π/2 + 10π/3) + the walls at radii 9 and 11 (π/6)(9 + 11)·1 + half the drum's side π = 52π + 14

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 †–refused–pass–pass–passpassrefused
volume err.4.0e-162.1e-142.0e-169.9e-165.9e-164.0e-162.0e-165.9e-16
area err.3.2e-165.8e-154.8e-164.8e-169.6e-166.4e-164.8e-164.8e-16
time45 ms634 ms14 ms68 ms316 ms19 ms8.2 ms10 ms88 ms6.9 ms
CPU time101 ms633 ms13 ms67 ms523 ms18 ms12 ms9.9 ms168 ms6.6 ms
memory15.4 MB367.2 MB10.9 MB49.8 MB29.6 MB18.3 MB10.2 MB8.9 MB31.7 MB5.1 MB
LOC2614132316371011288

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

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