×

Algoryx's video: 16 - Screw Mechanism

@16 - Screw Mechanism
Download model: https://www.algoryx.se/download/momentum/tutorials/tutorial16.zip https://www.ansys.com https://www.algoryx.se Script: " # Disclaimer: This script has not been tested. Use at your own risk. from Momentum import v1 import math sim = v1.getSimulation() # Input parameters: lead = 0.001 nameOfJoint = 'Cylindrical1' # Hint: Enable the Cylindrical Joint's Linear Spring and # Angular Motor through the Properties panel. # # # # # # # # # # # # # # # # # # # # # # # # # # joint = sim.getJoint(nameOfJoint).asCylindricalJoint() def OnStep(time): joint.getLinearSpring().setTargetPosition( linPos( joint.getAngle())) force = joint.getLinearSpring().getCurrentForce() joint.getAngularMotor().setTorqueLimit( reacTorque( force)) def linPos(angle): pos = lead * angle / (2 * math.pi) return pos def reacTorque(force): torque = -force * lead / (2 * math.pi) return torque, torque "

6

0
Algoryx
Subscribers
6.9K
Total Post
213
Total Views
65.2K
Avg. Views
0.9K
View Profile
This video was published on 2019-01-18 21:18:17 GMT by @Algoryx on Youtube. Algoryx has total 6.9K subscribers on Youtube and has a total of 213 video.This video has received 6 Likes which are lower than the average likes that Algoryx gets . @Algoryx receives an average views of 0.9K per video on Youtube.This video has received 0 comments which are lower than the average comments that Algoryx gets . Overall the views for this video was lower than the average for the profile.Algoryx # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # joint has been used frequently in this Post.

Other post by @Algoryx