BMesh and Ngons

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Thu Oct 24, 2013 12:42 am

BMesh and Ngons

Post 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, 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?

Posts: 0
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Post by CoDEmanX »

maybe sort the verts clockwise?
can you post a screenshot of the desired result?
I'm sitting, waiting, wishing, building Blender in superstition...

Post Reply