Export Points from object into txt file

 From:  pior (PIOR_O)
9071.19 
Hello all, Michael,

Does this SavePointFile script still work for V4, and if yes, where does it write out the file ? I am not getting any prompt for a save location and can't seem to find any .txt file written out.

For context I am currently working on a small DIY project that would require to export out points data from a MOI drawing, to later plot them physically as straight pen lines between each point, in "turtle" fashion, using a small Arduino robot. And while an OBJ export of filled polygon objects seems like a good starting point as it is very human readable, I have been wondering if there is already a way to write out point data (in good order of course) to CSV, which led me to this thread.

[edit] Just found this other thread here where it is mentioned that the script is intended to work on point objects, rather than points from objects.
http://moi3d.com/forum/lmessages.php?webtag=MOI&msg=8996.2
It is giving me a long series of floats, separated by commas. I suppose that they are to be interpreted as X0,Y0,X1,Y1,X2,Y2... and so on ? I suppose the order is maintained from the original object ?

EDITED: 14 Sep 2021 by PIOR_O