swept · ·

A slot swung by a pin lying along a radius

swept/pin-swung-through-ring-sector · swept, solid-sweep, turn, revolution, sphere, ring-contact, boolean, cut

A curved block with a slot swung through it by a pin.

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 pin is a solid cylinder of radius 0.5 whose axis is the x axis, from x = 6 to x = 11, its ends flat. Its axis meets the block's at the origin.

The pin turns rigidly about the z axis, right-handed (from +x toward +y), from −140° to +140°: it starts clear of the block, passes through it, and ends clear of it. Cut from the block everything the pin passes through.

Each circle of the pin about its own axis touches at its two points in the plane of the two axes, so the pin's side sweeps the slot's flat roof and floor, z = ±0.5. On the rim of the pin's far end the circle whose normals pass through the origin touches all round and sweeps a zone of the sphere of radius √(11² + 0.5²) about the origin, the slot's end wall. The slot runs right through the block's inner wall and both its flat sides, so the block falls into what lies above the slot and what lies below it, joined beyond the sphere.

expectedclosed form
volume53.84340742(π/3)·80 − (π/6)(57.25 − 1/12): the slot is |z| ≤ 0.5 out from ρ = 8 to the sphere ρ² + z² = 11² + 0.5², over the whole 60°
area198.4923078the block 40π + 16, less the inner wall's band 8π/3 and two openings ∫(√(121.25 − z²) − 8) dz over |z| ≤ 0.5, plus roof and floor (π/6)(11² − 8²) each and a sixth of the sphere's zone 2π√121.25·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 †–pass–pass–pass–passwrongpass †
volume err.3.7e-133.6e-134.0e-162.5e-137.8e-101.5e-159.2e-166.6e-167.5e-061.1e-11
area err.2.4e-142.2e-131.1e-153.2e-141.5e-101.4e-164.3e-164.3e-161.5e-065.9e-12
time338 ms846 ms23 ms135 ms175 ms14 ms9.1 ms66 ms327 ms50 ms
CPU time1.05 s845 ms23 ms135 ms323 ms13 ms17 ms66 ms580 ms50 ms
memory21.9 MB372.8 MB12.5 MB48.2 MB40 MB16.2 MB9.9 MB9.2 MB38.9 MB5.2 MB
LOC23131317164010124122

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

swept/pin-swung-through-ring-sector.md, the case as written.