@andreaquartara wrote:
I’m trying to edit the format in which a couple of list of points can be written into a .txt
On one side I have a list of center, on the other corners grouped to make polygons (degree 1)My goal is achieve this syntax:
[{center:[x,y],polygon:[[x,y],[x,y],[x,y],…]},{center:[x,y],polygon:[[x,y],[x,y],[x,y],…]},…]
The List of centers I have is flatten, while the one of corners is grafted, with several branches, with not the same amount of points in it.
The image to explain better, hopefully!
Posts: 13
Participants: 4