Grasshopper

algorithmic modeling for Rhino

Hey guys, 

I'm studying GH about a month from now, and I've started to work on a frit glass pannel for a project, but I got a problem making the holes on the surface. After read some threads about it, i've found that GH surface split component works very slowly, and it's not the best option when you're working with complex geometry. I've  also read that there's a possibility of making the holes on surface using scripts (python specifically), but I know nothing about how to make the code and haven't found anything that would work for my case.

I have a total of 35000 squared holes to cut the a planar surface, I've tried to use surface split and give up after waiting for about 3 hours, I think GH itself crashed and wouldn't give me the result, no matter how long i'd wait, using this method.

I've also tried to extrude the holes and use solid difference component, waited a few hours: nothing

Sorry for bad english

Thanks in advance

Views: 1217

Attachments:

Replies to This Discussion

You approach the problem the totally wrong way.

See attached that is "close" to your goal (but not 100%) - was already available around for other purposes. If you want to perforate something (and get one piece) the logic needs some mods here and there.

Note: Use it only for fun. Since it uses solely code IS NOT suitable for you ... but maybe I'll translate it using native components if I can find some time.

Attachments:

Thank you for your reply Peter, I'm going to study the logic used on this file, it seems that this is the fastest way of making what I need. It is way more complicated for a newbie tho. 

since both of your surfaces are flat i would do it this way, still lasting long my machine about 5 minutes

peters solution probably a few seconds, but till that you could use this one I think. Also maybe faster making one panel and orienting it, dont know.

Attachments:

Thank you man, as you said, Peter's solution works better, but yours' is something that I can work for now, and it's not so slow . I'm just having some problems baking the geometry, when I bake the boundary component, it doesn't came up with the holes, do you know why does that happen?

Also, I tried to use offset instead scale, so I could get the same dimensions of the edges, but some of them goes inside and others outside the panel, I read that this happens because my surfaces are not orienting the same side, I've tried to use Flip Curve component, guiding them from a plane. It worked in some pannels, but not all of them. The surfaces are messed up because of the way that I divided them?

Attachments:

BTW: Get this as well that works either with grids (if you provide a plane List) or surfaces (if you provide a surface List) ... or does a demo depending on your choice if you don't provide anything.

But since you are a novice (and not familiar with code) use this just as a toy for fun.

Attachments:

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