×

Algoryx's video: Bowl feeder simulation - How to make it vibrate

@Bowl feeder simulation - How to make it vibrate
``` # Script version 2024.1 from Momentum import v1 import math # # # # # # Input Parameters # # # # # amplitudeVertical = 0.0001 amplitudeAngle = 0.1 frequency = 100 # # # # # # # # # # # # # # # # # # # # # sim = v1.getSimulation() vibrationJoint = sim.getCylindricalJoint("Cylindrical1") vibrationJoint.getScrew1D().setEnable(True) vibrationJoint.getScrew1D().setLead(amplitudeVertical / (amplitudeAngle / 360)) # Linear distance (m) per angle (degrees). vibrationJoint.getLinearSpring().setEnabled(True) vibrationJoint.getLinearSpring().setDamping(1e-1) vibrationJoint.getLinearSpring().setElasticity(1e10) def OnStep(time): verticalPosition = amplitudeVertical * math.sin( 2 * math.pi * frequency * time ) vibrationJoint.getLinearSpring().setTargetPosition(verticalPosition) ```

10

2
Algoryx
Subscribers
6.9K
Total Post
213
Total Views
71.3K
Avg. Views
1K
View Profile
This video was published on 2024-04-03 21:09:37 GMT by @Algoryx on Youtube. Algoryx has total 6.9K subscribers on Youtube and has a total of 213 video.This video has received 10 Likes which are lower than the average likes that Algoryx gets . @Algoryx receives an average views of 1K per video on Youtube.This video has received 2 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 # # # # # # # # # # # # #m amplitudeAngle #Degrees frequency #Hz # # # # # # # # # # # # # # # # # # # # # sim # has been used frequently in this Post.

Other post by @Algoryx