Grasshopper

algorithmic modeling for Rhino

Hello everyone,

I have coded Arduino to print out 1,2 or 3 when specific function is called. Then with simple if structure I have coded those numbers to 45,0,-45 degrees respectively in grasshopper. I would like to create poly line using these angles.

Point cloud starts towards y-axis and whenever arduino prints out a number I want grasshopper to rotate a piece of a poly line. So far I have been trying to do this with hoopsnake. The point I got is that I can either rotate the polyline or extend it. If I set steps one at a time(first setting step for HS_Extend then HS_Rotate and changing 1,2,3 data between steps) I seem to get what I need. I would like some help from you guys to set this to an autonomous task.

file: Hoopsnake-ArduinoPolyline.gh

Views: 279

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service