Grasshopper

algorithmic modeling for Rhino

Intersection / Boolean polysurfaces in grasshopper

Hello everyone,

I'm struggling with an issue in gh. 

I baked everything to Rhino just to show what I want to get. 

This is a model of a mountain range. I have the Input geometries in gh. 

I wanted to know if there is a way to get the geometries I have in Rhino in the Outup layer, in grasshopper. 

What I've done is to intersect every geometry (meaning mountain) to the rest of the mountains. That gives me the geometries in the layer Output_01.

Then, I've done a second intersection between the first ones, that I've placed in layer Output_02.

The Rhino file Output is what I want to get in Grasshopper. 

Any ideas of how I can do this? 

Thank you!!

Views: 1956

Attachments:

Replies to This Discussion

Thank you Petras for the quick response. But that´s not exactly what I was trying to do. Maybe I explained myself incorrectly, but the idea would be: with the initial geometries (layer Input in the Rhino file) get the Output geometries with Grasshopper. Maybe by doing boolean, or something similar to get the intersection as a geometry. 

Thanks again!

 Sorry it was different post.

You can use Boolean intersection between pairs of elements.

Boolean commands are the same in gh. 

You just have to intersect correct pairs.

You could also intersect one with many, it will produce good result just will be slow

If those pyramids are in order you can intersect two lists, existing one and shifted one.(second image pyramids are ordered from left to right)

Great! Thank you Petras, that works perfectly well!!

I "sorted" the sequence of mountains manually, using a panel list of index values...  The result is a solid "Closed Brep" with a fragmented polysurface bottom that you might want to remove?

Attachments:

Wait, that missed a couple details and if you want to apply the same logic again, best to cluster it!

Here is the content of the 'SolidX' cluster, used twice in series:

Thank you Joseph, the gh file works perfect! I have a question though, what expression did you use for the series count? 

OH!  Did I forget to post the code?  Sorry.  Attached now.  The expression is "x-1".

Attachments:

Thank you Joseph!!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service