I'm trying to add a polygon to a mesh, where only one edge of the polygon is exist in the mesh (only 2 points of the polygon are already exist in the mesh). I tried to use the "addPolygon" function, but it didn't worked because the mesh doesn't contain all the points of the polygon.
Does anyone know how to add such a polygon to the mesh?
You could just create the polygon with a plane and then combine it and merge the vertices you need to be merged.
🤷:male_sign:
The mesh is represented as a MFnMesh object in cpp code and the polygon is represented as an array of MPoint objects in cpp code too , and I'm trying to merge them in code. Do you know how can I do that?
Can't find what you're looking for? Ask the community or share your knowledge.