Files

copied
Last update 1 month 2 weeks by Matt M
Files
LTC2946_breakout
bulkhead_terminal_block
fcb_footprints.pretty
fcb_v2
fcb_v2_gpsonly
fcgps_elvin
groundstation_v3
line_cutter_r5
mini_fcb_v2
protection_breakout
.gitignore
fcb_v2-20240209.zip
fcb_v2_lib.bak
fcb_v2_lib.kicad_sym
import.py
requirements.txt
import.py
import glob import os from kiutils.symbol import SymbolLib for f in glob.iglob('import/**/*', recursive=True): if f.endswith("kicad_sym"): # Is symbol -- append to big symbol list new_lib = SymbolLib.from_file(f) fcb_lib = SymbolLib.from_file("fcb_v2_lib.kicad_sym") existing_symbol_names = [it.entryName for it in fcb_lib.symbols] for it in new_lib.symbols: if it.entryName not in existing_symbol_names: fcb_lib.symbols.append(it) print(f"Added {it.entryName} to big library") else: print("Symbol already in library -- not replacing") # Everything's in Git, we don't care if we blow local changes away. S3ndit fcb_lib.to_file("fcb_v2_lib.kicad_sym") os.remove(f) print("Wrote new changes") if f.lower().endswith("step") or f.lower().endswith("kicad_mod"): # file is footprint/3d model -- copy in new_path = os.path.join("fcb_footprints.pretty", f.split(os.sep)[-1]) if not os.path.exists(new_path): os.rename(f, new_path) print(f"imported {new_path}") else: print(f"file {new_path} exists -- not replacing")

Annotations

line_cutter_r5 / line_cutter_r5.kicad_pcb
df23e8a2
2/2 comments
line_cutter_r5 / line_cutter_r5.kicad_pcb
9c035535
7/7 comments
groundstation_v3 / groundstation_v3.kicad_sch
5fbe7a62
4/4 comments
line_cutter_r5 / power.kicad_sch
5fbe7a62
3/3 comments
line_cutter_r5 / line_cutter_r5.kicad_pcb
5fbe7a62
1/1 comments
line_cutter_r5 / line_cutter_r5.kicad_pcb
e9325e11
5/5 comments
line_cutter_r5 / mcu.kicad_sch
d64f85d4
4/4 comments
line_cutter_r5 / line_cutter_r5.kicad_sch
e9325e11
1/1 comments
line_cutter_r5 / pyro_chan.kicad_sch
d64f85d4
2/2 comments
line_cutter_r5 / power.kicad_sch
d64f85d4
3/3 comments
fcb_v2.kicad_pcb
42802ee3
2/13 comments
fcb_v2.kicad_pcb
b6f6f04f
0/8 comments
fcb_v2.kicad_pcb
b6f6f04f
1/1 comments
pyros_servos.kicad_sch
146bf13d
0/1 comments
fcb_v2.kicad_pcb
d749f207
5/10 comments
power.kicad_sch
afbb09a5
1/1 comments
radio.kicad_sch
afbb09a5
0/3 comments
pyro_chan.kicad_sch
fd0cf123
1/1 comments
umbilical.kicad_sch
fd0cf123
3/5 comments
periph_pwr.kicad_sch
fd0cf123
0/1 comments
leds.kicad_sch
fd0cf123
1/1 comments
ble.kicad_sch
fd0cf123
2/3 comments
sensors.kicad_sch
fd0cf123
2/3 comments
power.kicad_sch
fd0cf123
4/7 comments
mcu.kicad_sch
fd0cf123
6/6 comments
mcu.kicad_sch
931d4f89
4/4 comments
Report a bug