Grasshopper

algorithmic modeling for Rhino

Hello,

I'm just starting out with GH--hopefully this is an easy fix! 

I developed a GH definition that divides a surface into two subsurfaces, scaled based on an attractor point, as shown here:

The definition works great on a single surface, but when I apply it to multiple surfaces, weird things happen--not all of the subsurfaces show up, and sometimes multiple subsurfaces are overlaid. Also, instead of each surface creating unique subsurfaces, it seems like the same instance is identically copied to each surface as shown below:

GH file is attached--any ideas what I'm doing wrong?  Thanks!

Views: 480

Attachments:

Replies to This Discussion

Am I not managing data trees properly? Do I need to do a cull? (It's probably obvious I don't know what I'm talking about).

It seems like it's applying every possible solution at every surface.
Jeff,

I took a look at your file. It's really tough to troubleshoot with all the wireless transmitters you have, but it now looks to be working.

I can't explain in detail what exactly is going on (I didn't look at it that closely), other than to say tree data structure is helping you and hurting you.

What I did to fix the file was work backwards. Looking at only the left panel you are trying to create 11 total planar surfaces from edge curves (8 curves per surface). That means you should be generating 11 of each type of curve so that you will have 88 total curves when you attempt to join them.

Tree data was in some cases giving you 121 of each type of curve (lists matching with tree structure...) so I worked backwards from your individual curves to flatten the inputs until ending up with only 11 (the expected number) of each type of curve.

Attachments:
Taz,

I really appreciate your help--after looking at the file, it makes sense. It looks like I just didn't flatten enough data. Everything is working great now, thanks again.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service