Vertex(Contour) to mesh conversion - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Vertex(Contour) to mesh conversion (/thread-39362.html) |
Vertex(Contour) to mesh conversion - JorgeRdz - Feb-05-2023 I have a list of vertices that represent the contour of a shape in a two-dimensional plane. Where each pair represents an x and y coordinate. The contour was interpreted from an image thorugh the Opencv Module (findContour). Take for instance a list of vertices: [130 110][131 110][132 111][130 113][133 116][133 118][131 120][129 118][129 117][128 116][128 114][127 113] I would like to know if there is a way of procesing this list and creating a mesh ideally an ngon. RE: Vertex(Contour) to mesh conversion - Larz60+ - Feb-06-2023 Great many returns from duck duck go with query 'how to create a mesh python' example: https://blender.stackexchange.com/a/61893 (six year old answer) |