Files
solidcraft/crates
Brett LawsonandClaude Opus 5.5 eca7aec7ff smlib tests: SMLib now drafts a cylinder side and offsets a closed sheet (develop's SMLib 90aabff, fixes #27 and #17)
The C++ kernel at develop's pin (9d0fb564) builds both cases that expected a refusal;
each now expects its closed form:

- offset_sheet_a_solid (tangency-labs/smlib#17): the 30 x 20 x 10 block, every face
  moved out d = 1, convex edges extended: (a + 2d)(b + 2d)(c + 2d) = 32 * 22 * 12 = 8448,
  bounds (-1, -1, -1) to (31, 21, 11), six planes.
- draft_a_curved_face (tangency-labs/smlib#27): the cylinder R = 5, h = 10 drafted
  0.1 rad about its base, leaning in, is the frustum of radii R and r = R - h tan 0.1:
  V = pi h (R^2 + R r + r^2) / 3 = 638.3350153968712 (a cone and two planes).

C++ meets both within the file's 1e-9 relative. The solidcore side of each is ignored:
core/offset.rs still makes the old capi's refusals (a closed solid in offset_sheet,
planes only in draft). With the offset_sheet refusal dropped, solidcore gives the
block exactly; solidcore has Cone::lean_cylinder (solidcore#1545) for the draft.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MNXLXkZLQ6T7TSi4wswcmk
2026-10-30 02:26:23 +01:00
..