Re: [Kicad-developers] pcbnew.py: How to set plot color?

2017-03-19 Thread jp charras
Le 18/03/2017 à 21:49, Jon Evans a écrit : > JP, is this desired behavior? (I.e. should plot functions draw in layer > color, or draw in plotter > color?) > > I need to fix the plot functions depending on global function GetLayerColor() > in eeschema, and so > since I'll have to modify

Re: [Kicad-developers] pcbnew.py: How to set plot color?

2017-03-18 Thread Jon Evans
JP, is this desired behavior? (I.e. should plot functions draw in layer color, or draw in plotter color?) I need to fix the plot functions depending on global function GetLayerColor() in eeschema, and so since I'll have to modify schematic plotting functions anyway, I could change the behavior at

Re: [Kicad-developers] pcbnew.py: How to set plot color?

2017-03-18 Thread Martin Schreiber
On Saturday 18 March 2017 19:45:41 jp charras wrote: > Le 18/03/2017 à 19:30, Martin Schreiber a écrit : > > On Saturday 18 March 2017 17:35:53 jp charras wrote: > >> Currently, plot functions overwrite the initial setting made by > >> popt.SetColor(color). > > > > Sorry, I don't understand. What

Re: [Kicad-developers] pcbnew.py: How to set plot color?

2017-03-18 Thread jp charras
Le 18/03/2017 à 19:30, Martin Schreiber a écrit : > On Saturday 18 March 2017 17:35:53 jp charras wrote: > >> >> Currently, plot functions overwrite the initial setting made by >> popt.SetColor(color). > > Sorry, I don't understand. What does this mean? It means you cannot set the plot color in

Re: [Kicad-developers] pcbnew.py: How to set plot color?

2017-03-18 Thread Martin Schreiber
On Saturday 18 March 2017 17:35:53 jp charras wrote: > > Currently, plot functions overwrite the initial setting made by > popt.SetColor(color). Sorry, I don't understand. What does this mean? Thank you very much, Martin ___ Mailing list:

Re: [Kicad-developers] pcbnew.py: How to set plot color?

2017-03-18 Thread jp charras
Le 18/03/2017 à 15:59, Martin Schreiber a écrit : > On Friday 03 February 2017 08:25:12 Martin Schreiber wrote: >> Hi, >> How can the plot color been set while using pcbnew.py? >> " >> [...] >> board = LoadBoard(apcbfilename) >> pctl = PLOT_CONTROLLER(board) >> popt = pctl.GetPlotOptions() >>

Re: [Kicad-developers] pcbnew.py: How to set plot color?

2017-03-18 Thread Martin Schreiber
On Friday 03 February 2017 08:25:12 Martin Schreiber wrote: > Hi, > How can the plot color been set while using pcbnew.py? > " > [...] > board = LoadBoard(apcbfilename) > pctl = PLOT_CONTROLLER(board) > popt = pctl.GetPlotOptions() > popt.SetOutputDirectory(aoutputdir) >

[Kicad-developers] pcbnew.py: How to set plot color?

2017-02-02 Thread Martin Schreiber
Hi, How can the plot color been set while using pcbnew.py? " [...] board = LoadBoard(apcbfilename) pctl = PLOT_CONTROLLER(board) popt = pctl.GetPlotOptions() popt.SetOutputDirectory(aoutputdir) popt.SetPlotFrameRef(False) popt.SetLineWidth(FromMM(0.35)) popt.SetAutoScale(False)