Grasshopper

algorithmic modeling for Rhino

Hi,
I'm trying to realize a panelization using a diagrid.I'm using a def (that piacentino i think gave me in an older post) that use a script component to create the diagrid.now i want to obtain flat panels.So i tried to project the wires of the panels on a plane normal at the surface in the centroid point of each panel.
Something is going wrong.....
Can you help me?or do you know a easier way to do this?
i post the def.

thanks

bye    Paolo

Views: 8556

Attachments:

Replies to This Discussion

Hi,
I can see 2 definitions in your file. The top one is working fine. Of course a triangular panels are always planar anyway. I'm not sure I find where your diagrid paneling though.

Can you send a definition commented with notes?

For such algorithm, I would develop the definition in steps. and test each step. You can feed the result from each step to the next one. This way it will be easier to debug.

I would break down the problem to something like:
- Base surface selection
- Create sub surfaces/panels
- Find planes at the centroid of the sub-surfaces/panels
- Extract border curves of panels
- Project curves to planes
- Create new planar panels

Let us know how it goes.
Yes there are 2 parts in the definition.
The probelm i found, is that this first part runs with the script.I had to use that because i didn't find a way to obtain diamond panels without scripting. Unfortunatly i don't know anything about scripting.so i can't control this part of the definition.I can only work on the elements that this script gives me.
Starting with these resulting elements of the script, i didn't find a way to project curves on planar planes to obtain flat diamonds.(that would be a very easy process on a quadrangular subdivion of a surfaces for example).
That's why i asked in the forum,hoping to find some script user that explain me how to complete the definition.
Iìm really sorry, probably i have not been clear enough.I'm a real noob!
Surely you're right about the method of develop a definition in steps.
Hope you understand what i wrote....
thank you very much for the reply Rajaa Issa

Regards

Paolo
Hi,

Ok, I'll write a sample for you. I think you can do it without scripting.
Please check the attached. This is one way to create what you are after. I tried to comment as much as possible and used sequential steps to get the result.
Note that the definition only covers half the surfaces, but you should get the idea and be able to complete it.
Attachments:
First of all THANK YOU very much, you have been so kind!
I'll study the file tomorrow!
While i was waiting for your reply i found on the net a tutorial in livecomponents website ( http://livecomponents-ny.com/2009/09/20/3-2-diagonal-connection/ ) (but it works only for even numbers of U and V).While i was studing this tutorial i noticed that point logic isn't an argument so clear for me.(i'm talking about how points are organized on a subdivided surface and how they are organized in the tree structure).So i think that first i have to study these arguments...
Thank you again!

Paolo
YEEEEEESSSSS i completed the definition!!!!thank you very much Rajaa, i learned a lot from your definition!(especially to use the path mapper, and how to rotate tree structure!!)
I post the complete file...if someone need it.
Attachments:
Rajaa,

thank you very much for this very delicious definition.

i found two new extremly practical components in it, called "simplify" and "path mapper".

morphy

Hi,

Thanks for nice def. 

I have a question here, I want to know what to do to have the grids with the same length on this free form surface. In your definition, the grids have vary dimensions. 

Thanks for your help

Hi Rajaa. 

I just downloaded this and it doesn't seem to work anymore in the current GH version, there is something strange with the pathmapper. I couldn't figure it out how to fix it and was hoping that you may be able to take a look at it and figure out why it doesn't work anymore. 

thanks so much.  

Ciao Paolo

I projected the points into a plane based on the centroid of each panel (maybe not exactly the centroid but close enough I think), and then used those points to create the planar ones.
This may do the trick but I suggest that you look into the file that Rajaa sent you because you will learn much more from her.

Mi sembra che sia questo che volevi, no?diagridpanelsnormalsurface_v2.ghx
That was what i was looking for!never used the pull component before!thank you!
Yes I'll study the file Rajaa gave me.I think i can learn a lot too.
Grazie ancora

Paolo
You very welcome.
Thanks for posting the complete definition.

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