Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5756

Rhino 7 error - RhinoScript AddMesh method

$
0
0

Hi everyone,

I would like to bring to your attention an orror on AddMesh method that has appeared with rhino7. The error does’nt exist in rhino5.

Some more description :slight_smile:
strMesh = rhino.AddMesh(arrNode, arrFace) gives (strMesh = Null) answer.

It is important here to specifiy that

  • arrNode is a list of for example 1000 points,
  • arrFace is a list of for example 1000 faces, but only the first 600 faces (for example) are valid, and after that the remaining 400 faces are array(0,0,0,0), so they all refer to the same point arrNode(0), which happens to be array(0,0,0).

This wasn’t a problem with rhino5, but it is now with rhino7. We would be very glad that the problem is fixed, because it is quite important for our internal engineering plug-in.

An image to picture what kinf of meshes we are talking about :

An other image that identifies the code context. We have been using this script just fine for 6 month. It seems that addMesh function in rhino7 is less permissive that in rhino 5 :frowning:

Best regards,

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5756

Trending Articles