mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-06 20:02:16 +00:00
kernel: sew assembles a schema 4 record and SMLib builds the body
The faces' descriptions become a record with exactly the topology they give: vertices and edges shared by key (lines, circles or flat arcs as their exact rational quadratic, Bezier chains as B-splines), planes about the boundary's mean, revolved lines as cylinders, cones or planes, extruded arcs as cylinders, ruled walls as B-splines with exact iso-line pcurves. assemble() groups faces into shells, puts closed shells in regions (a cavity where the outward normals enclose negative volume, in the solid whose winding number about it is one), orders everything canonically and validates it. SMLib imports the record as trusted; the body and the face each body face came from follow SMLib's order. The edge-sheet and vertex-fan logic for touching bodies is kept. (not built: base in progress) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017itGh5fpMEousnZ91cYcVt
This commit is contained in:
+811
-344
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user