Skip to content

Commit

Permalink
csv convert tool: correct bottom rotation for allegro
Browse files Browse the repository at this point in the history
  • Loading branch information
dukelec committed Mar 14, 2024
1 parent daf40c7 commit d45d08b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tools/csv_conv_allegro.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
'Footprint': row['COMP_PACKAGE'],
'Center-X(mm)': float(row['SYM_X']) * -1,
'Center-Y(mm)': float(row['SYM_Y']),
'Rotation': float(row['SYM_ROTATE']),
'Rotation': float(row['SYM_ROTATE']) - 180,
'Layer': "BottomLayer"})

if len(top_list):
Expand Down
9 changes: 5 additions & 4 deletions tools/pos.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@

kicad bot layer:
kicad bottom layer:
- fiducial pcb x * -1
- enable `Use negative X coordinates for footprints on bottom layer` in `Generate Placement Files`

ad pos layer:
ad, allegro top layer:
- fiducial pcb y * -1

ad bot layer:
ad, allegro bottom layer:
- fiducial pcb x * -1 and y * -1
- pos file all item: x * -1
- csv file all items: x * -1 (by `csv_conv_xxx.py`)

0 comments on commit d45d08b

Please sign in to comment.