Surface Curvature using grasshopper

Hello all,

I am trying to analyse the curvature of this vase - image and gh definition attached.

I have tried the component surface curvature (however this does not work). I have noticed changing the loft options makes a difference. However - I need the loft option to stay at 3 and still be able to generate a colour output which relates to the curvature of the vase. Your help would be much appreciated.

All the best!

Vase Curvature.gh (29.9 KB)

You need to use ‘Srf CP (Closest Point)’ as input for ‘Surface Curvature’. Then I noticed that curvature was mostly the same due to what appeared to be a few points with extreme values that were distorting the results, so I added ‘Eval’ to filter large values: “if(x>y,y,x)”


Vase_Curvature_2017Dec28a.gh (27.4 KB)

1 Like

Hello Joseph,

Thank you very much for your help. This works!

Kind regards,

Manveer.

I know that this is an old topic but I am having the same problems but with another surface of coarse. Could you maybe explain the above solution further as it does not work on my surface and I need it as a general solution.

Thanks

Scaled_hemisphere.gh (14.8 KB)

To filter out the extreme negative value, I added “abs()” (absolute value) around the ‘x’ value in your Eval expression: “if(abs(x)>y,y,x)”


Scaled_hemisphere_2018_Feb16a.gh (13.8 KB)

1 Like

Thank you Joseph. It also works on other surfaces as I needed.