Grasshopper

algorithmic modeling for Rhino

Hi all,

I am sure my problem is super easy to solve but I can't seem to figure it out.

I have a number of Breps which edges need to be modified by a random number of Breps.

I managed to make it work on a single Brep but when I try to apply the same logic to many I get wrong results.

Grafting/Flattening the various components didn't seem to work.

All the "Colliders"(Red) need to be "SDiff" by their relative "Obstacles" (Purple and Blu).

Here attached are the files needed to understand the issue.

Views: 872

Attachments:

Replies to This Discussion

Hi.

This should work.

Attachments:

Kim,

it appears to be working.

Let me test it out a bit with more Breps with different configurations.

I would have never be able to figure it out. 

Many thanks for your help and prompt response. (My headache is now gone!)

Kim,

while I am at it I would like to ask you if you have any advise on how to make this definition faster.

Once I have 10-15 breps it gets quite slow.

I have tried to use meshes instead, and it is definitely faster but some of them will not computer correctly. it is quite unstable.

Do you have Any enlightening clues for me?

Thanks in advance.

Kim,

I have been playing with your improved definition for a while and although it appears to work it is not quite there yet. 

I just noticed that after the COlOM computation the SDiff still booleans all elements with all elements rather than just one element with its colliding ones. 

Do you have any idea on how to create a branch that contains only the elements which collide with the member? See attached screenshot..

Attachments:

Think it's a little annoying, but this way might be better.

File...

Attachments:

Dear Kim,

thanks for the prompt response.

Unfortunately the number of the colliding objects changes dramatically all the times.

We need to figure out a way to keep that as a variable as well as the obstacles.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service