Grasshopper

algorithmic modeling for Rhino

Hi grasshopper experts? i am kind of new with grasshopper. 

What i want to do is rotate the rectangles on their one edge. Rotation angle should be changeable,(adjustable... I would use some attractor to change the value of the angle if i could )

Nothing to do with the triangles at the edges. triangle planes 

This is what I've done so far.. Please help me 

and also these panels doesn't have to rotate, It could be made by "surface from 4 points" and the height should be also changeable.

Sorry for my poor explanation, english is not my mother tounge  

Views: 5612

Attachments:

Replies to This Discussion

Hi Amartuvshin,

First I would like to thank you on your effort to present us your problem in a form of drawing.
And I see you already started working on the problem, which is nice too. It is always a pleasure to help somebody who is at least trying to solve his problem, no matter what result he got.

In the end you even attached the .gh file too.
So you got 3 stars, out of 3. :)

This is the way most problem posts should look like. It is far more easier for us to see what you want in this way.

And do not worry your, your English is fine.

Ok, about the project:

I see you created the panels by yourself. Do not get me wrong, I do not want to just delete your work, but maybe you can download and install a plugin for Grasshopper called Lunchbox. Download it from here (click on the "LATEST VERSION"). Turn off your Grasshopper and Rhino, install the Lunchbox plugin, and turn the Rhino and Grasshopper on, again. This plugin will enable you to divide your lofted surface into panels and triangles using just one single component.

The only thing I did not understand is whether you want the space(gap) between the plain and rotated panels to be filled or not.

If you want it to be filled, just open the attached .gh and .3dm files, and that is it:

If you do not want this space to be filled, then delete the whole block grouped in red color.

Instead of using plain, flat surface generated(lofted) by two straight lines, you can use two curves and create a curved surface. What I am trying to say, is that surface does not need necessarily to be plain.

I wish you all the best in your Grasshopper career :)

Attachments:


Wow. Thank you very much for your fast reply. You literally saved my day!! It gives me lot of effort to finish my project and your suggestion is just awesome! really easy way to do. Yes i want the gap space filled and the plain surface is just enough for this project :)

I am almost done what i want to create. 

I have just another additional question on this if its possible to get the answered.

 - The current angle is all the same so I want to change the rotation angle using attractor, which would give me more dynamic effect on the entire look. But i have no idea how to make it. Basically the logic is easy  : some object lets say its point (which is located on the original lofted plane) would affect the rotation angle of the planes depending on the distance between the point and the center of the planes.  


 - when i change the value on the number slider its gives me very weird result. Maybe its because I'm not quite sure that function i want to use for my attraction, also the confusion between number, degree and radian. 

Thank you for your time for helping me out. 

Attachments:

this is the rhino files. Its just 2 curves and one point. Thank you again!

Attachments:

Hey, great drawing once again! :)

I hope this is what you need:

Problem you had is not because of the radians (3.14 radians ("pi" constant) equals 180 degrees. 360 degrees is 2*3.14 (pi), and so on)

Problem was caused due to matching data issue.

I would strongly advice you to read these two books (1,2) about Grasshopper:

They will clear you a lot of things about grasshopper, especially the basic ones.

About your problem with text: Text marks can be rotated by clicking and holding the left mouse button on it's ends. If you would like to move it without rotating, just click and hold at the middle of the text, and then move it.

About color of the group: Right click on the desired group and define the RGB components under the "Colour".

Btw, I could not open your .3dm file as I am using Rhino 4, and you Rhino 5. But it's not important as I needed only two lines.
Bear in mind that you can always save your Rhino 5 .3dm files as Rhino 4 (File->Save as-> Rhino 4 3DM Models).

Attachments:

Sorry for bothering again and wasting your precious time for this kind of problem. 

Feeling so dumb since i graduated my high-school. I think i have to learn math again. 

For the problem : the definition you gave me is working perfect and this is exactly  what i want if i add little bit of grasshopper work on it. 

 -  I simply want to add more attraction points but it has little bit problem on calculating the rotation angle. Its maybe because we measured only one attraction point. 

 - I want to put random attractors on the panel and this panels could affect on the rotation angle gradually. the nearer the little amount of degree(not sure how to express by this language.) And also the attractor have some range that i could control (just normal number slider) if the length between attractor and the center of divided panel is out of our range it doesnt have any rottation. 

 - If its possible, i want to make all the diamond panels have the same rotation angle(Lets say 45degree) at the first, then i put attraction it will change.

 - I've tried to put limit on the length and using dispatch component to chose : if shorter then change, if longer than no-change ... something like that but ended up this code. 

 

ohh I am sorry that I've saved it in rhino5. that was my mistake. 

Thank you for your suggested books. I will read after finishing this modeling. Because the i've just one day left for the deadline. 

Attachments:

You said "the nearer the little amount of degree", and I understood this as: the closer the centers of panels are to the attraction point, the smaller the rotation is.
But your Rhino previews show opposite.

As I was not sure which one of these two things you need, there is a "value list" grouped in red, which will enable you to swithc between two methods (attractor and repeller). This is what repeller is.

Have in mind that increasing the radius value(slider), means you need to decrease the "adjust rotation angles" values(slider) in order to have the maximum angles of 45. And vice versa.

Sorry for the late reply.
It was a hell of a days at the English Premier league.

Attachments:

Thank you sir. This is just perfect!! I promise I'll help you one day! 

Once again, thank you very much and have a great creative week!

Best regards

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service