Salvador E. Tropea
3382b4fe7b
Fixed the way options with arguments are passed to kicad2step.
2020-06-15 15:58:08 -03:00
Salvador E. Tropea
ef64a57697
Documented the fact that current kicad2step program never fails.
...
Well, it fails, but returns 0.
2020-06-15 15:17:09 -03:00
Salvador E. Tropea
2766b5afcb
Added STEP file output
2020-06-15 13:21:24 -03:00
Salvador E. Tropea
8fbcffba0f
Bumped version to 0.3.0
2020-06-14 15:28:25 -03:00
Salvador E. Tropea
0d9256fb24
The 'check_zone_fills' option is now independent of 'run_drc'
...
Implemented in a different way.
For all internal commands now we use Python bindings to fill the zones as
suggested by @arikrupnik in johnbeard/kiplot#11
For 'print_pcb' now we ask KiCad to do it before printing (needs v1.4.1)
2020-06-14 15:12:56 -03:00
Salvador E. Tropea
406a9ab374
Fixed gzip exception name.
2020-06-14 12:02:15 -03:00
Salvador E. Tropea
4101f69cd4
Added support for compressed YAML files.
2020-06-14 11:05:08 -03:00
Salvador E. Tropea
61f1ebbab2
Better debug info, fixed errors and no .kicad_pcb dependency
...
- When a BoM operation fails now we show the output of the child process.
(Only enabled when using debug verbosity)
- The error levels 1 and 2 were overlapped with internal Python codes.
- Now we delay the PCB load until we really need it. Which could be never.
2020-06-12 15:10:56 -03:00
Salvador E. Tropea
aef19e31c7
Bumped version to 0.2.5
2020-06-11 13:10:45 -03:00
Salvador E. Tropea
c390ec3cb8
Added support for kicad-automation-tools v1.4.0 DRC/ERC filters
2020-06-09 13:49:04 -03:00
Salvador E. Tropea
9e3865d881
Removed another redundant makedirs.
2020-05-26 19:28:14 -03:00
Salvador E. Tropea
46248a6e2e
Removed redundant checks to create the output dir.
...
They became useless after adding it to _configure_output_dir
2020-05-26 19:15:10 -03:00
Salvador E. Tropea
be7a613fc8
Removed os import on plot_config.py. No longer used.
2020-05-26 19:14:10 -03:00
Salvador E. Tropea
ee7de07ee4
Removed impossible error condition
2020-05-26 14:55:04 -03:00
Salvador E. Tropea
6c5c33be12
Excluded from coverage an internal error.
...
Is code that gets executed only if we are in the middle of an
implementation.
2020-05-26 14:52:54 -03:00
Salvador E. Tropea
9f60eca419
Removed two PlotConfig members formerly used for testing.
2020-05-26 14:45:19 -03:00
Salvador E. Tropea
3b7bfe40f7
Set the domain for log messages so we get "kiplot..." and not "kilog...."
2020-05-26 14:33:34 -03:00
Salvador E. Tropea
103ef8b79e
Fixed: Most formats that needed layers didn't complain when ommited
2020-05-26 13:50:38 -03:00
Salvador E. Tropea
bb6bae95a2
Excluded from coverage the fatal case case when python-yaml isn't installed.
2020-05-26 12:43:14 -03:00
Salvador E. Tropea
53be46e1fe
Fixed the pragma in __main__ (typo)
2020-05-26 12:27:48 -03:00
Salvador E. Tropea
9672871ebe
Excluded the module import main() exclusion from coverage
2020-05-26 12:23:01 -03:00
Salvador E. Tropea
153d967015
Excluded an "internal error check" from coverage and commented why.
2020-05-25 20:01:31 -03:00
Salvador E. Tropea
1dda835cc5
Removed some dead code about configurations.
...
_configure_plot_ctrl is called only for "layer" outputs, there is no
point trying to configure other formats.
Also some of the "configuration" were ridiculous calls with an assert
that only tested Python's sanity. Probably optimized out by python
compiler.
2020-05-25 19:23:11 -03:00
Salvador E. Tropea
c22ccb607a
Fixed: All pcbnew plot formats generated gerber job files
2020-05-25 18:31:31 -03:00
Salvador E. Tropea
b053017284
Tolerate config files without outputs
2020-05-20 10:36:28 -03:00
Salvador E. Tropea
da94eb3f57
Excluded from coverage the test for pcbnew import
2020-05-20 09:24:59 -03:00
Salvador E. Tropea
84831cbdfc
Bumped version to 0.2.4.
2020-05-19 12:14:06 -03:00
Salvador E. Tropea
26b4f5c385
Adapted to kicad-automation-scripts 1.3.x
2020-05-19 12:09:19 -03:00
Salvador E. Tropea
bcfaead5f1
Fixed: for print_sch, when the PCB name included a path, it wasn't removed and the
...
output pointed to a mix of both paths, failing.
2020-05-19 11:37:51 -03:00
Salvador E. Tropea
da09a617c4
Problems for kibom output when the PCB name included a path
2020-05-15 10:38:26 -03:00
Salvador E. Tropea
a58d99325a
Added assert for the pcbnew initialization. Also made some debug messages more clear.
...
I'm getting errors when the test is done using --plot_dir
2020-05-14 09:41:18 -03:00
Salvador E. Tropea
ba22eae5b8
Tunned flake8 and removed all unfiltered warnings and errors
2020-04-28 17:56:50 -03:00
Salvador E. Tropea
c554c6e71c
Bumped version to 0.2.3
2020-04-23 14:40:33 -03:00
Salvador E. Tropea
67403b2353
Added option to list available targets
2020-04-23 14:39:05 -03:00
Salvador E. Tropea
28328d924d
Bumped version to 0.2.2
2020-04-20 18:35:59 -03:00
Salvador E. Tropea
90004f923a
Removed KiBoM temporal files
2020-04-20 17:46:22 -03:00
Salvador E. Tropea
92980bb8fa
Fixed pre-flight tasks that didn't honor --out-dir
2020-04-20 17:45:18 -03:00
Salvador E. Tropea
7805af77a6
Bumped version to 0.2.1
2020-04-18 16:06:22 -03:00
Salvador E. Tropea
540a0b080d
Fixed problem when the excellon drill target directory didn't exist (now created)
2020-04-18 15:56:53 -03:00
Salvador E. Tropea
41c0c726cd
Bumped version to 0.2.0
2020-03-28 16:43:15 -03:00
Salvador E. Tropea
467c995c07
Added --version option
2020-03-28 16:42:33 -03:00
Salvador E. Tropea
0fa2eaf629
Added error when no -b option and we can't guess the PCB file
2020-03-23 22:41:10 -03:00
Salvador E. Tropea
33736e5cb1
Made -c option optional, now we guess the config
2020-03-23 22:37:17 -03:00
Salvador E. Tropea
d5f1c27591
Made -b option optional, now we guess the board.
2020-03-23 22:21:54 -03:00
Salvador E. Tropea
82e4cba655
Added inner layers check for the pdf_pcb_print type
2020-03-23 01:06:04 -03:00
Salvador E. Tropea
e7d5accaa6
Put PlotError for the case of an incorrect inner layer.
2020-03-23 01:01:35 -03:00
Salvador E. Tropea
0a018e8b2b
Added a catch for KiPlotConfigurationError errors and printed it with context.
2020-03-23 00:42:48 -03:00
Salvador E. Tropea
9747d6457c
Removed the PlotError exception in favor of simple error messages
2020-03-22 21:07:01 -03:00
Salvador E. Tropea
9267597330
Made flake8 compliant
2020-03-22 20:16:57 -03:00
Salvador E. Tropea
d4f12a1d13
Unified the YAML errors, added more context information
2020-03-22 13:02:17 -03:00