Files
make-cad/docs/api/GeometryRef.md
T
NiJingzhe ef71c92b27 Regenerate API docs for assembly constraint surface
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.
2026-06-26 17:39:23 +08:00

558 B

GeometryRef

Class Definition

class GeometryRef(kind: str, source_node_id: Optional[str], geo_selector: Dict[str, Any], flip: bool = False)

Source: product.py

Import Surface

  • top-level: from simplecadapi import GeometryRef

Description

Serializable reference to a sub-shape selected via QL.

Wraps the geo_selector fingerprint + source graph node id so the exact sub-element (Face/Edge/Vertex) can be re-resolved at translation time or during constraint solving. When flip is True, the derived placement Z axis is negated.