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 () Yes  
i Reference ("Marker") Yes Yes
dcurve Reference ("DeformableCurve") Yes  
active Bool () Yes  

Usage

Ptdcv (i=objMarker, dcurve=objDcurve, optional_attributes)

Attributes

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.
  • True indicates that the element is active in the model and it affects the behavior of the system.
  • False indicates that the element is inactive in the model and it does not affect the behavior of the system. It is almost as if the entity was removed from the model, of course with the exception that can be turned "ON" when desirable.
The attribute active is optional. When not specified, active defaults to True.

Example

Create a PTDCV.
# 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

  1. See Properties for an explanation about what properties are, why they are used, and how you can extend these.
  2. For a more detailed explanation about PTDCV, see Constraint: PTdCV.