-
Notifications
You must be signed in to change notification settings - Fork 27
Load Tray Maps
put your tray map text files in Pychron/data/.dvc/MetaData/load_holders
e.g. Pychron/data/.dvc/MetaData/load_holders/421.txt
You also need to add the name of your new tray map (e.g. 421) to the LoadHolderTbl
table in your Pychron database
first line of the load map text file is shape, dimension
where dimension
is the "radius" when shape = "circle"
.
Each subsequent line should contain the x,y coordinates of each loading location. Each x,y pairs is automatically numbered based on its row number.
NOTE: The load map coordinate system has its origin at the center of the loading disk
All values are relative tho using inches or mm is common.
Blank lines and lines that start with #
are skipped
e.g
circle,1.75
-4.8006, 14.4018
0, 14.4018
4.8006, 14.4018
-9.6012, 9.6012
-4.8006, 9.6012
0, 9.6012
4.8006, 9.6012
9.6012, 9.6012
-14.4018, 4.8006
-9.6012, 4.8006
-4.8006, 4.8006
0, 4.8006
4.8006, 4.8006
9.6012, 4.8006
14.4018, 4.8006
-14.4018, 0
-9.6012, 0
-4.8006, 0
0, 0
4.8006, 0
9.6012, 0
14.4018, 0
-14.4018, -4.8006
-9.6012, -4.8006
-4.8006, -4.8006
0, -4.8006
4.8006, -4.8006
9.6012, -4.8006
14.4018, -4.8006
-9.6012, -9.6012
-4.8006, -9.6012
0, -9.6012
4.8006, -9.6012
9.6012, -9.6012
-4.8006, -14.4018
0, -14.4018
4.8006, -14.4018
Another valid format is to use either explicit hole numbering or explicit dimensions
e.g Explicit Hole numbering
circle,1.0,True
0010,-6.00000,22.00000
0020,-4.00000,22.00000
0030,-2.00000,22.00000
0040,0.00000,22.00000
0050,2.00000,22.00000
0060,4.00000,22.00000
0070,6.00000,22.00000
0080,-10.00000,20.00000
0090,-8.00000,20.00000
0010,-6.00000,20.00000
e.g Explicit dimensions
circle,1.0,False
-6.00000,22.00000
-4.00000,22.00000
-2.00000,22.00000
0.00000,22.00000
2.00000,22.00000
4.00000,22.00000
0.00000,0.00000,0.25
NOTE: The hole at 0,0 has a radius of 0.25, all other holes have radius=1.0