How to unify normals when evaluating a surface

Hi All

I am trying to make patch surfaces from a set of curves generated from 3d points. As you can see the scaled curves need to move in a normal direction at a certain distance in order to achieve the curved patch sufaces. This was achieved by evaluating the surface with the centre points.

However, the resulted normals in the evaluate the surface were inconsistent which resulted in the patch surfaces in different directions.

is there anyway to unify the normals?

Many thanks
yutakaunify normals.gh (30.8 KB) unify normals.gh (30.8 KB)

We’ve been discussing this here…
https://discourse.mcneel.com/t/include-dihedral-angle-with-unroll-surface-command/112854/15

Please share if you find a good solution.

You can use FlipSurface and input Guide geometry so perhaps if you can create a plane on each face that has the Z axis in the direction you want the face normal then you can use the FlipSurface component?

File attached is an experiment, not a solution! Someone on here must know how to do this though!

Aligning Normals Exercise MH.gh (13.6 KB)

Have a look at the attachment.


unify normals _re.gh (50.2 KB)

1 Like

Strange… I get a different result but I’m on R5…
image

Hi Martynjhogg

Thanks for you suggestions, I will try to work out a solution based on the suggestions to share.
Afterall , working on different planes have always been an ordeal!

Hi HS Kim

Thank you for your suggestion, it worked fine until I tried to increase the number of curves to >20 , say 100 (generated by voronoi) and the patch surface would not work anymore. Could it be due to the complexity ? (please see the attached file)

Thanks!
unify normals _re_100 crvs.gh (1.4 MB)