Debugging panelisation errors
This commit is contained in:
@@ -5,6 +5,8 @@ import shutil
|
||||
proj = sys.argv[1]
|
||||
pcb = sys.argv[2]
|
||||
|
||||
print("Starting post_panel script")
|
||||
|
||||
dest_folder = '/'.join(proj.split('/')[:-1])
|
||||
dest_name = proj.split('/')[-1].removesuffix(".kicad_pro")
|
||||
|
||||
@@ -37,3 +39,4 @@ dest["net_settings"]["netclass_patterns"] = src["net_settings"]["netclass_patter
|
||||
with open(proj, mode="w") as json_file:
|
||||
json.dump(dest, json_file, indent=2)
|
||||
|
||||
print("Finished post_panel script")
|
||||
|
||||
@@ -101,7 +101,9 @@ image:
|
||||
FILE=$(basename "${JSON}")
|
||||
NAME=$(echo "${FILE%.json}")
|
||||
PCB=$(find $d/*.kicad_pcb)
|
||||
echo "mkdring"
|
||||
mkdir $NAME
|
||||
echo "panelising"
|
||||
kikit panelize -p $JSON $PCB $NAME/$NAME.kicad_pcb
|
||||
cp .gitlab/micromelon_default/micromelon_default.kicad_sch $NAME/$NAME.kicad_sch
|
||||
cp $d/fp-lib-table $NAME/
|
||||
|
||||
Reference in New Issue
Block a user