feat(properties): fill spline Fit Tolerance + tangent rows from acadrust
The Fit Tolerance and Start/End Tangent X/Y/Z rows were placeholders while the pinned acadrust lacked those fields. Now that the bump exposes Spline::fit_tolerance / begin_tangent / end_tangent, populate them. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
147255aa40
commit
1043a3d561
1 changed files with 7 additions and 7 deletions
|
|
@ -183,13 +183,13 @@ fn properties(spline: &Spline) -> Vec<PropSection> {
|
||||||
"fit_pt_z",
|
"fit_pt_z",
|
||||||
format!("{:.4}", fp0.map(|p| p.z).unwrap_or(0.0)),
|
format!("{:.4}", fp0.map(|p| p.z).unwrap_or(0.0)),
|
||||||
),
|
),
|
||||||
ro("Fit Tolerance", "fit_tolerance", String::new()),
|
ro("Fit Tolerance", "fit_tolerance", format!("{:.6}", spline.fit_tolerance)),
|
||||||
ro("Start Tangent X", "start_tan_x", String::new()),
|
ro("Start Tangent X", "start_tan_x", format!("{:.4}", spline.begin_tangent.x)),
|
||||||
ro("Start Tangent Y", "start_tan_y", String::new()),
|
ro("Start Tangent Y", "start_tan_y", format!("{:.4}", spline.begin_tangent.y)),
|
||||||
ro("Start Tangent Z", "start_tan_z", String::new()),
|
ro("Start Tangent Z", "start_tan_z", format!("{:.4}", spline.begin_tangent.z)),
|
||||||
ro("End Tangent X", "end_tan_x", String::new()),
|
ro("End Tangent X", "end_tan_x", format!("{:.4}", spline.end_tangent.x)),
|
||||||
ro("End Tangent Y", "end_tan_y", String::new()),
|
ro("End Tangent Y", "end_tan_y", format!("{:.4}", spline.end_tangent.y)),
|
||||||
ro("End Tangent Z", "end_tan_z", String::new()),
|
ro("End Tangent Z", "end_tan_z", format!("{:.4}", spline.end_tangent.z)),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
PropSection {
|
PropSection {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue