createSphericalJoint

Modeling FunctionDefines a spherical joint between two bodies.

Description

createSphericalJoint creates the I and J marker and returns the joint object created. All properties of a spherical joint are supported by keyword arguments.

Signature

joint = createSphericalJoint(ibody, jbody, location=None, **kwds)

Input Arguments

ibody
The first body on which the joint is created.
jbody
The second body on which the joint is created.
location
The location where the joint is created.
kwds
Keyword arguments that define other properties on the joint.

Return Value

joint
The spherical joint created.

Usage

# Create a spherical Joint at (1,1,1)
part1 = Part(mass=1, ip=[10,10,10], cm=Marker())
part2 = Part(mass=1, ip=[10,10,10], cm=Marker())
joint = createSphericalJoint(
     ibody = part1,   
     jbody = part2,
     location = Point(1,1,1),
     )