-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi
First thanks a lot for this it is really appreciated.
I'm trying to change the color of layers before to export to PDF, but it is not working, no color change. I"m on kali linux (debian), and python 2.7. Here is the script:
import cups
import PyGerbv
prj = PyGerbv.Project()
drill=prj.open_layer_from_filename("usbasp.drl")
drill.mirror(1,0)
drill.color=(0,1,1,1)
drill.alpha=1
top=prj.open_layer_from_filename("usbasp-F.Cu.gtl")
top.mirror(1,0)
top.color=(0,1,1,1)
top.alpha=1
w=5
h=5
prj.export_pdf_file("usbasp-F.Cu.pdf", (w, h )) Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels