Model Element |
|||||||||||||||||||
Class NamePtdcv Description |
|||||||||||||||||||
Ptdcv defines a constraint of a point to a deformed curve. 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
Usage |
|||||||||||||||||||
Ptdcv (i=objMarker, dcurve=objDcurve, optional_attributes) |
|||||||||||||||||||
Attribute Description |
|||||||||||||||||||
i |
Reference to an existing Marker Defines the marker whose origin is the point. The attribute i is mandatory. |
||||||||||||||||||
dcurve |
Reference to an existing deformable curve Defines the deformed curve to be used in this constraint The attribute dcurve is mandatory. |
||||||||||||||||||
id |
Integer Specifies the element identification number. This number must be unique among all the Ptdcv objects in the model. This attribute is optional. MotionSolve will automatically create an ID when one is not specified. Range of values: id > 0 |
||||||||||||||||||
label |
String Specifies the name of the Ptdcv object. This attribute is optional. When not specified, MotionSolve will create a label for you. |
||||||||||||||||||
active |
Bool Select one from True or False.
The attribute active is optional. When not specified, active defaults to True |
||||||||||||||||||
Comments
|
|||||||||||||||||||
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”) |