algorithmic modeling for Rhino

I am excited to release the latest build of Firefly (ver. 1.0064).  This release features many new improvements to the Firefly toolset.  Most notably, there is now support for controlling stepper motors through the Firefly/Grasshopper interface.  The new Quad Stepper Motor component formats the necessary data to control up to 4 stepper motors, and the Convert Degrees To Steps utility component will translate angle position into the necessary steps to move the motor.  These components are a compliment to the new Firefly_QuadStepper_Firmata.ino Arduino sketch which can control speed, acceleration/decceleration, calibration setpoints, and position of up to 4 motors using the AccelStepper library (available from:, although the library is also included in the download).

In addition, the Pachube Read component has been completely re-written to have dynamic outputs depending on the type of feed you are using (JSON, XML, and CSV)... That's right, the component also now accepts JSON feeds as well (a big upgrade from the last version).  The Code Generator has seen a few minor improvements to be compatible with the recently release Arduino 1.0 IDE (which now has a new file extension for all file types (.ino)).  Lastly, all of the example files have been updated to work with Grasshopper 0.8.0063.

To download the latest build, visit:

Views: 1719


You need to be a member of Grasshopper to add comments!

Join Grasshopper

Comment by thebaldearchitecture on March 2, 2012 at 11:01am

Hi Boys!

Please help me.

This is a problem:
How to reset the switch in the Grasshopper?

because the LEDs do not get off.

thanks: BLA

Comment by Oliver Sjöberg on January 23, 2012 at 8:51am

And btw, you should have a great thank you for providing such a flexible tool for Ardurino. It makes coding for Ardurino a child's play!

Comment by Oliver Sjöberg on January 23, 2012 at 8:49am

That would be great. Stand-alone OSC Ardurino isn't anything you code straight out of the box. Have given it a bit of effort but it's way beyond my level of competes. Though I've found some interesting sources for making it a reality. You might want to look in to one of them

Comment by Andy Payne on January 23, 2012 at 8:45am

Hi Oliver,

No, the code generator does not have a function yet for the OSC sender or receiver.  These are a bit more complex functions, so they are a little more tricky to try to implement as functions to reference in the library... however, I can try to implement a function for this purpose in the future.



Comment by Oliver Sjöberg on January 23, 2012 at 8:39am

Does the codegenerator work with the OSC library? Will it be able to work stand-alone with an ethernetshield?

Comment by Philipp on January 21, 2012 at 7:59am

I cant say I really good with all this stuff,

but generally yeah, I ment to do it pretty similar to xml.

but maybe I am just missimg something, I just want to make connection to any json_based API esier...

Comment by Andy Payne on January 21, 2012 at 7:47am

Hey Phillip,

You shouldn't be able to use the Pachube Read component for non-pachube JSON files... mainly because you have to use your API key as an input to download the JSON file.  However, I've already got the JSON parser working, so I could create a JSON search component similar to the XML search component.  Or did you have a different idea?

Comment by Philipp on January 21, 2012 at 7:44am

am I thinking right that now we can use this also for other Json requests, or not?

can you (if I am mistaken) give us custom Json request component in the future?





  • Add Photos
  • View All


  • Add Videos
  • View All

© 2018   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service