Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Arduino & I/O Boards
Audio
Networking
Utility
Vision

Convert an angle value in degrees to the appropriate amount of steps to move a Stepper Motor.

Inputs

NameIDDescriptionType
DegreesDDegrees to convert into stepsNumber
Steps Per RevolutionSEach stepper motor is rated by the number of steps it takes to make one full revolution. A 200 step motor, for example, would take 200 steps to rotate one full turn, or roughly 1.8deg per step.Integer
Number of MicrostepsMMany stepper drivers use microstepping, which breaks down the minimum step into smaller micro steps. Most drivers default to 8 microsteps. Thus to move a 200 step motor one full revolution you would need to move 1600 microsteps. This input allows you to set how many microsteps your driver will use. Note: This input will only allow microsteps of 1, 2, 4, or 8.Integer

Outputs

NameIDDescriptionType
Steps to MoveSThe converted number of steps to move the motor.Integer

Video Tutorials

Site design © Robin Rodricks.   Firefly and associated data © 2023 Andrew Payne (LIFT architects).  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service