[PCB_Print] Fixed problems with filtered/modified PCBs
This commit is contained in:
parent
c4b1d6b8ad
commit
3e922b6009
|
|
@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Fixed
|
### Fixed
|
||||||
- OAR computation (Report) (#225)
|
- OAR computation (Report) (#225)
|
||||||
- Position: Problems when doing manual panelization (repeated references) (#224)
|
- Position: Problems when doing manual panelization (repeated references) (#224)
|
||||||
|
- PCB_Print: Problems with filtered/modified PCBs
|
||||||
|
|
||||||
|
|
||||||
## [1.2.0] - 2022-06-15
|
## [1.2.0] - 2022-06-15
|
||||||
|
|
|
||||||
|
|
@ -522,7 +522,7 @@ class PCB_PrintOptions(VariantOptions):
|
||||||
if len(zones):
|
if len(zones):
|
||||||
ZONE_FILLER(GS.board).Fill(zones)
|
ZONE_FILLER(GS.board).Fill(zones)
|
||||||
# Add it to the list
|
# Add it to the list
|
||||||
filelist.append((GS.pcb_basename+"-"+suffix+".svg", self.pad_color))
|
filelist.append((pc.GetPlotFileName(), self.pad_color))
|
||||||
|
|
||||||
def plot_vias(self, la, pc, p, filelist, via_t, via_c):
|
def plot_vias(self, la, pc, p, filelist, via_t, via_c):
|
||||||
id = la._id
|
id = la._id
|
||||||
|
|
@ -602,7 +602,7 @@ class PCB_PrintOptions(VariantOptions):
|
||||||
if len(zones):
|
if len(zones):
|
||||||
ZONE_FILLER(GS.board).Fill(zones)
|
ZONE_FILLER(GS.board).Fill(zones)
|
||||||
# Add it to the list
|
# Add it to the list
|
||||||
filelist.append((GS.pcb_basename+"-"+suffix+".svg", via_c))
|
filelist.append((pc.GetPlotFileName(), via_c))
|
||||||
|
|
||||||
def add_frame_images(self, svg, monochrome):
|
def add_frame_images(self, svg, monochrome):
|
||||||
if (not self.plot_sheet_reference or not self.frame_plot_mechanism == 'internal' or
|
if (not self.plot_sheet_reference or not self.frame_plot_mechanism == 'internal' or
|
||||||
|
|
@ -937,7 +937,7 @@ class PCB_PrintOptions(VariantOptions):
|
||||||
pc.OpenPlotfile(la.suffix, PLOT_FORMAT_SVG, p.sheet)
|
pc.OpenPlotfile(la.suffix, PLOT_FORMAT_SVG, p.sheet)
|
||||||
pc.PlotLayer()
|
pc.PlotLayer()
|
||||||
pc.ClosePlot()
|
pc.ClosePlot()
|
||||||
filelist.append((GS.pcb_basename+"-"+la.suffix+".svg", la.color))
|
filelist.append((pc.GetPlotFileName(), la.color))
|
||||||
self.plot_extra_cu(id, la, pc, p, filelist)
|
self.plot_extra_cu(id, la, pc, p, filelist)
|
||||||
self.plot_realistic_solder_mask(id, temp_dir, filelist[-1][0], filelist[-1][1], p.mirror, p.scaling)
|
self.plot_realistic_solder_mask(id, temp_dir, filelist[-1][0], filelist[-1][1], p.mirror, p.scaling)
|
||||||
# 2) Plot the frame using an empty layer and 1.0 scale
|
# 2) Plot the frame using an empty layer and 1.0 scale
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue