Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8532

Create Mesh problems

$
0
0

@UtsMicke wrote:

Hi!

has created a mesh with just 3 corners
has since created points for the corners
but the points and mesh points are not in the same places?

has the same error in RhinoScript and RhinoCommon SDK

Dim arrVertices(2)

arrVertices(0) = Array(143820.732965887, 6587994.59060971, 16.033914636719)
arrVertices(1) = Array(143800.260178762, 6587995.58525459, 14.977226030752)
arrVertices(2) = Array(143780.682129344, 6588017.91073487, 21.078640595528)

Dim arrFaceVertices(0)

arrFaceVertices(0) = Array(0, 1, 2)
Rhino.AddMesh arrVertices, arrFaceVertices

Rhino.AddPoint arrVertices(0)
Rhino.AddPoint arrVertices(1)
Rhino.AddPoint arrVertices(2)

Thank you all,

Michael.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8532

Trending Articles