Commit Graph

600 Commits

Author SHA1 Message Date
Salvador E. Tropea 1507300fe4 Added option to generate a better frame on pcb_print (KiCad 6)
- Also documented more details about pcb_print.
2022-04-11 19:02:26 -03:00
Salvador E. Tropea 267a38c32f Documented the %X substitutions for SVG output in pcb_print 2022-04-11 17:37:03 -03:00
Salvador E. Tropea 4e659c3ddd Added support for SVG to `pcb_print`
- And now is much faster because all the processing is done using
  SVGs and we generate PDFs only during the last step.
2022-04-11 17:24:39 -03:00
Salvador E. Tropea 510279a0a3 Added support for frame to `pcb_print` on KiCad 5
- This is tricky because plot API doesn't support it.
  So we use `pcbnew_do` to generate an SVG and then we make a
  vectorized PDF from it.
2022-04-11 12:40:39 -03:00
Salvador E. Tropea 3752bcb53e Finished adding all the plot options to `pcb_print`
- Now is you can get most of the good things from both: print and plot
  in the same output.
- Is usually much faster than `pdf_pcb_print`
2022-04-08 15:01:10 -03:00
Salvador E. Tropea 900be375e9 Added a first approach to Board2Pdf support. 2022-04-05 16:36:02 -03:00
Salvador E. Tropea 9e1f645c31 Fixed problems when using page layout files with relative paths.
Fixes #174
2022-04-04 18:02:31 -03:00
Salvador E. Tropea 1eca6ffe9f Links to KiCad 5/6 arduprog examples. 2022-03-29 17:11:32 -03:00
Salvador E. Tropea b58430a8ea Added support for 3D View rotations (KiCad 6 only) 2022-03-29 15:49:33 -03:00
Salvador E. Tropea 3c13ae1ccb Added KiCad 6 color themes to PDF/SVG PCB Print 2022-03-28 15:37:52 -03:00
Salvador E. Tropea 5ec8892457 Updated docs for the GitHub action. 2022-03-25 12:25:23 -03:00
Salvador E. Tropea 6d0a3b2bd3 Updated GitHub action help. 2022-03-25 11:37:26 -03:00
Salvador E. Tropea 7e2e844a4b Added a preflight option to save the PCB with refilled zones.
Closes #165
2022-03-24 13:30:18 -03:00
Salvador E. Tropea b5d5bea324 Made more clear which preflight options modifies files
- Also unified to "preflight" (more common than pre-flight)
Related to #165
2022-03-24 13:08:51 -03:00
Salvador E. Tropea beee95ce31 Merged the kicost_dk branch:
- New internal BoM XLSX options to control KiCost:
  - Dis/Enable APIs
  - Add a description column
  - Specs worksheet generation
  - Which spec columns
  - Specify a KiCost config file
- Passed debug level to KiCost
- Added support for KiCost log style to our logger
2022-03-24 09:47:47 -03:00
Salvador E. Tropea afc499e055 Added support for Pandoc 2.2.1
- Used on Debian 10.x
- Doesn't support "--to pdf", but can generate PDFs ...
2022-03-17 14:42:51 -03:00
Salvador E. Tropea 6b6d22afa8 Added report conversion using pandoc 2022-03-17 12:13:51 -03:00
Salvador E. Tropea dd210162b7 Updated docs (KiCad version for *_replace preflights) 2022-03-13 15:58:06 -03:00
Salvador E. Tropea 1824d56876 Added a preflight to define KiCad 6 variables.
Closes #161
2022-03-12 18:44:08 -03:00
Salvador E. Tropea 914d8da146 Small additions to the docs
- 2 contributors
- Fixed one word
2022-03-08 16:06:17 -03:00
Salvador E. Tropea cb47cf3042 New output to export PCB in GENCAD format.
Closes #159
2022-03-08 15:55:34 -03:00
Salvador E. Tropea 86aa7b6357 New preflight to annotate according to PCB coordinates
Related to #93
2022-03-08 14:33:38 -03:00
Salvador E. Tropea 0c0c6ffd62 New output to join PDFs.
Closes #156
2022-03-03 16:13:00 -03:00
Salvador E. Tropea 562e36d6f5 Added output to print PCB layers in SVG format
- Also added support for them in the reports
- Changed the full report to use them
2022-03-03 13:13:46 -03:00
Salvador E. Tropea 27c987217c New preflight to annotate power components
Closes #76
2022-02-26 13:21:40 -03:00
Salvador E. Tropea 6281a40335 Fixed spelling 2022-02-16 19:56:04 -03:00
Salvador E. Tropea ee74b1572b Made all YAML files more coherent
- Better indentation
- Coherent spaces in lists
- Coherent spacesn after :
2022-02-16 18:29:53 -03:00
Salvador E. Tropea 5fb64472db Adjusted the generated YAML example to be more coherent
- Fixed list on list indentation
- No extra EOL at EOF
-  No trailing spaces on some examples
2022-02-16 18:28:05 -03:00
Salvador E. Tropea 7781582962 Made executable some scripts 2022-02-16 17:39:18 -03:00
Salvador E. Tropea a2cbdd25ac Removed trailing spaces 2022-02-16 17:35:31 -03:00
Salvador E. Tropea aa48cc3187 Forced files to end in a single new line 2022-02-16 17:34:34 -03:00
Salvador E. Tropea 3047ab3031 Fixed the YAML example, wrongly quoted string 2022-02-16 17:29:48 -03:00
Salvador E. Tropea b2ab00f6cb Added global *units* option
Solves the KiCad 6 dimensions issue. See #146
2022-02-14 15:42:54 -03:00
Salvador E. Tropea 5d2d0a4195 Added MacroFab XYRS support
- Internal BoM options:
  - `angle_positive`
  - `csv.hide_header`
  - `footprint_populate_values`
  - `footprint_type_values`
  - `units` mils
