Ptdcv
Model ElementPtdcv defines a constraint of a point to a deformed curve.
Class Name
Ptdcv
Description
The point can only move by sliding along the deformable curve. The curve can deform because of the loads acting on it. This is an instance of a higher pair constraint.
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | ||
label | Str () | ✓ | |
i | Reference ("Marker") | ✓ | ✓ |
dcurve | Reference ("DeformableCurve") | ✓ | |
active | Bool () | ✓ |
Usage
Ptdcv (i=objMarker, dcurve=objDcurve, optional_attributes)
Attributes
- i
- Reference to an existing Marker.
- dcurve
- Reference to an existing deformable curve.
- id
- Integer
- label
- String
- active
- Bool
Example
# Create the I-marker
iMark = Marker (body=p2, qp=[1,2,3], zp=[4,5,6],label="iMark")
# Create the deformable curve
dCurve = DeformableCurve (markers=[m1, m2, m3, m4, m5, m6, m7, m8], label="dCurve")
# Now define the Point-to-Deformable curve constraint
thePtdcv = Ptdcv (i=iMark, dcurve=dCurve, label="thePtdcv")
Comments
- See Properties for an explanation about what properties are, why they are used, and how you can extend these.
- For a more detailed explanation about PTDCV, see Constraint: PTdCV.