Skip to content

Commit

Permalink
[Draw Fancy Stackup] Adjusted the code to match Draw Stackup
Browse files Browse the repository at this point in the history
- Applied recent fixes (when creating group)
- Moved common code
- Fixed behavior when no vias and draw_vias
- Fixed flake8 issues
- Avoided SUColumnsFancy collision
- Removed VALID_COLUMNS check
- Fixed default group name
  • Loading branch information
set-soft committed Oct 22, 2024
1 parent 7a7f565 commit c7f6611
Show file tree
Hide file tree
Showing 2 changed files with 209 additions and 279 deletions.
3 changes: 2 additions & 1 deletion kibot/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
MOD_ALLOW_MISSING_COURTYARD = 128
# This is what a virtual component gets when loaded by KiCad 6
MOD_VIRTUAL = MOD_EXCLUDE_FROM_POS_FILES | MOD_EXCLUDE_FROM_BOM
# VIATYPE, not exported by KiCad
# VIATYPE, not exported by KiCad 5 (6, 7 and 8 defines it the same way)
VIATYPE_THROUGH = 3
VIATYPE_BLIND_BURIED = 2
VIATYPE_MICROVIA = 1
Expand Down Expand Up @@ -327,6 +327,7 @@
W_MULTIREF = '(W164) '
W_NOTHREPE = '(W165) '
W_LANGNOTA = '(W166) '
W_NOVIAS = '(W167) '
# Somehow arbitrary, the colors are real, but can be different
PCB_MAT_COLORS = {'fr1': "937042", 'fr2': "949d70", 'fr3': "adacb4", 'fr4': "332B16", 'fr5': "6cc290"}
PCB_FINISH_COLORS = {'hal': "8b898c", 'hasl': "8b898c", 'imag': "8b898c", 'enig': "cfb96e", 'enepig': "cfb96e",
Expand Down
Loading

0 comments on commit c7f6611

Please sign in to comment.