5c39e82ae8
Regenerate docs/api and the skill pack mirror after the dataclass-field extraction enhancement and the new connector/constraint docstrings. New pages: GeometryRef, Connector, ConnectorRef, Constraint, ConstraintReport, ConstraintResidual, ScalarLimit, make_face/edge/vertex_connector, add_fixed/revolute/prismatic_constraint, solve/measure/inspect, ground/ unground, make_connector_ref, make_scalar_limit. All dataclass docs now show full constructor signatures; solve_assembly_constraints documents the limit-aware solving behavior.
659 B
659 B
BSplineFitResult
Class Definition
class BSplineFitResult(degree: int, control_points: Tuple[PointTuple, ...], knots: Tuple[float, ...], sample_parameters: Tuple[float, ...], max_error: float, rms_error: float, tolerance: float, fairing: float, iterations: int, converged: bool)
Source: math.py
Import Surface
- top-level:
from simplecadapi import BSplineFitResult
Description
Result from fitting a cubic B-spline to sampled curve points.
The result stores a complete, normalized B-spline definition suitable for passing into the exact B-spline edge/wire APIs: cubic degree, control points, and a full clamped knot vector.