- Columns:
  - `Footprint Type`
  - `Footprint Populate`
  - `Footprint X-Size`
  - `Footprint Y-Size`
2022-02-14 13:49:56 -03:00
Salvador E. Tropea edbe29740b Internal BoM: XYRS support
- Now the `bom` output can generate files like `position`
2022-02-11 11:45:43 -03:00
Salvador E. Tropea 644f6d1fda Internal BoM: Added footprint X, Y, rotation and side columns
- First step towards XYRS support
2022-02-11 11:01:14 -03:00
Salvador E. Tropea 80c62da988 Added KiCad 6 details to the README 2022-01-18 13:41:30 -03:00
Salvador E. Tropea 596f360830 More updates to the docs and examples about the %I addition 2022-01-16 13:23:13 -03:00
Salvador E. Tropea bad87d4c50 Updated defaultr output pattern in example file 2022-01-16 11:10:53 -03:00
Salvador E. Tropea 278de8fb16 Added report generation (for design house)
Related to #93
2022-01-15 15:47:48 -03:00
Salvador E. Tropea 4bba7e9a9a Added global options to define the PCB details. 2022-01-14 13:42:04 -03:00
Salvador E. Tropea 926d6eb24c Added support for `--subst-models` option for KiCad 6's kicad2step.
Closes #137
2022-01-13 19:51:59 -03:00
Salvador E. Tropea be59ee397e Added support for KiCad 6 to the `update_qr` preflight.
Related to #93
2022-01-04 16:52:12 -03:00
Salvador E. Tropea 7992fd9888 Added preflight option to update the QR codes.
- Needed for s-expression files
- Not working for KiCad 6 (bug in the Python API)
2022-01-04 10:21:59 -03:00
Salvador E. Tropea 5017f7e078 Added QR codes generation: symbols and footprints.
Related to #93
2022-01-03 12:35:33 -03:00
Salvador E. Tropea 1eefdeb5a3 Added support for upto 9 comment lines (KiCad 6) 2021-12-31 11:43:03 -03:00
Salvador E. Tropea 64bfc4824d Added `--cli-order` option to generate outputs in arbitrary order.
- Also updated some output details in the README
Related to #106
2021-12-31 10:40:17 -03:00
Salvador E. Tropea bb27491313 Added: position files now can include virtual components.
Related to #106
2021-12-30 12:21:41 -03:00
Salvador E. Tropea c91d84c1f3 Added some very basic variant support to KiCost output
- Just support a very basic KiCost variant, delegated to KiCost
- Related to #106
2021-12-30 11:30:17 -03:00
Salvador E. Tropea 6d939bbdbe Added datasheets downloader
Closes #119
2021-12-29 15:20:54 -03:00
Salvador E. Tropea a72aac4e54 Added support for iBoM 2.4.1 2021-12-27 14:13:12 -03:00
Diego Capusotto 4fe6379b49 Added an option to remove the PCB edge on PCB print
- Only for KiCad 6 and only if printing to one page
- A tradition of discarding user options ...
2021-12-18 18:39:24 -03:00
Diego Capusotto 267cc38453 Fixed missing documentation for `route_mode_for_oval_holes` option
Closes #123
2021-12-17 08:57:45 -03:00
Diego Capusotto ea6a7c7ecb Updated the credits in the README. 2021-12-16 17:53:21 -03:00
Diego Capusotto 93f57ff6c6 KiCost: added `board_qty` as alias for `number` 2021-12-16 07:40:21 -03:00
Diego Capusotto 96a5f3da21 Added support for new KiCost options `split_extra_fields` and `board_qty`.
Closes #120
2021-12-15 17:39:01 -03:00
Diego Capusotto 3eb82bc86d Changed: The `%d/%sd/%bd` expansion patterns are now affected by the global `date_format`.
- Can be disabled using `date_reformat: false`.
- Related to #121
2021-12-15 17:15:49 -03:00
Diego Capusotto 71c7150baa Added support for \n and \t to text* options of join
Related to #108
2021-12-14 17:45:10 -03:00
Diego Capusotto 9be560e78d Now the text* options of join must include any separator
- Removed the space when used
- Related to #108
2021-12-14 16:49:46 -03:00
Diego Capusotto e2599731f7 Added `output_id` output option to be expanded by %I 2021-12-14 16:19:49 -03:00
Diego Capusotto 3de2c8de2a Added support for auto-detect of ray tracing end
- Needs KiAuto 1.5.14
- Enabled by default
2021-12-07 19:38:02 -03:00
Salvador E. Tropea a82f130ad9 Now you can compress files relative to the current working directory.
Related to #93
2021-12-03 19:30:11 -03:00
Salvador E. Tropea c02a4f814d Added some warnings about the replacement options. 2021-12-03 18:23:21 -03:00
Salvador E. Tropea 6a691cf362 Added pre-flight to replace in the PCB
- Also added some constrains to what can be substituted to avoid
  corrupting the files.
