Grasshopper

algorithmic modeling for Rhino

I wanted to see the way components from the Sets->Sets tool bar work.
And got confused by particular issue:

I made two lists of numbers by simply using the Panels and after typing the numbers in them, unchecking the "Multiline" data. And Union, Intersection and Difference components worked great.

But when I did the same thing, just instead of these two input panels I deleted the first one and made a new one with Series component, then for some reason, I could not get a correct results.

Take a look:


What is the reason for this?

I am still using 0.8.0066 version of grasshopper. Maybe this is an old bug, or maybe I am doing something wrong.

Thank you for the reply.

Views: 242

Attachments:

Replies to This Discussion

I suspect that this is an issue with data types. The set components are meant to work with multiple data types, so they don't always know which type you had in mind. A set comparison between a set of strings and a set of integers will not likely produce the desired results. Try passing your inputs to A and B through "int" params before using the set components - see if that helps. 

You were right. Inserting just one "integer" parameter before inputting the set B Panel data into set components solved the problem.

Thank you for the help Andrew.

RSS

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