genmap.py: print column names in output

This commit is contained in:
Oleg Kalachev
2020-03-11 13:21:24 +03:00
parent 60b0059ef1
commit b474f99665
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
# id length x y z rot_z rot_y rot_x
1 0.33 0 0 0 0 0 0
2 0.33 1 0 0 0 0 0
3 0.33 0 1 0 0 0 0

View File

@@ -47,6 +47,7 @@ bottom_left = arguments['--bottom-left']
max_y = (markers_y - 1) * dist_y
print('# id\tlength\tx\ty\tz\trot_z\trot_y\trot_x')
for y in range(markers_y):
for x in range(markers_x):
pos_x = x * dist_x