HyperWorks Solvers

Jprim

Jprim

Previous topic Next topic No expanding text in this topic  

Jprim

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

Model Element

Class Name

Jprim

Description

Jprim 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.

Attribute Summary

Name

Property

Modifiable by command?

id    

Int ()

 

label

Str ()

i

Reference (Marker)

j

Reference (Marker)

type

Enum (Type, default="ATPOINT", required=True)

 

active

Bool ()

 

*Type = ("ATPOINT","INLINE","INPLANE","ORIENTATION","PARALLEL_AXES","PERPENDICULAR")

Usage

Jprim (i=objmarker, j= objmarker, type=string, optional_attributes)

Attribute Description

i

Reference to an existing Marker

Specifies a Marker that defines the connection on the first body.  The body may be a rigid body, a flexible body, or a point body.

The attribute is mandatory.

j

Reference to an existing Marker

Specifies a reference marker that defines the connection on the second body.  The body may be a rigid body, a flexible body, or a point body.

The attribute is mandatory.

type

 

String

Specifies the type of constraint connection between the i and j markers.

Type must be one of the following:

"ATPOINT"
"INLINE"
"INPLANE"
"ORIENTATION"
"PARALLEL_AXES"
"PERPENDICULAR"

The attribute is mandatory.

id

Integer

Specifies the element identification number.  This number must be unique among all the JPRIM objects in the model.

This attribute is optional. MotionSolve will automatically create an ID when one is not specified.

Range of values: id >

label

String

Specifies the name of the JPRIM 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 Jprim, see the Comments in the XML syntax section.

Example

1.Creating an "INPLANE" Jprim.

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)