Grasshopper

algorithmic modeling for Rhino

Hi All,

I am attempting to create an adjustable waffled structure.  The script I am currently working with uses a graph mapper to distort two meshes then convert them into a breps and then loft between the edges of the brep.  I tried a number of things to loft between the two surfaces however so far I have had limited success.  With a few combinations of surfaces the lofts line up vertically as shown in the jpg.  However, with most do not line up.  I think this has something to do with the loft options or maybe how how the lists are sorted going into the loft.  If anyone could help me straighten this out it would be much appreciated. 

Thanks,

Pete

Views: 422

Attachments:

Replies to This Discussion

Never mind I ended up solving the problem.  I extruded the edges of the brep then found their intersection with the meshes.  From there I found the end points of the resulting curves, connected them with a line and used sweep to with the line and the 2 curves to create the waffled surface.  If anyone is curious I'll post the finished script.

Pete

Attachments:

I posted this to Nick's question as well.  You may also want to have a look ...

 

Attachments:

Nick,

Thanks for you help.  I took a look at the script you posted.  Is there any way to sort the data into branches similar to the way it comes out of the subdivide command so it can easily be interpolated?  At the moment I am having to make long chains of split or list item commands to seperate the data into the currect streams so i can interpolate them.

Thanks

Hi Peter,

 

Grafting each set should do the trick for what you need, no matter the structure. (I could be wrong about this...)

 

For instance, a flat set of data with a structure such as

(Paths = 1)

{0;0} (N=50)

will probably Graft as 

(Paths = 50)

{0;0;0} (N=1)

{0;0;1} (N=1)

and so on ...

 

A set of data with multiple lists with a structure like

(Paths = 5)

{0;0} (N=10)

and so on ...

will also Graft as

(Paths = 50)

{0;0;0} (N=1)

{0;0;1} (N=1)

and so on ...

 

Given this example, you should be able to match up values from list one to list two.

Keep in mind, with the above example there are the same number items in each (50).

 

If you want to restructure a flat list of values (50) into a structure with, say, 10 paths with 5 items each, that is a different story and a good question.  Perhaps someone else can chime in on that ...

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