Page 1 of 1

BMesh and Ngons

Posted: Thu Oct 24, 2013 12:34 pm
by zna
I have a list of >4 vertices (all on the same z coordinate) and want to make an ngon out of them. My problem is that if i use bm.verts.new(list), the resulting ngon overlaps itself.
I tried creating the appropiate edges first, but even then the result is a mess.
It does not seem to matter if the Ngon would be convex or not.
What do i need to do to create a proper ngon with bmesh?

Posted: Sat Oct 26, 2013 4:03 pm
by CoDEmanX
maybe sort the verts clockwise?
can you post a screenshot of the desired result?