Grasshopper

algorithmic modeling for Rhino

Paneling Tools + Grasshopper 

I am trying to make a Grasshopper model from a Paneling tools model.

I am running into these issues:

1)  I want to use and apply my own custom grid to my surface - as you can see from the image 

2)  I then want to use the new grid on my surface to define a dia-grid panelization.  

In paneling tools, I was able to take the intersection points of my customized grid and create a dia-grid tessellation. But now I am having trouble getting  my grasshopper grid to match the same paneling tools grid. 

Any Ideas?


Thanks!

Views: 9176

Replies to This Discussion

How are you generating your grid with GH? Extracting iso-curves from the surface? If so it's hard to get uniform spacing when the surface isn't flat.

Other options would be project a grid onto the surface or section the surface with planes...
Hi Zach,

Can you post the file?

Check the following thread for creating the diagrid:
http://www.grasshopper3d.com/forum/topics/project-diagrid-panel
Rajaa,

I was actually looking very closely at that post. I was trying to incorporate a paneling tool script into the diagrid script but I haven't had any results.

Is there a way to take the paneling tools point grid and make that dia-grid pattern script read those points?


As for the files.. attached the deformed curves and surface I am currently working with, along with the *.ghx for the dia-grid pyramids.


Thanks alot for the help!
Attachments:
Hi Zack,

Check the attached. This is the easiest way to take a grid created with PanelingTools and turn it into a tree structure in Grasshopper.

I basically did the following:
- Generate the paneling grid from your curves using ptGridUVCurves
- Create a surface from the point grid using ptSurfaceFromGridOfControlPoints command
- Imprted this surface to Grasshopper
- Extracted the control grid (which are originally the paneling grid) of that surface into a tree structure of points
- You can use these points to generate your diagrid in GH.

Let me know how it works.
Attachments:
Hi Rajaa, I wanted to thank you for taking the time to look at my problem and giving me some code help!

I am still having a bit of trouble trying to get your PortPTGridToGH code implemented. I cannot get it to work in the same way as the image1 below. When I make the inital gird, the shifted or offset grid from the image, Paneling tools won't make a surface from this gird. So I have to make the grid based off a regular grid (image 2). so i am wondering what to do about that...

but my real problem, for now at least, is how I actually splice in your PortPTGridToGH code into the other code. I have tried different methods and I can't seem to get results.

Attachments:
Hi,
Can you send the 3dm file. Please mark the grid that you are not able to turn into a surface.
I didn't understand what you meant in the second part of your post (but my real problem...)

-Rajaa
Hi,

Well, you left me no choice but to write a long and ugly VB script component that allows you to select a paneling grid created with PanelingTools plugin and magically turn it into a Grasshopper tree structure.

You don't have to understand the details of the component. All you need is to toggle the SelectGrid input to "True", select your grid in Rhino, then make sure to toggle back to "False". Data will persist. Now you don't have to turn the grid into a surface anymore.

let me know how that works.
Attachments:
Wow Rajaa, Thanks so much, I will take a look at this and get back to you!

Thanks!

-Zach
I hate to admit it, but I am kind of lost... I am not sure how make this data tree into a 4pt surfaces. I have been looking through lots of scripts for an example but I haven't found one that gives me any clue.

I have also been looking at your actual VB code and from what I can tell, you are making a list of U and V values and then applying them to a polyline, how can it be made into a srf?

How can I make something that converts your U and V point list into 4pt srfs? do you have any examples that you are aware of??

Thanks!
Hi Zack,

You need to ask all the question you have, this is a confusing subject.
I bet there are many examples posted that does just that, but here is my version. Attached is an example that takes a grid/tree of points and generate patch surfaces. This should help.

If you like to have diamond patches, then you can check the thread mentioned above. The other (probably more easier) option is to use PanelingTools command ptConvertToDiamondGrid before importing the grid to GH.

Have fun!
Attachments:
Rajaa, That is exactly what I was looking for!... your solution is very elegant, that is for sure.

I learned a lot from the way you set up your point management to surface code.

Thanks so much for everything!

Just curious,

how do you change from a regular grid to a undulating grid following the surface?

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