SPConstraint
SPConstraint
Bases: ABC
Extension contract for a single-point solver constraint.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
node_tag
|
int
|
Solver node tag, not a PyVista point index. |
required |
dofs
|
list[int]
|
Concrete constraint's fixity/DOF data. |
required |
The base stores references without validating solver nodes. Register a
concrete constraint through model.constraint.sp to obtain model ownership.
Methods:
| Name | Description |
|---|---|
to_tcl |
Render the concrete SP command without executing it. |