mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-14 04:30:39 +00:00
4b0bf7d178
SMLib's mirror gives every line as a degree-1 B-spline over the line's whole parameter range, with control points 1,234,567 edge lengths out. Past an 810 mm edge those pass the 1e9 the flat arrays take back, so the mirrored copy fails "SMLib: invalid B-rep record: flat arrays" as soon as anything reads it. The export now reads that one form (two control points of one weight, knots at the infinite parameter) as the line between the edge's vertices, with its trims mapped onto it; any other B-spline stays as SMLib holds it. Co-authored-by: bherbruck <brennen.herbruck@gmail.com>