mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-27 20:36:48 -06:00
SPLINE Close now builds a smooth closed (periodic) curve through the fit points instead of repeating the first point. The geometry gets Spline::from_fit_points_closed: chord-length parameters including the closing chord, a periodic knot vector, and the first three control points repeated at the end. The fit data no longer duplicates the first point. DXF writes group 70 bit 2 (periodic) for it, and a file whose closed spline needs refitting is refitted closed. SPLINEDIT Close/refit/move and fit-point grips keep a closed spline periodic. SPLINE Method asks Fit/CV, and CV continues as SPLINE by control vertices. Knots, Object, start/end Tangency and toLerance report "not available yet" and stay at the prompt. Garbage text reports "Point or option keyword required.". POLYGON with a typed radius puts the bottom edge horizontal for Inscribed and for Circumscribed. The JSON form uses the same orientation when no angle is given. CIRCLE reports "Point or option keyword required." for an invalid token at the centre prompt, and "Invalid point." at the 3P/2P point prompts, then asks again. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>