Files
solidcraft/tests/oracle/17-loft/expected.json
T
jyvikoandClaude Opus 5.5 8ac38056c1 Wave 341/509: Designs before format 14: a split's pieces take the names its later features use them by (and 3 more)
4 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 319e6b8b3 jyviko: Kernel tests: the chamfer on a tangent wall junction is measured on meshes fine enough
- 68a217d98 jyviko: Reference tests: the loft case is analytic, SolidCraft's correspondence with its closed form
- 73b028b5b jyviko: Kernel: a drafted extrusion of a profile with holes, every wall leaning on the material's side
- b2c5b1f5e jyviko: Designs before format 14: a split's pieces take the names its later features use them by

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-29 00:49:29 -04:00

35 lines
1.2 KiB
JSON

{
"source": "analytic",
"method": "ruled loft, square 40 at z 0 to circle r 10 at z 40, each side on one rational quarter of the circle (corner (20, -20) at -45 deg): A(t) = (1-t)^2 A_S + t^2 A_C + t(1-t) M, M = 1/2 int (S x C' + C x S') du (Gauss-Legendre on the exact rational arcs), V = h (A_S/3 + A_C/3 + M/6), z_c = h (A_S/12 + A_C/4 + M/12) / (V/h), wall area = int |P_u x P_t| du dt",
"body_count": 1,
"volume_mm3": 35080.725116114816,
"area_mm2": 6493.984396260195,
"center_of_mass": [
0.0,
0.0,
15.112831028492234
],
"bbox": {
"min": [
-20.0,
-20.0,
0.0
],
"max": [
20.0,
20.0,
40.0
]
},
"faces": 6,
"note": "a difference of definition with the FreeCAD (OpenCASCADE) loft, which runs each side to the quarter at uniform angle (arc length): that correspondence has no exact rational B-spline form, and SolidCraft keeps its surfaces exact; OpenCASCADE's volume is 35125.50 mm^3 (0.13% more). The reference.stl is OpenCASCADE's, so the surface comparison is left out",
"compare": [
"body_count",
"volume_mm3",
"area_mm2",
"center_of_mass",
"bbox",
"faces"
]
}