From 8a87a677e285e183ae34d236d3620ce08a987c38 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 19 Oct 2020 13:36:02 -0300 Subject: [PATCH] Fixed plot constant names Too much cut & paste --- kibot/out_dxf.py | 2 +- kibot/out_ps.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kibot/out_dxf.py b/kibot/out_dxf.py index 1221b4ef..162de122 100644 --- a/kibot/out_dxf.py +++ b/kibot/out_dxf.py @@ -3,7 +3,7 @@ # Copyright (c) 2020 Instituto Nacional de TecnologĂ­a Industrial # License: GPL-3.0 # Project: KiBot (formerly KiPlot) -from pcbnew import (PLOT_FORMAT_HPGL) # , SKETCH, FILLED Bug: https://gitlab.com/kicad/code/kicad/-/issues/6070 +from pcbnew import (PLOT_FORMAT_DXF) # , SKETCH, FILLED Bug: https://gitlab.com/kicad/code/kicad/-/issues/6070 from .out_any_layer import AnyLayer from .drill_marks import DrillMarks from .macros import macros, document, output_class # noqa: F401 diff --git a/kibot/out_ps.py b/kibot/out_ps.py index 56dabdb5..f1f63179 100644 --- a/kibot/out_ps.py +++ b/kibot/out_ps.py @@ -5,7 +5,7 @@ # License: GPL-3.0 # Project: KiBot (formerly KiPlot) # Adapted from: https://github.com/johnbeard/kiplot -from pcbnew import (PLOT_FORMAT_HPGL, FromMM, ToMM) # , SKETCH, FILLED Bug: https://gitlab.com/kicad/code/kicad/-/issues/6070 +from pcbnew import (PLOT_FORMAT_POST, FromMM, ToMM) # , SKETCH, FILLED Bug: https://gitlab.com/kicad/code/kicad/-/issues/6070 from .misc import AUTO_SCALE from .out_any_layer import AnyLayer from .drill_marks import DrillMarks