Grasshopper

algorithmic modeling for Rhino

I would like to flip the curve, but the program runtime error !

M2.gh

Views: 999

Replies to This Discussion

Hi.

Flip won't work because mesh faces are not on the same plane.

Anyway, you can unify mesh face normal direction and switch mesh vertices connection order.

You'll need "MeshEdit" plug-in. 

Attachments:

If there are a lot of mesh, only some of which need to be flip, there is no better way ?(no manual to judge !)

In a mesh adjacent faces can have incoherent normals. An this make a problem to you.

In a brep this is impossible.

We can take advantage of this!

- converting the mesh in a brep composed of just triangular surface;

- join the surfaces, now the normals are coherent;

- converting back to a mesh.

Try this, hope is good for you. :D

Attachments:

It's not an error, it's a warning. Closed curve orientation becomes less and less well defined the less planar curves are, and if they are planar, the less co-planar they are. If the curve planes were completely perpendicular to each other then there's no way to say the curves have the same orientation. Your meshes are reasonably co-planar so I'd expect the flip curve to work.

As Hyungsoo mentions though the mesh face orientation should be identical for all faces if the mesh normals are correctly oriented and yours aren't:

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