Ptcv

Model ElementPtcv defines a higher pair constraint. A fixed point on one body slides on a curve that is fixed on a second body. The point is not allowed to lift off the curve.

Class Name

Ptcv

Attribute Summary

Name Property Modifiable by command? Designable?
id Int ()    
label Str () Yes  
i Reference ("Marker") Yes Yes
curve Reference ("Curve") Yes Yes
rm Reference ("Marker") Yes Yes
disp Double ([0,0,0], count=3)   FD Only
vel Double ()   FD Only
active Bool () Yes  

Usage

Ptcv (i=objMarker, CURVE=objCurve, RM=objMarker, optional_attributes):

Attributes

i
Reference to an existing Marker.
Specifies a fixed marker that defines the connection on the first body. The origin of this marker defines the point that is required to slide on the curve. The body containing this marker may be a rigid body, a flexible body, or a point body.
The attribute is mandatory.
curve
Reference to an existing Curve.
Specifies the curve fixed to the second body on which the I Marker slides.
The attribute is mandatory.
rm
Specifies a fixed marker that defines the coordinate system in which the curve points are defined. The curve is defined on the body containing this marker and moves with this body. The body containing the curve must be a rigid body or a point body.
The attribute is mandatory.
id
Integer
Specifies the element identification number. This number must be unique among all the Ptcv 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 Ptcv object.
This attribute is optional. When not specified, MotionSolve will create a label for you.
disp
List of three Doubles.
Defines a guess for the initial contact point on the curve. The coordinates are measured with respect to the global origin and are defined in the global coordinate system.
This attribute is optional.
vel
Double
Defines the initial sliding velocity of the origin of I with respect to RM along the tangent at the contact point, as measured by an observer on the curve, placed at the contact point.
This attribute is optional.
active
Bool
Select 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 PTCV.
myptcv = ptcv (label="myptcv", i=mark21, curve=curve, rm=mark11,disp=[263.2, 1342.7, 2343.02], vel=50.23)

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 Ptcv, see Constraint: PTCV .