swept · ·

A half drum swung partway into a curved block, its arcs ending at its cut

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

A curved block with a notch cut into it by half a drum swung partway into it, flat face first.

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 tool is half of the solid cylinder of radius 1 about the vertical line through (10, 0), from z = −0.5 to z = 0.5: the half with y ≤ 0, cut off by the plane y = 0 through its axis. Its flat face is the rectangle 9 ≤ x ≤ 11, y = 0, |z| ≤ 0.5, and its round side faces −y.

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

The half drum leads with its flat face, so the notch is the ring between radii 9 and 11 and heights ±0.5 from the block's edge at 0° to the flat face where it stops, at 30°. Its round side's arcs end at that face, at the two corners whose paths are the notch's inner and outer edges.

expectedclosed form
volume73.3038285880π/3 − (π/6)(11² − 9²)/2·1: the half drum leads with its flat cut, so each circle about the axis between 9 and 11 loses exactly the sector's first 30°
area173.079632740π + 16 − 2 (the opening at 0°) + floor and roof 2·10π/3 + the walls (π/6)(9 + 11) + the half drum's flat face 2·1 where it stops

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–passpasspass †
volume err.7.8e-162.5e-141.9e-169.7e-167.8e-165.8e-163.9e-167.8e-161.6e-12
area err.3.3e-162.3e-146.6e-163.3e-168.2e-164.9e-163.3e-163.3e-161.0e-11
time45 ms649 ms22 ms46 ms413 ms15 ms7.9 ms10 ms91 ms9.5 ms
CPU time98 ms649 ms22 ms46 ms657 ms15 ms14 ms9.8 ms170 ms9.2 ms
memory15.5 MB368.3 MB10.9 MB47.1 MB30.9 MB18.6 MB10.5 MB8.9 MB32.3 MB5.1 MB
LOC231415516401115328

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

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