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

Convert OpenNURBS OnMesh to rhinocommon mesh object

$
0
0

@sghosh wrote:

Hello,

I am trying to convert a rhino.NET mesh object to rhinocommon mesh object and I always get the value to be undefined. Could any one suggest how I should go about it?
Rhino::Geometry::Mesh^ ConvertToCommonMesh(RMA::OpenNURBS::OnMesh^ mesh)
{
Rhino::Geometry::Mesh^ meshCommon = Rhino::Runtime::Interop::FromOnMesh(mesh);
return meshCommon;
}

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8565

Trending Articles