Open itsyoshio opened 3 years ago
Thanks for the feedback. First of all, there is a problem with pyphotonfile
, the library that this tool uses for parsing and generating cbddlp
files. As it turns out, pyphotonfile
is only capable of parsing/generating .photon
files which are a subset of .cbddlp
files. I'm currently rewriting the parser/generator of the pyphotonfile
library so it can handle .cbddlp
files.
Aside from that, you should be able to generate some kind of file that shows more than a white square. First of all rename your copper layers so that they end with .gbr
i.e. TopLayer.grb
. Make sure you rename your drill file from Drill.drl
to TopLayer.drl
as pcb-msla
currently assumes the drill file is named like the files containing the copper layer. Make also sure both files are located in the same directory. With everything in place, run the following command:
$ pcb-msla convert TopLayer.gbr esp32.cbddlp
.
I will have a look at the ziped files later to make sure they work on my machine. By the way, how did you generate the image you posted above?
I'm also working on a YouTube video which explains the usage of this tool in more detail. But i don't want to release the video as long as pyphotonfile
is broken. I hope, once the video is released things will be a bit easier to understand.
Hi there,
i have a Gerber Project i downloaded from EASYEDA Community. The Files come in a Zip and Split into .GBL and .DRL files.
I'm running the following command :
pcb-msla convert -e 540 [FILE] esp32.cbddlp
I tried running the
Gerber_Drill_PTH.DRL
through it (renamed toDrill.drl
) , even though its probably not what i want.I'm greeted with
If i just rename my
Gerber_TopLayer.GTL
toTopLayer.drl
(changed FileEnding to from.GTL
to.drl
) and run it with this File, i do get an Output :However the File is Blank.
I bundled all the Files in a neat .zip if you choose to look at this. Gerber.zip Otherwise just go ahead and close / delete this Issue.
I assume the confusion is born from me not having enough Knowledge on the Topic.