Cvcv
Model ElementCvcv defines higher pair constraint.
Class Name
Cvcv
Description
The constraint consists of a 3D curve fixed on one body rolling and sliding on a 3D curve fixed on a second body. The curves are required to have a unique point of contact and a common tangent at that point of contact. Moreover the curves are required to be co-planar, i.e. they must exist in parallel planes.
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | ||
label | Str () | ||
icurve | Reference ("Curve") | Yes | |
irm | Reference ("Marker") | Yes | |
idisp | Double ([0,0,0], count=3) | FD Only | |
ivel | Double () | FD Only | |
jcurve | Reference ("Curve") | Yes | |
jrm | Reference ("Marker") | Yes | |
jdisp | Double ([0,0,0], count=3) | FD Only | |
jvel | Double () | FD Only | |
no_slip | Bool () | ||
active | Bool () | ✓ |
Usage
Cvcv (icurve=objCurve, irm=objMarker, jcurve=objCurve, jrm=objMarker, optional_attributes)
Attributes
- icurve
- Reference to an existing Curve object
- irm
- Reference to an existing Marker object
- jcurve
- Reference to an existing Marker object
- jrm
- Reference to an existing Marker object
- id
- Integer
- label
- String
- idisp
- List of 3 doubles
- ivel
- Double
- jdisp
- List of 3 doubles
- jvel
- Double
- no_slip
- Indicates if slipping is allowed along the curve
- active
- Bool
Example
- A CVCV defined with a minimal amount of
input.
m1 = Marker (label="m1", body=p1, qp=[1.414, 3.142, +1.618], zp=[1.327, 3.142, 2.545]) m2 = Marker (label="m2", body=p2, qp=[5.577, 3.142, -8.531], zp=[2.828, 6.284, 3.236]) c1 = Curve (closed=True, curve_points=True, matrix=mat1) c2 = Curve (closed=True, curve_points=True, matrix=mat2) cvcv = Cvcv (icurve=c1, irm=m1, jcurve=c2, jrm=m2)
- A CVCV with an initial contact point
defined.
m1 = Marker (label="m1", body=p1, qp=[1.414, 3.142, +1.618], zp=[1.327, 3.142, 2.545],rm=0) m2 = Marker (label="m2", body=p2, qp=[5.577, 3.142, -8.531], zp=[2.828, 6.284, 3.236],rm=0) c1 = Curve (closed=True, curve_points=True, matrix=mat1) c2 = Curve (closed=True, curve_points=True, matrix=mat2) cp1 = Point (11.13, -8.45, 6.67) cp2 = Point (7.97, 3.92, -10.80) cvcv = Cvcv (icurve=c1, irm=m1, idisp=cp1, jcurve=c2, jrm=m2, jdisp=cp2)
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 CVCV, see Constraint: CVCV