mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-08 21:11:56 +00:00
88d7f03e72
create_curve_sweep_from_faces sweeps only the faces' edge curves, so a box face swept along a line with default options (bCapEndsArg false upstream) is the open 4-face tube of volume 0, as the C++ reference gives. Document that cap_ends is needed for the 6-face prism. Add sweep.api_brep fixture op from_box_face (shim op 12): one face of an SmApiCreateBox B-rep through SmApiCreateCurveSweepFromFaces, compared by counts, face lists and SmApiBrepComputeVolume. 22 fixture cases (every face, NULL/uncapped/capped options, oblique and curved paths, translational, tiny offset box) agree with C++ exactly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MNXLXj2sJf943y2dDF36Vy