Grasshopper

algorithmic modeling for Rhino

Hi all,

another grid question: I want to be able to control (separately) the spacing of  U and V surface division. Right now If I divide a surface I get equal spacing divisions along U and V:

I want to be ale to control this spacing gradually, so it looks like this (but better, done in photoshop):

I need to control that spacing in U, and in V separately. 

I like the idea of using a graph to drive it, but I do not know where I should plug the graph.

Thanks,

Gustavo

Views: 4111

Replies to This Discussion

here-s a good example of gradual spacing applied to curves, I 'd like to do this to the UV spacing of a surface divide:

http://www.grasshopper3d.com/forum/topics/gradual-geometry-array-gr...

Here's one way controlled by the graphs. maybe you can adapt it.

had another look at it... this version works better.

Attachments:

Hi Julian, thanks for sharing. I tried to adapt this to my surface and give separate numbers to U and V and somehow they can only go up to 11 in each direction. if I move my point count up beyond 11 in either direction nothing happens. Any idea why?

Attachments:

in answer to your question, I think it was because of the normalisation happening multiple times, there's are mapping in the graph and then there were some outside it too....in later version I just decided to keep everything between 0 and 1 and remove the complexity.

I thought there would be benefit in not normalising it originally and using true lengths, but this wasn't the best way if you want to apply to any surface.

Made more efficient.... and packaged it up into a cluster.

I think this will work too on your file.

Attachments:

You can have a play with the graph type by right clicking... Linear, Bezier and conic I think work best.

(Or you can just supply the U and V parameters with a list of numbers between 0 and 1, divided up into intervals however you like)

this works great Julian! now I have another question related to this definition (sorry!)...

once I have my grid layout out I have to cull some rows/columns to treat those points differently down the line. so I had something like this to do my culling:

...so I was grabbing the points from the Sdivide and picking rows/columns.

 my question: where do I pick those points now in your definition? because if I pick the points that you have as output is not working. And if I pick them from dividing my original surface they do not match up with the gradually spaced ones your definition creates. 

Thanks!

Attachments:
From the point output that my cluster makes, you'll notice the paths (0;#}
Each path created is a U line, and each item in the path is V.

You can use components from the sets ribbon to select the items you want, e.g index item would enable you to select the V, and tree path will allow you to select the U you want.

Also, if you graft the output, all your Vs will also become paths , {0;U;V} which then means you can solely stick to set tree components for your tree manipulations.
There's a paths tutorial storyboard I put together here, which might help you.

http://www.grasshopper3d.com/xn/detail/2985220:Comment:1792378

Masks seems like a good technique for your application.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service