Grasshopper

algorithmic modeling for Rhino

Surface Morph: how can I change w heights in funcion of u,v?

Hi all,

I'd like to use Surface Morph having different heights for different domains u,v

In the Surface Morph component I have to fix one value for w and this way all the geometries have the same height.

Can someone suggest a method to map w in funcion of u and v so that I can decide a w value for each couple (u,v)?

Thank you in advance

Maurizio

Views: 1414

Replies to This Discussion

Here's an example of 2 sets of different heights at different domains of UV

Attachments:

Danny,

I've tried with your file but with Entwine I can put only 3 box. I want to put any number of box on a surface. Why I can't with the file attached? Is there any way to modify your definition in order to put more than 3 boxes?

Attachments:

Hi, 

If you use Danny's def you can add through the ZUI (at the entwine component) as many domains as you like, hence more retrieved boxes from the surface morph component..

Regards,

M.

Hi Marios,

thank you for reply; the problem is that I want to regulate number of domains dinamically by a slider. In the file I attached is there a possible solution?

regards

Maurizio

Something like this? You can experiment with random generator for less uniform results..

Regards,

M

Thank you Marios,

but I want to put boxes on all the plane: if I divide U domain in 4 parts and V domain in 3 parts I'll have 12 boxes with 12 different heights in W

How can be done?

regards

Maurizio

Sorry for the late reply Maurizio. There you go! Hopefully it is clear now.

Edit: Expression at N = n -1...

Marios,

it's exactly what I wanted to do; I think i've understand; now I'll switch to "draw icons" because I don't recognize the components in your photo. Can you post your .gh definition?
thank you again

regards

Maurizio

Sure, there you go.

Marios

Attachments:

Entwine was just an easy way for me to get two branches of objects etc.

There are other ways to achieve this but I think Marios is on the case.

I agree with you Danny. Not only there are other ways, but also a lot easier ones. It is a nice investigation for Maurizio in terms of data handling though.

Thank you very much, Danny!

I'll try to generate a pattern of w value mapping them with "2 crv 4 base".

I never used lists of values but now I think that the moment is come!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service