Grasshopper

algorithmic modeling for Rhino

Hi,

 

I am new to grasshopper. I am trying to make a component to populate a surface, and I have looked at several tutorials which show how to subdivide a surface and add your own geometry to it. My definition works when I have a low numbe rof definitions, but when I try to increase it, say to 100, the file keeps crashing. Is there anything I can do about this? I'm sure there is a more efficient way to do what I've done, I'm just not sure how!

 

Cheers

Views: 3377

Attachments:

Replies to This Discussion

Hi John,

 

the file as you posted requires 1.1GB of memory. At some point you'll simply run out of memory (especially on 32 bit systems) and it will crash.

 

Your final object creates 40,000 breps. I think this is a mistake, but I'm not sure exactly what you are trying to accomplish. Your input slider are set to 10 and 20, which multiplied together gives 200. 200 times 200 equals 40,000 which is what you end up with. Call me suspicious but I think somewhere you are combining too many pieces of data.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks for the reply David, do you have any idea where the replication of breps may have occure? I've had a look but I can't locate anything. I made the shapes from points made from dividing the surface...and how can you telll how many objects you are creating?

The tooltip will tell me how many objects there are in any given parameter.

 

 

You can also use the Param Viewer or a Text Panel to examine the data layout of any parameter.

 

The duplication is most likely due to a mismatch in data layout. Say, you're using a component and you're feeding it one data layout which contains 200 lists of one item each and another data layout which contains a single list of 200 items. Grasshopper will interpret this in such a way that it will end up with 40,000 items (200 lists with 200 items each). You need to either flatten one data structure or graft the other so that they become analogous.

 

In fact that final extrusion component seems to be the problem. Into [B] you're plugging 200 lists of 8 items each and into [D] you're plugging a single list of 200 items. If you Graft the [D] input, you might get what you've been looking for.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

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