Grasshopper

algorithmic modeling for Rhino

Any chance the next release of GH/Weaver bird can have a unify mesh normals component together with a flip normal component? I can write a component myslef but it seems it would be best placed to be included with the grasshopper mesh menu or within the weaver bird plug in. Also a flip mesh normal component would be appreciated. These components would re-order the direction of the vertices of each face of a mesh as required.

 

cheers

 

 

Views: 814

Replies to This Discussion

Do these not already exist?

Mesh > Util > Mesh Flip

Mesh > Util > Unify Normals

Or you are looking for something else?

Are you referring to the GH standard Mesh Menu bar? If so I dont see them there under mesh > Util. Im running *.51. I also dont see it on the weaverbird menu.

 

I just did it using a VB script component for now:

 

Private Sub RunScript(ByVal x As List(Of Object), ByVal y As List(Of Object), ByRef A As Object)
    'your code goes here…
    Dim ghMeshs As New  list(Of Rhino.Geometry.Mesh )
    For Each ghMesh As rhino.Geometry.Mesh In x

      ghMesh.UnifyNormals
      ghMeshs.add(ghMesh)
    Next

    A = ghMeshs


  End Sub

 

 

Oops, forgot to check where these two were coming from.  Thanks!
;)
Ok, i guess im stupid. I just looked at the mesh menu for *8.051 August 23rd, and yes there is a whoel set of new mesh operators including unify mesh normal and flip. Not sure why my menu bar has changed.

Hi, just got a question or a wish regarding this topic, - can these "mesh normal" tools somehow be used to change the angle of the normals? - e.g. all normals are pointing towards the Z axis 

I thought it could be used for solving my offset mesh problem:

http://www.grasshopper3d.com/forum/topics/offset-mesh-problems-with...  

- if the "offset mesh" tool is based on the normals' direction...?

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