Grasshopper

algorithmic modeling for Rhino

Hello,

when I use "mesh.Vertices.Add( point )"

print mesh.IsValidWithLog( )

(False, 'ON_Mesh.m_N.Count() = 15251 (should be 0 or 15252=vertex_count).\n')

what means this error?

Views: 615

Attachments:

Replies to This Discussion

Isn't it just showing that your new vertex has no assigned faces and edges?

Normally you can have vertices in meshes that does not even show up on display.

And if you want to clean the mesh you just compact it, but having these kind of vertices in some situation is helpful.


in this case, the problem should be solved right?

but the error message remains

i1 = x.Vertices.Add( 0,0,1 )
i2 = x.Vertices.Add( 0,0,2 )
i3 = x.Vertices.Add( 0,1,1 )
x.Faces.AddFace( i1, i2, i3 )

print x.IsValidWithLog( )
(False, 'ON_Mesh.m_N.Count() = 15251 (should be 0 or 15254=vertex_count).\n'

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service