2021-12-03 16:52:04 -03:00
Salvador E. Tropea 9cd2581582 Added new pre-flight command to replace tags in the schematic.
Related to #93, but also an old idea floating around.
2021-12-03 14:37:53 -03:00
Salvador E. Tropea 9e4adf5286 Added patterns to expand the title blck comments.
Related to #93
2021-12-03 10:13:42 -03:00
Salvador E. Tropea 70fb334856 A mechanism to avoid running some outputs by default.
Related to #112
2021-12-02 18:47:40 -03:00
Salvador E. Tropea a430916a4a Now you get an error when defining two outputs with the same name. 2021-12-02 14:58:37 -03:00
Salvador E. Tropea 6392124f9f Added import for globals. 2021-12-02 10:33:19 -03:00
Salvador E. Tropea c324b0a848 Fix spelling in README.md
- This is basically #95, but applied in a way that we won't lose the
  changes after regenerating the docs.
- @SebastianGrau contributed the original changes.
2021-12-01 18:37:58 -03:00
Salvador E. Tropea 995219a8ea Added option to add text to the `join` in the internal BoM
Related to #104
2021-12-01 18:07:41 -03:00
Salvador E. Tropea 094e58eab6 Fixed example to use null instead of None
- YAML's null is the equivalent of Python None
- Related to #116
2021-12-01 16:25:55 -03:00
Salvador E. Tropea a503c5fdc6 Added global options to control the date format. 2021-12-01 14:59:36 -03:00
Salvador E. Tropea 779399c4db Documented the global `out_dir` option. 2021-12-01 14:18:56 -03:00
Salvador E. Tropea 95135c8c56 New expansion patterns and out_dir from global section.
- Also added expansion in out_dir
- Related to #116
2021-11-30 19:12:14 -03:00
Salvador E. Tropea fadb255781 Changed examples to avoid schematic dependencies.
Closes #118
Now the examples use `_none` as empty filter.
2021-11-30 15:07:43 -03:00
Salvador E. Tropea 3acaa42574 Added in SCH PDF Print: monochrome and no frame options. 2021-11-25 11:31:23 -03:00
Salvador E. Tropea f9a2aac01b Changed %v/%V to also icnlude the global variant
Closes #104
2021-11-22 16:22:52 -03:00
Salvador E. Tropea 49ea1bb62a Internal BoM: `count_smd_tht` option to compute SMD/THT stats.
Closes #113
2021-11-22 14:34:07 -03:00
Salvador E. Tropea 98bb4b0cfb Updated the docs and example 2021-11-19 10:58:28 -03:00
Salvador E. Tropea 27b26feb88 Added 3D view render
Related to #99
2021-11-17 17:40:54 -03:00
Salvador E. Tropea b4c1531e10 PCB PDF Print: mechanism to change the block title.
- Related to #102
- Also added %V to expand the variant name
- Documented %v and %V
2021-11-17 10:51:28 -03:00
Salvador E. Tropea 998754753d Added Default global `dir` option 2021-11-15 14:40:30 -03:00
Salvador E. Tropea ca5dfb428b Internal BoM: the field used for variants doesn't produce conflicts.
- Fixes: #100
2021-11-15 13:39:47 -03:00
Salvador E. Tropea 99c826f3d7 JLCPCB example, to match current recommendations
- See: g200kg/kicad-gerberzipper#11
- Added `route_mode_for_oval_holes` option
2021-11-01 10:41:37 -03:00
Salvador E. Tropea 6932df5f31 Updated the docs: new `merge_both_blank` option 2021-10-18 17:07:48 -03:00
Salvador E. Tropea b3a4fec5b7 Option to hide component from PDF PCB Print
- option `hide_excluded` to hide components marked by the
  `exclude_filter`.
