I have generated a large matrix with the (x,y) positions of all 4 vertices of a rectangle, using a Python script. It's called Matrix1, and has the dimensions (265,2,4)- 265 rectangles, 4 vertices with their x coordinate in the first row, and the y co-ordinate in the second row respectively.
As I am new to Blender, I am unsure as to what commands I would use to actually create rectangles with those vertices.
Any help or assistance would be greatly appreciated. Thank you in advance!
Edit for more information: (UPDATED)
For example:
[[0,1,1,0] [0,0,1,1]]
are the four vertices for the first rectangle, representing (0,0) (1,0), (1,1), (0,1); in general, if the order of vertices is [a,b,c,d] they should be joined to form edges ab, bc, cd, da.
Could anyone please help?
[[(0, 0), (0, 1), (1, 0), (1, 1)], [(0, 0), (0, 1), (1, 0), (1, 1)]]
$\endgroup$