Jprim
Model ElementJprim is used to remove degrees of freedom between two bodies by specifying conditions in which the relative translational or rotational motion can occur. Jprim differs from JOINT in that the former specifies mathematical constraints, which may not have concrete physical realizations like the latter.
Class Name
Jprim
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | ||
label | Str () | Yes | |
i | Reference (Marker) | Yes | Yes |
j | Reference (Marker) | Yes | Yes |
type | Enum (Type, default="ATPOINT", required=True) | ||
active | Bool () | Yes |
*Type = ("ATPOINT","INLINE","INPLANE","ORIENTATION","PARALLEL_AXES","PERPENDICULAR")
Usage
Jprim (i=objmarker, j= objmarker, type=string, optional_attributes)
Attributes
- i
- Reference to an existing marker
- j
- Reference to an existing marker
- type
- String
- id
- Integer
- label
- String
- active
- Boolean
Example
imark = Marker (body=p3, qp=[21,31,0], label="Marker-30102021")
jmark = Marker (body=p4, qp=[10,20,0], label="Marker-30103020")
inplane_jprim = Jprim (type="INPLANE", i=imark, j=jmark)
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 Jprim, see Constraint: Jprim.