- https://forum.kicad.info/t/fab-drawing-for-only-through-hole-parts/
2021-10-14 14:07:35 -03:00
Salvador E. Tropea 6da41f911c Added reference to :dev docker image to the docs. 2021-10-12 08:17:58 -03:00
Salvador E. Tropea ab3bd7f0b3 Added a mechanism to import filters and variants.
- Also to restrict which outputs are imported.
- Fixes #88
2021-10-04 14:44:43 -03:00
Salvador E. Tropea 0f0e739026 Changed the default `group_fields` list.
Internal BoM: now components with different Tolerance, Voltage, Current
and/or Power fields aren't grouped together.
These fields are now part of the default `group_fields`. (#79)
2021-09-27 11:31:51 -03:00
Salvador E. Tropea e902c7350d Added the new `use_aux_axis_as_origin` option to the docs. 2021-09-27 09:18:17 -03:00
Salvador E. Tropea 0fc1c11c50 Added documentation for the new logo_scale option. 2021-09-16 08:02:04 -03:00
Salvador E. Tropea 59e3c51734 Fixed PCBWay drill format.
See https://github.com/INTI-CMNB/kicad-ci-test-spora/issues/1
2021-08-24 11:03:30 -03:00
Salvador E. Tropea 49ac5d135f Added an URL to the GitHub Actions example (in Spora repo) 2021-05-04 10:55:36 -03:00
Salvador E. Tropea e6d7eae893 Fixed the GitHub Actions example.
- @v0.7.0 didn't work
- Now we have a @v1
2021-05-04 10:45:22 -03:00
Salvador E. Tropea 7c23381adb Added distributors selection to KiCost+KiBot 2021-04-28 12:13:12 -03:00
Salvador E. Tropea 35d25439c1 Regenerated the help for rot_footprint and adjusted the README.in 2021-04-25 12:12:41 -03:00
Salvador E. Tropea 0a853594c2 Merge branch '60-invert-bottom' of https://github.com/frankleonrose/KiBot into frankleonrose-60-invert-bottom 2021-04-25 11:58:36 -03:00
Salvador E. Tropea 55277a550f More KiCost integration in KiBoM.
- Also added level and comment to columns in the XLSX BoM output.
- Now user columns can be added to the KiCost sheet.
- The "Colors" sheet now includes KiCost colors
- The KiCost column names are more coherent with our names
- Style colors affects the KiCost colors
- About message includes KiBot version
- Header layout is also more coherent
- use_alt, number, max_col_width and ref_separator options are passed
  to KiCost
2021-04-25 09:29:56 -03:00
Salvador E. Tropea cfe61c9b7e Added board view export.
Closes #69
2021-04-20 13:22:56 -03:00
Salvador E. Tropea 16ddb9465f Added Internal BoM + KiCost integration
- Currently very basic, but you get "Costs" and "Costs (DNF)" work
  sheets in the XLSX output when the xlsx.kicost option is enabled.
2021-04-15 11:14:37 -03:00
Frank Leon Rose b946e519fb _top & _bottom select all components on a side 2021-04-05 22:15:22 -04:00
Frank Leon Rose 6e0deccdc1 Add invert_bottom parameter 2021-04-05 21:52:50 -04:00
Salvador E. Tropea 3ddb29ff9e Updated the config template.
With the fixes in #63
2021-04-01 09:02:40 -03:00
Salvador E. Tropea 26e5289771 Updated the list of contributors 2021-04-01 09:02:14 -03:00
Seth Kazarians 7e722caf40 Fixed Typos in source files per recommendation from @set-soft. 2021-03-31 15:10:21 -07:00
Salvador E. Tropea 7c3f273684 Basic KiCost support. 2021-03-31 12:27:55 -03:00
Salvador E. Tropea 01291ebe63 Added field rename filter.
Including an internal version to emulate KiCost behavior.
2021-03-23 13:20:26 -03:00
Salvador E. Tropea cc77ba9204 Updated the docs and config template. 2021-03-19 19:42:09 -03:00
Salvador E. Tropea 4c96c35f5c Added new pre-flight option (erc_warnings) 2021-02-24 12:58:07 -03:00
Salvador E. Tropea e3d79b6527 Moved the news to the top of the README (replacing 0.7.0) news 2021-02-12 20:19:40 -03:00
Salvador E. Tropea 097ee10ac6 Added link to the Spora example. 2021-02-12 20:17:55 -03:00
Salvador E. Tropea d1c74d681b Fixed missing python3-distutils dependency on Debian package. 2021-02-12 17:26:36 -03:00
Salvador E. Tropea 8d5c0109f9 Bumped version to 0.10.0 2021-02-12 16:08:46 -03:00
Salvador E. Tropea 80b7510c80 Made the JLCPCB position example more clear and easier to reuse. 2021-02-12 11:08:09 -03:00
Salvador E. Tropea ec938ad3af Fixed reference in README.md 2021-02-11 13:06:23 -03:00
Salvador E. Tropea 84e511e690 Documented the `import` section. 2021-02-11 13:04:00 -03:00
Salvador E. Tropea a79c422087 Modified the manufacturers examples so they can be included.
- Better descriptions
- Unique names (gerbers -> Manufacturer_gerbers)
2021-02-11 12:38:02 -03:00
Salvador E. Tropea 8352d3ef94 Splitted other example tables 2021-02-05 11:19:53 -03:00
Salvador E. Tropea e776aaa1c2 Removed empty lines in the merged table. 2021-02-05 11:16:15 -03:00
Salvador E. Tropea 175e437bf8 Splitted the merged table example. 2021-02-05 11:15:16 -03:00
Salvador E. Tropea ed80e37bb7 Updated the BoM consolidation example. 2021-02-05 11:12:40 -03:00
Salvador E. Tropea 9ae5bcc3a9 Converted CSV examples to markdown tables. 2021-02-05 10:33:15 -03:00
Salvador E. Tropea 8f38499031 Added BoM consolidation example. 2021-02-05 10:25:06 -03:00
Salvador E. Tropea c6ad93dc78 Added clarification about the need of dot in edge_cut_extension option. 2021-01-28 15:37:28 -03:00
Salvador E. Tropea 409df8cca0 Fixed minimum KiCad version required is 5.1.6.
- KiCad 5.1.5 lacks GetBuildVersion()
- Fixes #45
2021-01-26 12:42:49 -03:00
Salvador E. Tropea 73cb98f113 Makefile generation. 2021-01-22 17:22:18 -03:00
Salvador E. Tropea eba8da098d Added more credits to the README 2021-01-21 14:54:42 -03:00
Salvador E. Tropea 15474ae4d7 Now you can consolidate more than one project in one BoM.
The basic idea comes from pimpmykicadbom by Anton Savov (@antto)
2021-01-21 14:43:47 -03:00
Salvador E. Tropea 88cd5927dc Now you can ask to compress the targets of an output (by out put name) 2021-01-18 16:12:30 -03:00
Salvador E. Tropea 159e8996e8 Added support for ZIP/TAR/RAR generation. 2021-01-15 13:33:33 -03:00
Salvador E. Tropea 75059b7b86 Added gerber and drill examples for various manufacturers.
From KiCad Gerber Zipper.
2021-01-14 10:40:59 -03:00
Salvador E. Tropea 9f4763c36b Custom reports for plot outputs (i.e. custom gerber job generation) 2021-01-14 10:24:04 -03:00
Salvador E. Tropea 9f6e6b2912 Updated the readme and example. 2021-01-13 16:58:43 -03:00
Salvador E. Tropea ceb6bbe52a Unified the capitalization after colons. 2021-01-12 15:39:05 -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 b2594ec8d3 Adapted Makefile to the new example.kibot.yaml file name. 2021-01-12 13:43:35 -03:00
Salvador E. Tropea fa86ba3506 Added note about pip limitations regarding to non-python deps.
Closes #41
2021-01-05 15:31:17 -03:00
Salvador E. Tropea 9ce0f891cd Added a note about virtualenv to the docs.
Closes #39
2021-01-05 15:23:52 -03:00
Salvador E. Tropea a6c4bd3bc9 Made clear that generic_plot.kibot.yaml is just a template.
Closes #40
2021-01-05 15:14:22 -03:00
Salvador E. Tropea b0cc64e5c5 Various fixes in the generated example.
- Now we can have a `example` different than the default.
- Added some _default members
- Support for missing schematic when using --list

Related to #40
2021-01-05 15:06:23 -03:00
Salvador E. Tropea 86a62bb8ff Fix example generation for list(dict) cases.
Related to #40
2021-01-05 13:53:00 -03:00
Salvador E. Tropea 6eba98d27f Fix incomplete pre-flight comments in generated example.
Related to #40
2021-01-05 13:34:08 -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 c626f864f9 The step output now can download missing 3D models. 2020-12-30 15:22:00 -03:00
Salvador E. Tropea a5681d38e1 Try to fix the rotations table.
Escaping pipes.
2020-12-29 10:48:21 -03:00
Salvador E. Tropea 7165750496 Added some documentation about the rotation filter. 2020-12-29 10:44:48 -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 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 305e3251fa Updated the README and generic example.
- Added gerber notes
- Added new gerber option (KiCad 6)
2020-11-06 17:13:23 -03:00
Salvador E. Tropea e467368ea8 Added some notes about the gerber files. 2020-11-06 17:12:55 -03:00
nerdyscout bd7160b6a2 fix indentation and proper upload-artefacts version 2020-11-06 17:46:13 +00: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 6bbd15eaf2 Updated README and generic example.
More KiCad 5 specific settings.
2020-10-19 16:49:08 -03:00
Salvador E. Tropea d2cceb7975 Updated README and generic example
KiCad 5 options
2020-10-19 13:37:06 -03:00
Salvador E. Tropea 1c26dd5f66 Added note about pip installing at system level.
Recommended manual cache generation.
2020-10-17 15:19:09 -03:00
Salvador E. Tropea 4a97885495 Added support for KiCad 6 error filters. 2020-10-15 17:00:58 -03:00
Salvador E. Tropea f5d9a69232 Updated the README and generic example
New mirror option.
2020-10-14 16:06:14 -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 8605ccdea4 Moved @nerdyscout changes to README.md to the README.in file. 2020-10-09 18:32:53 -03:00
Salvador E. Tropea 71fe37cfc6 Support for new `pcbnew_do export` options. 2020-10-09 11:27:30 -03:00
Salvador E. Tropea 75ae78a479 Marked the language of the README examples 2020-09-28 19:54:25 -03:00
Salvador E. Tropea 5e7c969af4 Added white border to the text in the logo
Helps for dark themes
2020-09-28 19:48:45 -03:00
Salvador E. Tropea 43bf78bfb9 Added some help about filters and variants. 2020-09-28 19:25:04 -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 2c98b2b634 Linked to the variants site instead of the repo.
Now I use a nice skin ;-)
2020-09-11 17:55:32 -03:00
Salvador E. Tropea ed40c64af7 Added note and link to the variants example site 2020-09-11 17:15:53 -03:00
Salvador E. Tropea 5cb239a651 Added the variants example 2020-09-11 17:15:20 -03:00
Salvador E. Tropea f25fd80b65 Applied #11 to README.in to preserve changes. 2020-09-09 08:43:16 -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 64f50d2a07 Moved repeated code related to variants to a base class. 2020-09-06 17:36:29 -03:00
Salvador E. Tropea b94a2cb6a4 Updated the readme and generic example.
Explanations about which IBoM options are native.
2020-09-05 18:59:21 -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 8c34d96ccf Updated README and generic example.
Variants in plot outputs
2020-09-03 11:12:13 -03:00
Salvador E. Tropea 26ee971e26 Added variants suport to out_position
Also: we never include virtual components.
2020-09-02 18:08:50 -03:00
Salvador E. Tropea 20936da07e Updated the README and generic example.
- Plural removed from BoM variant
- Support for filter in sch_variant and pdf_print_sch
- Support for variant in pdf_print_sch
2020-09-01 16:57:31 -03:00
Salvador E. Tropea 4b007938c1 Updated README and generic example.
- New output format (Schematic variant)
- Support for global output names in gerber.
2020-08-31 20:52:48 -03:00
Salvador E. Tropea a1455e0f46 Added more flexibility to filters.
Support for:
- Pass all
- Negated (in addition to its internal option)
- List of filters
2020-08-29 19:32:04 -03:00
Salvador E. Tropea 4cc5494f5f Updated the README and generic example.
- Functionality of IBoM that I reincorporated.
- Support for filters in internal BoM.
2020-08-29 17:43:49 -03:00
Salvador E. Tropea cc006c6260 Updated README and generic example.
Mainly because I moved IBoM options to IBoM variants.
2020-08-28 20:15:12 -03:00
Salvador E. Tropea 5ecb253525 Updated the README and example.
Mainly because of the addition of the variant to file names.
2020-08-28 16:50:41 -03:00
Salvador E. Tropea ab8550796d Added debug information to the docs generation.
This is run during the lint run, before even knowing if the code
is valid.
Having debug information is quite useful here.
2020-08-28 16:33:25 -03:00
SET 92530491b6 Fixed missing r in "nerdyscout" name 2020-08-18 23:19:55 -03:00
SET ac8e4f9c83 Added example of v0.6.0 Debian package installation. 2020-08-18 17:24:45 -03:00
SET f5c47ce290 Added pip installation instructions. 2020-08-18 17:20:49 -03:00
SET 73cade67bd Changed the project name in Coveralls. 2020-08-18 13:06:14 -03:00
SET a311794390 Added link to GitHub actions to the build status badge. 2020-08-18 13:01:06 -03:00
SET 4904e47cf5 Added PyPI future badge
Also unified the badges.
2020-08-18 12:58:41 -03:00
SET 018ce8d0a4 Changed README.md images to be loaded from outside GitHub 2020-08-18 10:55:29 -03:00
SET 231ffa5628 Added comment about update_xml is no longer needed. 2020-08-17 19:52:32 -03:00
SET cd6c1d5ba4 Added CASE2020 paper and poster. 2020-08-17 19:47:24 -03:00
SET cd1ea69c58 Added a picture with the data flow to the README. 2020-08-17 19:38:34 -03:00
SET 89914443f0 Renamed the kiplot module as kibot.
Also added src/kibot script.
Updated the documentation and Debian packaging.
The default extension for config files now is .kibot.yaml
2020-08-16 22:04:03 -03:00
SET f897f04cb9 Changed KiPlot -> KiBom in various places of the README.
Also added some credits.
2020-08-16 18:05:00 -03:00
SET 7e04d4190f Added logo and changed project name in the README. 2020-08-16 17:48:58 -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
SET e8c85a0272 Added logo with slogan 2020-08-16 11:32:40 -03:00
SET 5e68035ad6 Added variant of the robot logo.
Prettier but also heavier.
2020-08-16 10:10:15 -03:00
SET 276c644e1e Added SVG version of the robot logo. 2020-08-16 10:09:45 -03:00
SET 70cec67f19 Updated the README and generic example. 2020-08-16 00:22:32 -03:00
SET 6c4df66aeb Updated the README and generic example. 2020-08-15 11:02:12 -03:00
SET 07046f0d68 Updated README and generic example. 2020-08-13 23:07:21 -03:00
SET f231ac6835 Updated the README and the generic example. 2020-08-12 20:08:44 -03:00
SET 9b5259a18d Added some logo images.
"Ki" from KiCad, the funny bot and the combination in two resolutions.
2020-08-12 13:07:26 -03:00
SET 303bfb38fb Updated README.md and YAML example 2020-08-12 12:02:43 -03:00
SET fe2f5d6c65 Updated the documentation
Included new options: highlight_empty and max_col_width
2020-08-11 12:45:28 -03:00
Salvador E. Tropea 46c55fcf91 Separated the format specific options for internal BoM
And now we have more options.
- CVS: can quote all values.
- HTML and XLSX: styles adjust, including a logo.
- XLSX: now has the same options as HTML
Also a fix in the "join" mechanism for "case insensitive" support.
2020-08-05 19:57:32 -03:00
Salvador E. Tropea 99eab1c2f1 Removed `number_rows` from README.md and exampl config. 2020-08-01 18:42:01 -03:00
Salvador E. Tropea 544f34c6fc Added native BoM generator.
Based on KiBoM, but reading the data directly from the .sch
Information from the libs not supported yet.
2020-07-27 22:04:01 -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 247ffa99b1 Updated the README.in (missing in a1d5f62fcd) 2020-07-22 18:04:09 -03:00
Salvador E. Tropea a1d5f62fcd Updated the README.md and added a brief YAML explanation. 2020-07-22 11:20:04 -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 52e6bb1b5f Added support for PcbDraw 2020-07-11 13:49:03 -03:00
Salvador E. Tropea 558ef81195 Updated Coveralls badge. 2020-07-09 18:50:04 -03:00
Salvador E. Tropea f72ff3f441 Extra dot in step.metric_units docstring.
Remove dead code in check_eeschema_do()
Fixed the way we read scale stuff from a PCB
Added special checks for check_script and check_version
2020-07-09 12:50:27 -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 45ecb1d02a Added a mechanism to specify suboptions.
Now the legacy drill.map.type and drill.report.filename are specified in this
way.
The BaseOutput class now inherits from Optionable.
Suboptions are just Optionable classes.
Also: added traceback print when an error is reported and we are in debug mode.
2020-07-05 12:40:57 -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 25730bce39 Added a note about inner layer names in the README.md
After analyzing all the forks I found that at least 6 forks tried to fix the
Inner.X vs InX.Cu difference.
Also one seems to add support for the names used by pcbnew, but breaks
compatibility with old config files.
2020-07-02 17:19:04 -03:00
Salvador E. Tropea 4538236574 Now outputs and preflights are loaded as plugins.
They can be added from ~/.config/kiplot/plugins/
Also sorted the preflights in the YAML example and allower -v for
--help-list-outputs, needed to know from where are the plugins loaded.
2020-07-02 12:30:30 -03:00
Salvador E. Tropea 1ca21efe94 Now the docstring for string options can specify a list of allowed values
This reduces the number of setters/getters we need to write.
On the other side the time to validate the YAML is increased.
2020-07-02 09:25:06 -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 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 017f2ace47 Fixed redundant "Supported outputs" in the README and updated command line help 2020-06-29 12:57:06 -03:00
Salvador E. Tropea a436aea8e7 Now the README.md is sychronized using the help output.
The --help-outputs and --help are embedded in the README.md
To make it easier to read now options are enclosed in `` and the list of
outputs is sorted.
2020-06-27 18:28:05 -03:00
Salvador E. Tropea acd5592a45 Now the map.type and report.filename are deprecated in favor of map and report.
The old mechanism is supported, but removed from examples.
Added a test case for the new mechanism.
Documented the reason for the complex properties.
Added docstrings to these particular cases (with None as default).
2020-06-25 09:37:43 -03:00
Salvador E. Tropea a63e12579b Changed all the examples to set "sketch_plot" to false.
This is what we usually want, but this wasn't implemented.
2020-06-24 11:56:39 -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 9dccf7113f Generic config example update and cleanup 2020-06-19 15:48:16 -03:00
Salvador E. Tropea 8374238b6d Added STEP configuration examples. 2020-06-15 13:23:41 -03:00
Salvador E. Tropea fcdbbbe92d Added another example of YAML config 2020-05-20 08:58:34 -03:00
John Beard 02f3db1a2d Add preflight options, but they don't wowork 2018-06-02 17:21:47 +01:00
John Beard ac2ceedae2 Add HPGL and PDF to config 2018-06-02 17:06:37 +01:00
John Beard 57c320984a Add svg, fix mirror plot 2018-06-02 16:56:20 +01:00
John Beard 6dfbaea4e0 Add gerber drills 2018-06-02 16:51:58 +01:00
John Beard d3b331e3ad Add validation 2018-06-02 16:33:11 +01:00
John Beard f7805cbe09 Add postscript and other stuff 2018-06-02 15:51:50 +01:00
John Beard 5aada8a3cd Add postscript and other stuff 2018-06-02 15:51:24 +01:00
John Beard 1519ff2e08 Overhaul config parsing 2018-06-02 13:31:03 +01:00
John Beard fb7e579a64 Even more working 2018-06-02 12:28:46 +01:00
John Beard 5298dc2c72 Getting there 2018-06-01 23:56:22 +01:00
John Beard 21e185c9d6 Initial commit 2018-06-01 20:08:57 +01:00