Python Forum
Vertex(Contour) to mesh conversion
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vertex(Contour) to mesh conversion
#1
Question 
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.
Reply
#2
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)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error 'Contour' not Defined DaveG 3 2,376 Mar-13-2022, 03:29 AM
Last Post: deanhystad
  How to make a contour plot in python(matplotli) Ardi 0 1,900 Nov-28-2019, 04:45 AM
Last Post: Ardi
  Matplotlib contour no data coordinates b4rtt 1 2,670 Jun-18-2019, 09:36 AM
Last Post: b4rtt
  Contour Sort Explain Killing_Machine 0 1,931 Aug-18-2018, 10:41 AM
Last Post: Killing_Machine

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020