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

Vanilla Rhinocommon V6 vs. Plankton library

$
0
0

I was trying to make a little customization to the original MeshMachine code (by @DanielPiker) in python. The original code utilizes the plankton (by @will) library, which I managed to port into python and got it to work. While sometimes it fails when doing Pmesh.Compact() and ends up with a mesh missing several triangles. I couldn’t figured out what is happening under the hood.

Then I find that in Rhinocommon, the MeshTopologyEdgeList class has three similar methods, “CollapseEdge”, “SpliteEdge” and “SwapEdge”. I would like to know how these methods affect the original indices for Vertices, TopologyVertices and TopologyEdges. For example, when a topologyEdge is collapsed, does the indices for the rest of the topolgyEdges shift ahead in order?

Thank you in advance,
Vincent

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4120

Trending Articles