Grasshopper

generative modeling for Rhino

# Tetrahedrons Cloud!

Finally I have completed the cloud!! I am a little bit fool. With the help of some sketches it was not so difficult! :).

I found the movement pattern of my tetrahedrons

Then I found the points inside my surface!

But now I cant create lines between points like in the begining of the process, with the pattern with points 1, 2, 3, 4. What I have to do?

??????????

Bye!!!

Views: 714

Attachments:

### Replies to This Discussion

Haven't checked the file, but my guess is this is probably because you have checked the inclusion with ALL POINTS (the tetrahedron vertices), and there are 'cut' tetrahedrons around the surface edge, right? Try instead what I suggested:

- Creating a 3d pattern with the tetrahedron centers,

- Remove the ones outside the BRep,

- And then, generate the tetrahedrons from these center points.

Am I right?

Hi Jose, I did it but i didnt use the center points to create my tetrahedrons pattern. Anyway I think I have made some progress.

First I did my tetrahedrons inside my cloud, the points and the lines :)

Then I chose points inside my cloud (random) to create a group of scaled tetrahedrons to change the size of the multiple results.

First a doble-sized tetrahedrons and then a triple-sized with another random points

The result:

But now I want to remove the points and lines inside this bigger tetrahedrons, with in(inside) and cull pattern, but I have no results because I have surfaces, I havent a b-rep....my computer goes crazy. I dont know what happens and I dont know if I did the right process...

What I have to do?

I'm still working! :)

The files

Attachments:

Cesar, do you realise how you are trying to do the trim between 111000 elements against 108? The computer going crazy is not surprising, what is surprising is that it actually doesn't blow up!

Also, with the process you are following you end up with cut-off tetrahedrons in the surface edges!

Remember what we discussed about using boolean operations? Think how could you do it without using them. Think about what I told you about just working with the center points, and generating the tetrahedron all the way at the end.

Ok Jose, I will correct the process, too many lines in my cloud... only center points! ok!

Hi Jose, here I am again!

Ok, I will try to explain my steps slowly. I will be waiting here for your corrections, all of them! XD.

First, one question. I chose as my base point a tetrahedron vertex, then I created the other points. I took this decision because if I chose the center of the tetrahedron or the base triangle center, the scaled tetrahedron is not compatible with the initial cloud of tetrahedrons, it doesn't fit!

Second. Then I created all the base points and then all the tetrahedron points and bigger tetrahedrons inside surface easily.

But I have some problems, I cant remove the smaller tetrahedrons inside the bigger tetrahedrons! and and they are almost out of my cloud!

But I continued my process

I created a WIND VECTOR between two points (the first in the top center cloud), it will lead the direction of the elements.

Then I created a plane in wich I put three points to find the three closest points in my cloud surface. After that, I built a wind cones with this vector, points a different planes. Always in the direction of the wind vector. Parametric!

In the same way, I made some small wings in other points around the cloud. I created a scaled surface (I dont know if this is the right way) to find closest points in my surface (I did this because I dont want points inside my cloud, only the most external points of my cloud of points) and then vectors to pull it out of my cloud. Three ellipses and here are the wings!.

Finally I created another kite. The wings, the cones and the kite will help to keep up my cloud in the air!

I can move it all with my wind vector, and it works (apparently, more or less). I will create a picture or render to upload it.

I will appreciate your corrections and opinions to improve this, I want to give it an appearance more........ I dont know.... more grashopper, more parametric XD.

I'm still working!

the files

Attachments:

Hi Cesar,
Wow, starting to look really complex and crazy...! Let's see:

1.- I still don't agree with you. It doesn't fit if you don't take into account wether if the tetrahedron is upside-down or the other way around, which could be not very difficultly implemented. Plus, right now, because of using a corner point, there is going to be one side of the cloud where the tetrahedrons are almost completely outside the cloud. Also, now your big tetrahedrons can only be oriented with one side down...

2.- You could eliminate the smaller tetras inside the big ones if the points were centered by using the inside+cull technique. And if the big ones go outside, first easy solution is just trying a new seed for the random!

3.- The kites look very good. You could probably add some small random distortion to the base planes of the ellipses to give it a more natural wind-like look, the same way we did with the grass examples. Give it a tough.

Keep going!

Perfect Jose and Fernando!

I'll work on it!

Nice!!

This image is great!! Congratulations!

Is it a simple capture from Rhino? It has a high definition...

Hi Jose Antonio, it is Rhino 3d model, but it was rendered in 3d Studio in multiple hi-res jpgs (wire, opaque materials, translucent materials, etc...) and then overly the layers, working with their opacities.

Now I'm going to attach more images, I hope you like them!

• View All