AutodeskRoboticsLab / Mimic

An open-source Maya plugin for controlling Industrial Robots. Written in Python 3.
https://www.mimicformaya.com/
172 stars 39 forks source link

Column Name not included when exporting External Axises in General CSV Export #35

Closed aatb-ch closed 2 years ago

aatb-ch commented 2 years ago

When exporting External Axises with the General CSV Export, one would expect to have the Axis Name as title of the column. Currently it exports correctly each rows but the titles are left empty, which makes it impossible to parse safely.

Current:

Time, Axis 1, Axis 2, Axis 3, Axis 4, Axis 5, Axis 6
0.000000, 34.014935, -68.899895, 81.252899, 167.647003, -34.014935, 0.000000, 0.000000

Expected:

Time, Axis 1, Axis 2, Axis 3, Axis 4, Axis 5, Axis 6, Axis 7
0.000000, 34.014935, -68.899895, 81.252899, 167.647003, -34.014935, 0.000000, 0.000000
evanatherton commented 2 years ago

The column name is actually determined by the CSV template file, template.CSV, that's found in mimic/scripts/postproc/GENERAL/CSV

So just edit that, or create a new template for different setups if you prefer, then all exported programs will have your edited header