swept · ·

A square bar standing on its edge, swung a quarter turn

swept/square-bar-on-its-edge-swung · swept, solid-sweep, turn, prism, edge-contact

The solid a square bar fills as it is swung a quarter turn about an axis it faces with an edge.

The bar is a prism standing upright from z = 0 to z = 3. Its section is the square with corners (4, 0), (6, 2), (8, 0) and (6, −2): stood on a corner, its diagonal along the x axis, so that one of its upright edges, the line through (4, 0), faces the z axis squarely.

It turns rigidly about the z axis, right-handed (from +x toward +y), by 90°. Make the solid of everything the bar passes through.

The edges through (4, 0) and (8, 0) are in contact all along them, the fan of normals at each holding the direction to the axis: they sweep cylinders of radii 4 and 8 about it. The bar's faces touch nowhere. What it sweeps is a quarter of the ring between those cylinders, with the bar where it starts and where it stops at its ends.

expectedclosed form
volume137.09733553(8 + (π/2)(8² − 4²)/2): each circle about the axis meets the bar's section in one arc, which the turn lengthens by π/2
area181.88801692(8 + 12π) + 3((π/2)(8 + 4) + 4·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 †–pass–pass–pass–passrefusedpass †
volume err.0.0e+004.6e-154.1e-164.1e-160.0e+001.0e-114.1e-164.1e-164.1e-16
area err.3.1e-167.5e-153.1e-163.1e-163.1e-167.1e-121.6e-163.1e-163.1e-16
time72 ms658 ms6.9 ms35 ms450 ms6.3 ms6.6 ms14 ms43 ms7.1 ms
CPU time159 ms657 ms6.7 ms34 ms848 ms6.1 ms12 ms13 ms43 ms6.9 ms
memory17.4 MB368.1 MB10.1 MB47.5 MB34.6 MB10.7 MB9.1 MB8.5 MB22.8 MB5.1 MB
LOC1712119733910187

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

swept/square-bar-on-its-edge-swung.md, the case as written.