Grasshopper

algorithmic modeling for Rhino

Hi, 

I'm trying to use a bunch of data I'm receiving from a few accelerometers so I'm using firefly's generic serial read component to retrieve the x, y, and z data from the sensors. Unfortunately, I've come into a roadblock- I can't figure out how to remap the data so I have a list with 47 branches from the 1 item I get out of the serial read component. 

Any thoughts?

thanks

Views: 429

Attachments:

Replies to This Discussion

Hi Tommy

it looks like the string is separated by Carriage Returns*. Try using [Text Split] with a panel containing a carriage return. And then use [Cull Nth] to get the required data

*Carriage Return, Enter, Return, New Paragraph

EDIT: and then use Graft on the output of [Cull Nth] to get each one in a separate branch

Thank you so much!

Worked perfectly and I have been staring blankly at my screen wondering what to do for too long..

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2026   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service