The ImportPointsFile is a very good script.
The input file is basically a csv or text file.
Each row is a point, with the three coordinates separated by the selected delimiter.
There are several possible delimiters between the point coordinates, comma, space, etc.
The points can be imported as points, or two varieties of curves, etc.
The one thing that is not available from the script, is Groups, or sets of points, or sets of curves.
Recently, I have contemplated either turning a blank line into a Group separator (second delimiter), or using a tilde (~) as a group separator in formerly blank line, by modifying the script.
There would have to be test for a blank line, or tilde, and another loop, (while loop?), and array of point arrays to turn into curves. (Factories, like lineweb)
I began some initial looking at the code of PointImportFile script...Maybe in a few days or weeks i'll make a mod?
Michael could probably do a script modification in an hour or so?
Also an export script would be good?
Example: 9 violin back curves, as points.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5293195/
The sets of curves do not each close separately, as there is no Grouping code.
Maybe the point/curve groups could be labeled MoI Groups as well?
- Brian
p.s. The PointImportNetwork script, using point data from Python, does do groups, but there is a repetitive field with the "group" number. (See my gyroid script.)
CSV files concentrate on importing data to a 2d table, (spreadsheet).
I was unable to locate software to do grouping of points in a CSV like file.
There is a group separator mentioned here:
https://en.wikipedia.org/wiki/Delimiter-separated_values
"ASCII includes several control characters that are intended to be used as delimiters. They are: 28 for File Separator, 29 for Group Separator, 30 for Record Separator, and 31 for Unit Separator. Use of these characters has not achieved widespread adoption; some systems have replaced their control properties with more accepted controls such as CR/LF and TAB."