swept · ·

A drum plunged aslant into a plate, stopping inside

swept/drum-plunged-aslant-into-plate · swept, solid-sweep, slide, cylinder, oblique, stopped, boolean, cut

A plate, the box from (0, −5, 0) to (20, 5, 4), with a pocket cut into its underside by a drum pushed up aslant into it, stopping inside.

The drum is a solid cylinder of radius 2 lying on its side: its axis is the line y = 0, z = −5, and it runs from x = 6 to x = 14, its ends flat.

It slides without turning by 8 along the direction (0.3, 0, √(1 − 0.3²)), leaning 0.3 toward +x from straight up, so that its axis ends at height −5 + 8√0.91 ≈ 2.63, inside the plate. Cut from the plate everything the drum passes through.

Pushed aslant, the drum's flat ends lean to the push: each rim sweeps an oblique elliptic cylinder, the side's lines at y = ±2 sweep the planes tangent along them, and the pocket ends in the drum's own side where it stops.

expectedclosed form
volume665.412934no closed form: next.BREP and cad-kernel agree to 3e-11; the mean of their values
area680.6777202no closed form: next.BREP and cad-kernel agree to 4e-12; the mean of their values

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.8e-111.6e-113.2e-094.1e-091.7e-111.7e-112.3e-114.8e-11
area err.3.5e-111.1e-114.6e-093.7e-093.2e-132.6e-121.7e-123.5e-11
time331 ms762 ms21 ms790 ms7.41 s29 ms9.8 ms33 ms373 ms1.1 ms
CPU time501 ms761 ms21 ms790 ms8.67 s22 ms19 ms32 ms459 ms940 µs
memory17.9 MB372.1 MB14.4 MB55.7 MB52.6 MB18.9 MB10.6 MB9.4 MB33.2 MB3.5 MB
LOC2415113034151114304

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

swept/drum-plunged-aslant-into-plate.md, the case as written.