Grasshopper

algorithmic modeling for Rhino

Quick explanation of what I'm trying to do:

I have about 160 "sets of points". Each set of point (with a varying amount) has a sphere fit to them, and then a circle is made with a varying radius to the amount of points are in the set. that's all good, i got that. the way I did it was to make a set of operations per point set and then individually select each point set. what it came out looking like is this: (see the image below please).

is there any way to clean this up??? i'm now trying to add a color based on the point count to each circle and i'm having to go back into each of the 166 functions!


Views: 338

Attachments:

Replies to This Discussion

Believe in the Tree!

Don't try and think about selecting each item to manipulate, create an algorithm to perform your desire and then plug in what you need it to be achieved on. The data structure will take care of the rest.

Below I have 4 curves [selected using the multiple curve option on the crv param]
for each curve I extract the Control Points
for Each set of Control Points I create a Fitted Sphere.
etc....


The best thing you can do in this situation is to switch on Fancy wires. [View Menu > Fancy Wires]
this way you will be able to see at a glance whether a stream has single data, multiple data or structured data.

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