Grasshopper

algorithmic modeling for Rhino

Help!!! How to join 2 clouds of Points into one single cloud???

i'm using Populate 3D to generate Point Cloud.

But i need two different kinds of density. 

So i used two "Pop3D".  But how can I join them into one Cloud and use it for "Voronoi3D"?????

Thank you so much!!!!

Views: 3470

Replies to This Discussion

Did you try to connect both pointclouds to the same input? This is the normal GH way to join data from different sources.

Thank you for your Reply!

i found out the "Set Union" . It really works!

Please clarify your intention and the way your two point clouds are created. SetUnion combines both input lists and removes duplicates. You probably don't need that.

a) If both Pop3D have the same seed value but different counts, the list with the smaller count is juzst a subset of the longer list. All you need to connect to Voronoi is the larger list.

b) If both Pop3D have different seeds, both sets have a high probability to be completely disjoint. Using SetUnion will be overkill, because there probably are no duplicate points. SetUnion will return the same set as both lists simply combined by connecting both sources to the same target. If there are duplicate points, Voronoi will ignore them anyway.

(If you don't know how to connect two different sources to the same target, I highly reccommend you to read up on some tutorials on how the Grasshopper GUI works.)

Thanks! I'm new here.

That's what i'm doing. To get a 3D Voronoi with 3 kinds of Point Cloud. the Density is changing.

"Set Union" really works. 

But can you tell me some Better way to do this. Do you mean that "Set Union" will get a lot of duplicated Points and then slow down the computing?

Sure, Set Union will work, but as I wrote earlier it is totally unneccessary. It will check for duplicates where there are none and even if there were, the would be no problem for the Voronoi component. This check will take up time and ressources.

I see I forgot to add the picture I made to show you how the connection would look like:

If you don't know how to add multiple wires to an input, please refer to the Grasshopper Primer Page 21. (and probably you should work through the rest. But keep in mind that version 0.6. is pretty outdated by now and some things will have changed.)

Wow!!! I forget it. Really thanks! I need to learn more tricks!!

I mean, the density of my 3D Voronoi is changing with different hight.

Like the Cells of organism. The Size and Density are not all ways the same.

Am I doing it in the right way?

he is saying you can plug multiple wires into an input. For example you can just plug all the outputs of pop3d into the voronoi with shift+left click on mouse. In this case I just use multiple breps in one brep component followed by using multiple sliders as the n input for pop  3d (same amount of sliders as breps.

Attachments:

Great help! That's what i want!

I found out that you're very good at GH. Would you help me one more Question?

1. Goal: to build a 3D Voronoi Skeleton within a skyscraper volume.

2. Try:

            step 1) build the facade skeleton with the outlines intersected from Voronoi cells and the skin of skyscraper. then use a some borrowed GH-sets to loft those outlines.

            step 2)  use some other borrowed GH-sets to loft the whole 3D Voronoi Skeleton. Then bake them.  and then use "mesh boolean" in Rhino, to get the inner 3D Skeleton for the Skyscraper.

            step 3)  combine them, it's not perfect, but not too bad.

 

This is the result.

Problem: When I try to make the Point cloud more denser, the  "mesh boolean" allways failed out. Because those Skeleton-meshs are too komplicated to split.

So is it possible to get the 3D Voronoi Skeleton just in once? To combine the inner 3D Voronoi  and the facade-intersection?

            

file here

Attachments:

modell

Attachments:

Hi, i revise your GH. I got some ramdom points in rhino. and i apply this points into the voronoi system. But i got a problem that the the surface of the 3D voronoi on the boundary is not closed.

In the gh, the component VOLUME is orange, it says "Brep is not closed, volume results are not to be trusted. "

I don't know what wrong with it.

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