HyperWorks Solvers

Ptdcv

Ptdcv

Previous topic Next topic No expanding text in this topic  

Ptdcv

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Model Element

Class Name

Ptdcv

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

Name

Property

Modifiable by command?

id    

Int ()

 

label

Str ()

i

Reference ("Marker")

dcurve

Reference ("DeformableCurve")

active

Bool ()

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.

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

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 the Comments in the XML syntax section.

Example

1.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”)