mirror of
https://github.com/EEVengers/ThunderScope.git
synced 2025-04-01 04:46:34 +00:00
Linked PCB to Schematic
This commit is contained in:
parent
f753534b9b
commit
875f69ec24
Hardware/KiCad/Thunderscope_Rev5
ADC.kicad_schCON_PCIe_X4.kicad_schFE.kicad_schFE_Channel.kicad_schFPGA.kicad_schFPGA_Bank_IO.kicad_schFPGA_CFG.kicad_schFPGA_MGT.kicad_schFPGA_PWR.kicad_schFPGA_REG.kicad_schM2_KEY_M.kicad_schPLL.kicad_schPWR.kicad_schThunderscope_Rev5.bakThunderscope_Rev5.kicad_pcbThunderscope_Rev5.kicad_pcb.oldThunderscope_Rev5.kicad_prlThunderscope_Rev5.kicad_proThunderscope_Rev5.kicad_schThunderscope_Rev5.kicad_symThunderscope_Rev5.pdfUser_IO.kicad_schper_channel_designators_pcb.pysym-lib-table
LOADING design file
LOADING design file
LOADING design file
LOADING design file
LOADING design file
LOADING design file
LOADING design file
LOADING design file
LOADING design file
LOADING design file
LOADING design file
LOADING design file
LOADING design file
File diff suppressed because it is too large
Load Diff
LOADING design file
366400
Hardware/KiCad/Thunderscope_Rev5/Thunderscope_Rev5.kicad_pcb.old
Normal file
366400
Hardware/KiCad/Thunderscope_Rev5/Thunderscope_Rev5.kicad_pcb.old
Normal file
File diff suppressed because it is too large
Load Diff
@ -20,7 +20,7 @@
|
||||
"footprints": true,
|
||||
"graphics": true,
|
||||
"keepouts": true,
|
||||
"lockedItems": false,
|
||||
"lockedItems": true,
|
||||
"otherItems": true,
|
||||
"pads": true,
|
||||
"text": true,
|
||||
|
@ -410,7 +410,7 @@
|
||||
"endpoint_off_grid": "warning",
|
||||
"extra_units": "error",
|
||||
"footprint_filter": "warning",
|
||||
"footprint_link_issues": "warning",
|
||||
"footprint_link_issues": "ignore",
|
||||
"four_way_junction": "warning",
|
||||
"global_label_dangling": "warning",
|
||||
"hier_label_mismatch": "error",
|
||||
@ -557,12 +557,132 @@
|
||||
"label": "Datasheet",
|
||||
"name": "Datasheet",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "CLASSNAME",
|
||||
"name": "CLASSNAME",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "COMPONENT KIND",
|
||||
"name": "COMPONENT KIND",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "DATASHEET VERSION",
|
||||
"name": "DATASHEET VERSION",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "HOUSE PART NUMBER",
|
||||
"name": "HOUSE PART NUMBER",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "MANUFACTURER",
|
||||
"name": "MANUFACTURER",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "MANUFACTURER PART NUMBER",
|
||||
"name": "MANUFACTURER PART NUMBER",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "MATING CONNECTOR",
|
||||
"name": "MATING CONNECTOR",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "PACKAGE",
|
||||
"name": "PACKAGE",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "PACKAGE REFERENCE",
|
||||
"name": "PACKAGE REFERENCE",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "POWER RATING",
|
||||
"name": "POWER RATING",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "PUBLISHER",
|
||||
"name": "PUBLISHER",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "SUPPLIER 1",
|
||||
"name": "SUPPLIER 1",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "SUPPLIER PART NUMBER 1",
|
||||
"name": "SUPPLIER PART NUMBER 1",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "TEMPERATURE COEFFICIENT",
|
||||
"name": "TEMPERATURE COEFFICIENT",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "TOLERANCE",
|
||||
"name": "TOLERANCE",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "VDSS",
|
||||
"name": "VDSS",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "VOLTAGE RATING",
|
||||
"name": "VOLTAGE RATING",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "ALTIUM_VALUE",
|
||||
"name": "ALTIUM_VALUE",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Description",
|
||||
"name": "Description",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "#",
|
||||
"name": "${ITEM_NUMBER}",
|
||||
"show": false
|
||||
}
|
||||
],
|
||||
"filter_string": "",
|
||||
"group_symbols": true,
|
||||
"include_excluded_from_bom": true,
|
||||
"name": "Default Editing",
|
||||
"name": "",
|
||||
"sort_asc": true,
|
||||
"sort_field": "Reference"
|
||||
},
|
||||
|
LOADING design file
LOADING design file
LOADING design file
@ -0,0 +1,15 @@
|
||||
# Define the file's name.
|
||||
input_filename = "Thunderscope_Rev5.kicad_pcb"
|
||||
output_filename = "Thunderscope_Rev5_New.kicad_pcb"
|
||||
|
||||
# Open the file and read its content.
|
||||
with open(output_filename, "w") as output_file:
|
||||
with open(input_filename) as input_file:
|
||||
for line in input_file:
|
||||
match line:
|
||||
case x if x.startswith(' (property "Reference" "'):
|
||||
ref_des_old = line.split('"')[3]
|
||||
if ref_des_old != "" and (ref_des_old.endswith("A") or ref_des_old.endswith("B") or ref_des_old.endswith("C") or ref_des_old.endswith("D")):
|
||||
ref_des_new = ref_des_old + '1'
|
||||
line = line.split(ref_des_old)[0] + ref_des_new + line.split(ref_des_old)[1]
|
||||
output_file.write(line)
|
@ -1,5 +1,4 @@
|
||||
(sym_lib_table
|
||||
(version 7)
|
||||
(lib (name "Thunderscope_Rev5")(type "KiCad")(uri "${KIPRJMOD}/Thunderscope_Rev5.kicad_sym")(options "")(descr ""))
|
||||
(lib (name "Test")(type "KiCad")(uri "${KIPRJMOD}/Test.kicad_sym")(options "")(descr ""))
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user