Inverse Kinematics

Inverse Kinematics

sushel934
Community Visitor Community Visitor
559 Views
1 Reply
Message 1 of 2

Inverse Kinematics

sushel934
Community Visitor
Community Visitor

I am currently working on the inverse kinematics of the robot that I might build. I am trying the simulate the model with kinematics. 

In short, I need to know how do the control the input angle of the already created Revolute Joint using a External script or add-on file. 

 

Regards,

Sushel

 

560 Views
1 Reply
Reply (1)
Message 2 of 2

BrianEkins
Mentor
Mentor

Here's the code to modify the angle of a revolute joint.

jnt = ui.activeSelections[0].entity 
rev = jnt.jointMotion 
rev.rotationValue = math.pi * .25 

 

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes