Salvador E. Tropea
0e2d7f7ba4
More control over the name of the drill files.
...
The %i value can be set for N/PTH outputs.
2021-01-13 15:29:20 -03:00
Salvador E. Tropea
6efd735a74
Now layers can be selected using the default KiCad names.
2021-01-13 12:35:53 -03:00
Salvador E. Tropea
bb4de91672
Fixed extra data about drill marks in gerber files.
...
We must use SetDrillMarksType(0) for gerbers.
2021-01-13 11:44:20 -03:00
Salvador E. Tropea
65833dc333
Internal BoM: The "Quantity" column no longer includes the DNF/C status.
...
- This status was moved to a separated column named `Status`.
- You can join both columns if you want.
Some people pointed out that adding characters to the qty column prevents
computations applied to the CSV files.
2021-01-12 15:21:34 -03:00
Salvador E. Tropea
e0ab45e95d
Now the default output name applies to the DRC and ERC report names.
...
This provides more coherent file names.
2021-01-12 13:44:09 -03:00
Salvador E. Tropea
45ac28a6bf
Added support for KICAD_CONFIG_HOME defined from inside KiCad
2021-01-08 12:47:15 -03:00
Salvador E. Tropea
9a1e1f39e7
Internal BoM: added `no_conflict` option.
...
Used to exclude fields from conflict detection.
2021-01-05 12:09:29 -03:00
Salvador E. Tropea
d334599e3b
Bumped version to 0.9.0.
2021-01-04 16:32:06 -03:00
Salvador E. Tropea
c626f864f9
The step output now can download missing 3D models.
2020-12-30 15:22:00 -03:00
Salvador E. Tropea
7165750496
Added some documentation about the rotation filter.
2020-12-29 10:44:48 -03:00
Salvador E. Tropea
4a3e7faace
Added a new filter used to rotate footprints.
...
Used to generate position files for some manufacturers like JLC.
Also in this patch:
- Now position files are naturally sorted (R10 after R9, not after R1)
- Position files in CSV format quotes only the columns that could
contain an space. Just like KiCad does.
- Fixed: Generic filter `include_only` option worked only when debug
enabled.
2020-12-28 18:26:27 -03:00
Salvador E. Tropea
0f7a55dc8b
Added support to generate negative X positions for the bottom layer
2020-12-28 09:30:33 -03:00
Salvador E. Tropea
9f8ecff5d1
Added support to rename fields matching the variant to value.
2020-12-23 12:11:39 -03:00
Salvador E. Tropea
986f0c7157
KiBoM variants: support to field overwrite according to variant
2020-12-18 15:39:58 -03:00
Salvador E. Tropea
bb3087c996
Added a hint for pip installations without using `--no-compile`.
...
Closes #31
2020-12-16 12:40:56 -03:00
Salvador E. Tropea
26d81d6475
Added support for missing field names in libraries.
...
- Closes #32
- Reported on SnapEda libs
2020-12-16 12:16:03 -03:00
Salvador E. Tropea
d201843b6a
File name patterns are allowed for the `netlist_file` option.
...
- Closes #33
- File name patterns: %F is the name of the source file without
extension, but with the path.
2020-12-16 11:10:36 -03:00
Salvador E. Tropea
4d0a154632
Bumped version to 0.8.1
2020-12-09 12:58:01 -03:00
Salvador E. Tropea
7248258672
Added Internal BoM HTML details.
...
- highlight cell when hover.
- allow to jump to REF of row number using anchors.
2020-12-09 11:32:37 -03:00
Salvador E. Tropea
1248e92b95
Fixed Internal BoM separator wasn't applied when using `use_alt`
...
From the SchrodingersGat/KiBoM#145 PR.
2020-11-11 14:32:20 -03:00
Salvador E. Tropea
019cb0c8a4
Bumped version to 0.8.0.
...
Also Python version to 3.6 (mcpyrate)
2020-11-06 13:51:19 -03:00
Salvador E. Tropea
577713efeb
Fixed excellon drill output.
...
When using unified output and not using default KiCad names.
Fixes #25
2020-11-02 16:07:05 -03:00
Salvador E. Tropea
b27872d7e8
Fixed problems when using the `pdf_pcb_print` on special case.
...
When using variants to remove a component with ridiculous pads
that only has solder paste (no copper, nor even solder mask
aperture).
2020-10-27 17:58:51 -03:00
Salvador E. Tropea
de9628e5c1
Added columns configuration for position files.
...
You can customize which columns are used, their names and order.
Closes #22
2020-10-23 14:18:11 -03:00
Salvador E. Tropea
86ead74c27
Added KiBot warning filters.
...
- Closes #15
- This patch also changes the logging initialization, that was broken at
some recent point.
- Also adds tests to ensure the mechanism used to avoid repeated
warnings is working.
2020-10-12 16:31:47 -03:00
Salvador E. Tropea
1aee407cb9
Fixed KiBom variants special cases.
...
When using multiple variants and a components used more than one,
specifying oposite rules.
2020-10-09 16:00:52 -03:00
Salvador E. Tropea
4ea81d80a3
Added test for filter help.
2020-10-09 11:59:13 -03:00
Salvador E. Tropea
71fe37cfc6
Support for new `pcbnew_do export` options.
2020-10-09 11:27:30 -03:00
Salvador E. Tropea
27e4c23236
Added support for reference separator in BoMs.
...
So you can get things like "R1, R2, R3"
From the following PR: SchrodingersGat/KiBoM#139
by @n0dyjeff
2020-09-19 17:35:31 -03:00
Salvador E. Tropea
f131be6bd9
Bumped version to 0.7.0
2020-09-11 17:55:03 -03:00
Salvador E. Tropea
af567b611f
Bumped version to 0.7.0rc2
2020-09-11 12:54:33 -03:00
Salvador E. Tropea
5be4a64293
Bumped version to 0.7.0rc1
2020-09-10 16:03:03 -03:00
Salvador E. Tropea
23e46df1c5
Added variants support to the PCB print (PDF)
...
Needs some adjustement, but is working.
2020-09-07 19:26:16 -03:00
Salvador E. Tropea
0e394b468b
Added variants support to the schematic SVG print.
2020-09-06 18:22:38 -03:00
Salvador E. Tropea
7e5791fcfa
Added variants to the IBoM output.
2020-09-05 17:48:25 -03:00
Salvador E. Tropea
d09400d49d
Added support for variants to the PcbDraw output.
2020-09-04 18:08:22 -03:00
Salvador E. Tropea
cf46a8ba86
Added variants support to the STEP output.
...
3D Models of excluded components are removed.
2020-09-03 18:50:30 -03:00
Salvador E. Tropea
49d0867001
Updated the changelog.
2020-09-03 17:20:38 -03:00
Salvador E. Tropea
6fa903ed8f
Added the schematic print variants support to the changelog.
2020-09-02 10:30:40 -03:00
Salvador E. Tropea
15cf4072e2
Added the new functionality to the CHANGELOG
2020-08-30 12:06:13 -03:00
Salvador E. Tropea
58fd473a41
Bumped version to 0.6.2.
2020-08-25 13:48:26 -03:00
Salvador E. Tropea
ee69de6e7d
Problems with PcbDraw when generating PNG and JPG.
...
Currently the script uses ImageMagick library. But the SVG conversion
is handled unreliably. ImageMagick has various backends to do it and
some of them don't work. I saw this problem many times, and is now
affecting my system. A more reliable conversion can be achieved using
`rsvg-convert`. Isn't as good as InkScape, but is smaller and works
well.
In the process I'm trimming the extra blank space generated by
PcbDraw when we have objects in layers like "User Drawings" that
extends beyond the PCB size.
I'm also compressing JPGs more aggressively, this makes a real
difference between PNG and JPG outputs. Otherwise the difference
is too small.
2020-08-25 13:16:49 -03:00
Salvador E. Tropea
e08f70e78e
No warnings about malformed value for DNFs
...
Now if the component value is any of the DNF values we avoid parsing it
as a real value.
2020-08-25 09:21:55 -03:00
Salvador E. Tropea
d80b145af9
Now extra spaces in user fields are discarded.
...
The code strips spaces at the beggining and end of user field values.
2020-08-25 09:12:46 -03:00
Salvador E. Tropea
140a45fdc6
Fixed variants BoM logic.
...
The variants logic for BoMs when a component resquested to be only
added to more than one variant.
This is related to SchrodingersGat/KiBoM#136 issue.
2020-08-24 10:53:56 -03:00
SET
c1d9dd3bfa
Bumped version to 0.6.1.
...
Updated CHANGELOG and Debian version.
Also minor details in Debian dependencies.
2020-08-20 10:16:05 -03:00
SET
bcb25979c3
Updated the changelog for v0.6.0
2020-08-18 13:23:09 -03:00
SET
6ed344cfd6
Updated the README, generic example and CHANGELOG.
...
SVG output for all and internal BoM for the CHANGELOG.
2020-08-16 17:37:48 -03:00
Salvador E. Tropea
7dc94bf7be
Added default output file name pattern.
...
Can be applied to all outputs.
2020-07-23 18:26:03 -03:00
Salvador E. Tropea
43b97db20c
Now IBoM output file is coherent with other outputs.
...
The user can select the IBoM name mechanism, but the default is to use
a name coherent with all the other outputs.
2020-07-22 19:51:35 -03:00
Salvador E. Tropea
64bbf3d6e3
Updated the documentation and example.
...
- Output filenames changes.
- KiBoM configuration.
2020-07-22 18:35:24 -03:00
Salvador E. Tropea
d5168c37cd
Added filename expansion for SCH related outputs.
...
pdf_sch_print is the first to support it.
2020-07-13 19:20:25 -03:00
Salvador E. Tropea
9d10c991da
Changed default name for step files (adds -3D)
2020-07-12 18:55:08 -03:00
Salvador E. Tropea
031c69e27c
Added `position` output configuration.
2020-07-12 18:46:37 -03:00
Salvador E. Tropea
36eedc9fce
Added `drill` output configuration
2020-07-12 17:43:15 -03:00
Salvador E. Tropea
b8b1277f5f
Drill map file names can be configured.
2020-07-12 17:01:23 -03:00
Salvador E. Tropea
41de8c032c
Added `output` option to control the file name to all plot output formats.
2020-07-12 13:00:38 -03:00
Salvador E. Tropea
e2854ef524
Added gerber.gerber_job_file option to control the gerber job file name.
2020-07-12 12:28:00 -03:00
Salvador E. Tropea
63999aa009
Preflight filters parsed by Optionable class.
...
This makes the filters similar to output options.
- Adds coherence to error messages.
- Enable aliases (used the ones suggested by @leoheck)
Additionally now the README.md preflights documentation comes directly
from --help-preflights
2020-07-12 11:52:44 -03:00
Salvador E. Tropea
9fdc02ecea
Added aliases for options.
...
The test case is the pdf_pcb_print.output_name, which is different than
other *.output options. Now output_name is an alias for output.
2020-07-12 09:41:16 -03:00
Salvador E. Tropea
2dab2417e0
Bumped version to 0.5.0
2020-07-11 14:02:09 -03:00
Salvador E. Tropea
52e6bb1b5f
Added support for PcbDraw
2020-07-11 13:49:03 -03:00
Salvador E. Tropea
38baa62cbe
Fixed ERC/DRC error count report.
2020-07-08 19:28:07 -03:00
Salvador E. Tropea
922b853084
Fixed ignore_unconnected.
...
Also added a test and a test for the error type.
Additionally the BasePreflight now provides default run/apply members.
2020-07-08 16:29:30 -03:00
Salvador E. Tropea
4368364489
Refactored the BaseOutput class to make it more similar to the YAML
...
Now the options are just an attribute of the outputs.
It means we have a set of classes for the options.
All the output content is parsed by the classes, including the Layers.
Now the layers support a simple string (with interesting shortcuts), a list of
strings or the original list of dicts.
2020-07-08 15:17:24 -03:00
Salvador E. Tropea
ee11ecf8e7
Added number, variant, conf and separator KiBoM options.
2020-07-02 23:30:57 -03:00
Salvador E. Tropea
ec35d2443f
Added option to copy plot options from the PCB to the YAML example.
...
Also added DXF.metric_units and updated the README.
2020-07-01 20:43:03 -03:00
Salvador E. Tropea
3a1d5d0652
Added pen_number and pen_speed HPGL options
2020-07-01 11:11:33 -03:00
Salvador E. Tropea
4ae54f3ded
Added --example/-x option to generate a configuration example.
...
The example contains all the available preflights and outputs.
If the user specifies a PCB the names of the layers are from the provided PCB
2020-06-30 20:09:14 -03:00
Salvador E. Tropea
3c6f4950c7
Now the schematic can be specified separately.
...
We now test if the PCB and/or SCH are there only when we need them.
2020-06-29 19:25:54 -03:00
Salvador E. Tropea
42d1f14056
Now layers are solved when we really need it.
...
So we can do some operations (like --list) without loading the board.
Also: now the names for the layers are asked to pcbnew classes (not from file)
2020-06-29 12:55:02 -03:00
Salvador E. Tropea
c82c2f0c39
Added support for all the missing IBoM options.
...
Note that variants_blacklist and variants_whitelist needs a fresh IBoM.
These options didn't work and crashed IBoM. It was reported as a result of
the tests included in this commit.
2020-06-27 15:04:35 -03:00
Salvador E. Tropea
2f0f3f755d
Changed the command line parser from argparse to docopt.
...
This make the code cleaner and better documented.
Now the usage is more clear, and also a little bit more strict.
I'm using a modified docopt because I preffer using args.option instead of
args['--option'], I also fixed a few flake8 issues in docopt.py.
2020-06-26 12:04:56 -03:00
Salvador E. Tropea
46a20404a4
Added preflights help.
2020-06-25 10:31:23 -03:00
Salvador E. Tropea
523aaa2ace
Added the map/report stuff to the changelog.
2020-06-25 09:43:14 -03:00
Salvador E. Tropea
6295b00657
Implemented the `sketch_plot` option.
2020-06-24 12:00:53 -03:00
Salvador E. Tropea
090aa6b8f1
Removed the "plot" option "check_zone_fills".
...
Not used and overlapped with the preflight option.
2020-06-24 11:26:08 -03:00
Salvador E. Tropea
ac4ae89aba
Added command line help for the outputs.
...
--help-list-outputs list supported outputs
--help-outputs list details for the supported outputs
--help-output OUTPUT shows the help for this particular output
2020-06-24 11:02:17 -03:00
Salvador E. Tropea
c2c221151b
Bumped version to 0.4.0.
2020-06-17 15:38:49 -03:00
Salvador E. Tropea
7df1e9fe87
Added documentatio for the new output
2020-06-15 16:18:40 -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
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
16e587f7c6
Added new feature to the changelog.
2020-06-09 14:07:21 -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
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
84831cbdfc
Bumped version to 0.2.4.
2020-05-19 12:14:06 -03:00
Salvador E. Tropea
c22b4862ca
Updated the changelog
2020-05-19 11:40:24 -03:00
Salvador E. Tropea
1128a251b2
Added a changelog with changes for this fork
2020-05-15 10:38:48 -03:00