Files
solidcraft/tests/kernel-cases/sweeps/96-sweep-rectangle-round-a-mitred-corner/expected.json
T
Brennen HerbruckandClaude Sonnet 5.5 a9002968f0 kernel-cases: sweeps sweep and pipe cases from #96-#3505 (end scale, rails, corners, closed paths)
End scale, parallel orientation and guide rails on straight paths (frustums and a sheared cylinder), a rectangle swept round a mitred corner, a profile mid-line on a closed rounded rectangle, second sweeps from a plane along a closed circle, hollow and cutting pipes, and a flat wall of a swept corner extruded.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 02:28:45 -04:00

22 lines
593 B
JSON

{
"sources": [
"tangency-labs/solidcraft#96"
],
"what": "an 8 x 5 rectangle swept along a path of a 30 mm vertical line and a 40 mm horizontal line meeting at a sharp corner (walls mitred)",
"source": "analytic",
"method": "in the bend plane the mitred joint keeps the area w (l1 + l2): the outer side gains exactly what the inner side loses, so V = A (l1 + l2) = 40 * 70 = 2800. bbox: x -4..40, y +-2.5, z 0..34 (the mitred outer corner reaches 30 + 4).",
"body_count": 1,
"volume_mm3": 2800.0,
"bbox": {
"min": [
-4,
-2.5,
0
],
"max": [
40,
2.5,
34
]
}
}