Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding a polygon to mesh

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
527 Views, 5 Replies

Adding a polygon to mesh

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?

Labels (1)
5 REPLIES 5
Message 2 of 6
J450NP13
in reply to: Anonymous

You could just create the polygon with a plane and then combine it and merge the vertices you need to be merged.

 

🤷‍:male_sign:

Message 3 of 6
Anonymous
in reply to: J450NP13

but how can I combine the plane with the mesh (what functions combine them together)?

Message 4 of 6
J450NP13
in reply to: Anonymous

Select both objects and then goto Mesh>Combine.

 

Then select the vertices and go to Mesh Edit>Merge

Message 5 of 6
Anonymous
in reply to: J450NP13

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?

Message 6 of 6
J450NP13
in reply to: Anonymous

No I don’t off hand.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report