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.
529 B
529 B
Constraint
Class Definition
class Constraint(constraint_id: str, constraint_kind: ConstraintKind, connector_a: ConnectorRef, connector_b: ConnectorRef, drive_distance: Optional[float] = None, distance_limit: Optional[ScalarLimit] = None, drive_angle_degrees: Optional[float] = None, angle_limit: Optional[ScalarLimit] = None, name: Optional[str] = None)
Source: product.py
Import Surface
- top-level:
from simplecadapi import Constraint
Description
Connector-to-connector assembly constraint.