You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
angle:number Angle to rotate the shaft by in degrees. Must be a positive integer. To do backwards rotation, set modifier to a negative value.
modifier?:number = 1 Speed modifier which can be used to reverse rotation. Must be an integer within the range of [-2..2]. Values out of this range are ignored and the default of 1 is used.
move(distance, [modifier])
Rotates connected components to move connected piston, pulley or gantry contractions by a set distance.
Parameters
distance:number Distance to move connected piston, pulley or gantry contraptions by. Must be a positive integer. To do backwards movement, set modifier to a negative value.
modifier?:number = 1 Speed modifier which can be used to reverse direction. Must be an integer within the range of [-2..2]. Values out of this range are ignored and the default of 1 is used.
isRunning()
Checks if the sequenced gearshift is currently spinning.
Returns
boolean Whether the sequenced gearshift is currently spinning.