Commit Graph

588 Commits

Author SHA1 Message Date
Salvador E. Tropea 58b7958899 [Update_XML] Now you can check PCB and schematic parity
Related to #297
2022-09-21 11:33:26 -03:00
Salvador E. Tropea fb0275912e [DOCs] Added how to use the PCB option of copy_files 2022-09-21 08:03:05 -03:00
Salvador E. Tropea e2fdf87d6b [Copy_Files] Now you can copy the 3D models
- Also save a PCB modified to use them
- Changed the syntax so we can copy other stuff
2022-09-20 13:13:12 -03:00
Salvador E. Tropea 49b21c8e93 [DOCs] Made the filters for ERC/DRC vs globals more clear
- Now the KiBot ones doesn't mention KiCad versions
- If the user uses Wxxx for the `error` in the KiBot ones we filter xxx
- Added text to clarify how to get rid of W058 warnings
- Also now we report warning counts when all filtered

Related to #214
2022-09-16 10:16:20 -03:00
Salvador E. Tropea 098b38c462 [DOCs] Documented the error level for diff fail 2022-09-16 09:24:47 -03:00
Salvador E. Tropea 252f10e8f3 Added command line option to specify warnings to be excluded.
- Useful for warnings issued before applying the global options
  (i.e during import).

Fixes #296
2022-09-16 07:48:22 -03:00
Salvador E. Tropea a8e48031c8 [Diff] Added mechanism to specify the PCB/Schematic in memory
- Now this is the default

Closes #295
2022-09-16 07:07:43 -03:00
Salvador E. Tropea 5c825151b0 [Import] Global options are now "merged"
Close #291
2022-09-15 13:27:54 -03:00
Salvador E. Tropea e49cbc2b93 [Global Ops] Added mechanism to give more priority to local globals.
- `imported_global_has_less_priority` in the KiBot section

Related to #291
2022-09-15 12:51:25 -03:00
Salvador E. Tropea 488f2dcbc2 [Global options] Now the global `dir` option also applies to the preflights
- Can be disabled using `use_dir_for_preflights`.

Closes #292
2022-09-15 09:33:57 -03:00
Salvador E. Tropea 3e03228b7b [DOCs] Added help about the variant options
- Generated by a new command line `--help-variants`

Related to #257
2022-09-15 07:13:33 -03:00
Salvador E. Tropea e4ee39eadf [DOCs] Added details about what poor means regarding to worksheet
Related to #233
2022-09-14 13:33:38 -03:00
Salvador E. Tropea d87a5cbb39 [DOCs] Explained how to install 3D models 2022-09-14 13:03:21 -03:00
Salvador E. Tropea 75491cd472 [DOCs] Added some notes about how to handle 3D models 2022-09-14 10:30:09 -03:00
Salvador E. Tropea d01943ed87 Added support for 3D models aliases
- Also a global option to define them in the KiBot configuration

Related to #261
2022-09-14 09:38:47 -03:00
Salvador E. Tropea 418b74b2f3 Environment and text variables now can be used as 3D model aliases.
- Environment and text variables expansion is now recursive.
  So in `${VAR}` the *VAR* can contain `${OTHER_VAR}`

Related to #261
2022-09-14 07:30:13 -03:00
Salvador E. Tropea 23d46b9a10 [Fixed] --define wasn't allowed for --list
- So people couldn't use definitions and use --list

Fixes #288
2022-09-14 06:45:17 -03:00
Salvador E. Tropea 08a0628eff Added some basic preprocessing
- Now you can parametrize the YAML config.

Related to #233 and #243
2022-09-13 13:31:25 -03:00
Salvador E. Tropea 6f2c4ccf24 [Globals] Added options to control which stuff is changed on PCB variants
- cross_footprints_for_dnp
- remove_adhesive_for_dnp
- remove_solder_paste_for_dnp
- hide_excluded (default value)

Related to #270
2022-09-13 10:44:07 -03:00
Salvador E. Tropea 661677608e [Internal BoM] Added CSV aggregate
Related to #248
2022-09-13 09:25:14 -03:00
Salvador E. Tropea 1f1a56e5ac Added support for changing text variables with variants
- During outputs creation.
- Option `set_text_variables_before_output`.

Related to #233
2022-09-12 13:35:40 -03:00
Salvador E. Tropea 9a70f2e141 New output copy_files
Closes #279
2022-09-12 10:39:44 -03:00
Salvador E. Tropea 70a2788df0 [Render 3D] Added options to control render aspects
- To disable some technical layers
- To control the silkscreen clipping

Closes #282
2022-09-12 08:25:32 -03:00
Salvador E. Tropea e871efe4bd [Diff] Option to use variant's file_id for the link
- Also changed None by Current/FILE
2022-09-09 13:09:56 -03:00
Salvador E. Tropea 6cf6b08450 [SCH Variant] Added option to change the title
- Similar to PCB Variant
2022-09-09 12:51:51 -03:00
Salvador E. Tropea f615790ddc [Diff] Added schematic variants compare
Closes #278
2022-09-09 11:36:48 -03:00
Salvador E. Tropea 11cba00a1f [SCH Variant] Added option to copy the project
- May contain text variables
2022-09-09 11:33:40 -03:00
Salvador E. Tropea 0a817bfc60 [Diff] Added two mechanisms to compare PCB variants in one output
- Taking pairs
- Using a reference

Related to #278
2022-09-09 10:57:36 -03:00
Salvador E. Tropea 584ef5354b [Diff] Added mechanism to compare using a variant
Related to #278
2022-09-09 09:42:06 -03:00
Salvador E. Tropea 2111eaf6d2 [PCB Variant] Options for title and conditional project copy 2022-09-09 09:08:26 -03:00
Salvador E. Tropea 4dc93da42b [PCB Variant] Implemented the 3D filtering
- The PCB filtering code was moved to make it, some errors could be
  introduced
2022-09-09 08:57:05 -03:00
Salvador E. Tropea 51885ccb71 [DOCs] Added what's new on 1.3.0 2022-09-08 09:21:33 -03:00
Salvador E. Tropea 241eca63ff [PCB Print] Added option to customize the page numbers
Related to #283
2022-09-08 07:24:56 -03:00
Salvador E. Tropea f156a23f3f [Info] Added environment vars, KiBot paths and KiAuto info. 2022-09-07 12:45:56 -03:00
Salvador E. Tropea ba5164ffa4 [PCB Print] Added option to move the page number to the extension
- page_number_as_extension
- Can be used to easily create custom output names

Related to #283
2022-09-07 09:46:57 -03:00
Salvador E. Tropea e177ed1079 [DOCs] Added note about DXF output and dimensions
Related to #284
2022-09-07 09:01:55 -03:00
Salvador E. Tropea 3684889060 [PCB Print] Changed the conversion strategy
- Now we can control the resolution
- Added option for this

Related to #259
2022-09-07 08:40:18 -03:00
Salvador E. Tropea 22d618a425 [PCB Print] Added option to configure the forced edge color.
Closes #281
2022-09-06 11:06:44 -03:00
Salvador E. Tropea b704c2ab41 [DOCs] `pcb_print` added all extensions for %i reference 2022-09-06 08:54:00 -03:00
Salvador E. Tropea 460ffca49b [Diff] Better `copy_instead_of_link` description
Related to #275
2022-09-05 13:56:56 -03:00
Salvador E. Tropea e34d4a01e0 [Diff] Added option to force the checkouts 2022-09-05 13:48:14 -03:00
Salvador E. Tropea 01536726a1 New output "Info": collects info about the environment.
Related to #209
2022-09-05 09:07:08 -03:00
Salvador E. Tropea d8d8552883 [Diff] Now the %i is diff_pcb for the PCB and diff_sch for the sch
Related to #265
2022-09-01 14:13:28 -03:00
Salvador E. Tropea 75f79b1a72 [DOCs] Added advice on how to compress links 2022-08-31 13:41:06 -03:00
Salvador E. Tropea a0075d12c7 [Compress] Added option to store symlinks. 2022-08-31 13:36:20 -03:00
Salvador E. Tropea 651f3890d5 [Diff] Added KiAuto as dependency
Related to #265
2022-08-31 12:59:52 -03:00
Salvador E. Tropea 10ee73feeb [Diff] Added option to create a link to the output
- This link contains the git hashes involved in the comparison.

Related to #265
2022-08-31 08:47:15 -03:00
Salvador E. Tropea 1cfbb6b91e [Dependencies] Updated KiDiff version 2022-08-31 08:11:46 -03:00
Salvador E. Tropea 9f54132c0f [DOCs][Fixed] Menu link to Debian install 2022-08-26 06:22:09 -03:00
Salvador E. Tropea b57a33f71a [DOCs] Other another link to de Debian repo. 2022-08-26 06:20:34 -03:00
Salvador E. Tropea 464b72e8f1 New output to compute differences between PCBs and SCHs.
Fixes INTI-CMNB/KiAuto#14
2022-08-25 13:02:02 -03:00
Salvador E. Tropea 396d701a0d [DOCs] Added some extra clarifications about the internal BoM filters
Related to #257 and #251
2022-08-22 08:08:01 -03:00
Salvador E. Tropea 85538b0b27 [Global options] Restore the project at exit
Related to #250
2022-08-19 09:39:25 -03:00
Salvador E. Tropea 8fa4f985d3 [Dependencies] Boosted PcbDraw version to 0.9.0.3
- The upstream is currently undergoing a major rewrite and isn't
  usable. It has problems with KiCad 5 and 6.
2022-08-16 09:47:15 -03:00
thetazero d87d285e01
Grammar fix 2022-08-15 17:12:44 -04:00
Salvador E. Tropea 553d47f533 [BoM] Added support for text variables expansion
- Is done using a filter, the expansion is done at the end, but
  the filter can be applied at any point in the filter/variant
  chain.
Fixes #247
2022-08-12 09:09:09 -03:00
Salvador E. Tropea c5a6d894c9 [DRC] Added Workaround for problems with DRC exclusions
- Global option: `drc_exclusions_workaround`
- KiCad bug [11562](https://gitlab.com/kicad/code/kicad/-/issues/11562)
Fixes INTI-CMNB/KiAuto#26
2022-08-10 14:01:32 -03:00
Salvador E. Tropea 6bd8ff9c6b [DOCs] Updated changelog and credits 2022-07-26 07:58:30 -03:00
Kevin Dong c5703360d5
Added in SCH PDF Print: An all_pages option. 2022-07-22 23:48:30 +08:00
Salvador E. Tropea 95a48a8922 Added `--dont-stop` command line option
- To try to continue even on errors

Related to #209
2022-07-21 13:54:42 -03:00
Salvador E. Tropea 0e7121dc3d Now configuration sections are parsed in a fixed order
- This allows a predictable behavior, the YAML is converted to a dict,
  so you can't trust in the order of the keys.
- It avoids misstakes
- Allows using %V/v in preflights, even if globals are declared latter.

Fixes #234
2022-07-21 13:11:24 -03:00
Salvador E. Tropea 0726a3c2d5 Merge branch 'master' of https://github.com/INTI-CMNB/KiBot 2022-07-15 06:23:08 -03:00
Salvador E. Tropea c4b1d6b8ad [Position] Fixed problems with repeated references
- Happens when doing manual panelization

Closes #224
2022-07-14 18:11:56 -03:00
Salvador E. Tropea 882999edf4 [DOCs] Added a note about the importance of %i
- When using position output and separate files

Related to #222
2022-07-14 08:28:31 -03:00
Salvador E. Tropea 45285c4807 [DOCs] Added the new tags for actions and docker images 2022-07-13 11:08:49 -03:00
Salvador E. Tropea 3e05ab8b6a [Import] Preflights now can be imported
- Also fixed the filters and variants configuration, now delayed.

Fixes #221
Related to #181
2022-07-12 13:39:43 -03:00
Salvador E. Tropea 42503a909a [SCH][Print] A global option to cross components without a body.
- Only for KiCad 6

Closes #219
2022-07-12 08:44:05 -03:00
Salvador E. Tropea 139ee82bdc Documented the added features. 2022-07-11 12:41:23 -03:00
Salvador E. Tropea 664a13c548 [Dependencies] Added command line option to disable the downloads. 2022-07-01 13:30:51 -03:00
Salvador E. Tropea 9c6062e0c8 [Dependencies] Added support for QRCodeGen auto-download 2022-07-01 13:17:02 -03:00
Salvador E. Tropea 3e331cd7a3 [Dependencies] Added support for LXML download 2022-07-01 12:45:37 -03:00
Salvador E. Tropea f80480b31e [Dependencies] Added XLSXWriter auto-download 2022-07-01 11:27:44 -03:00
Salvador E. Tropea 84f3b0ede1 Removed distutils as dependency 2022-06-30 13:59:42 -03:00
Salvador E. Tropea 59d6d2caac [Dependencies] Added auto-download for iBoM 2022-06-30 10:03:26 -03:00
Salvador E. Tropea 166e927ca4 [Dependencies] Added missing pcb_print use of KiAuto 2022-06-30 09:30:27 -03:00
Salvador E. Tropea 3db94210cc [DOCs][Dependencies] Removed extra spaces 2022-06-30 08:14:21 -03:00
Salvador E. Tropea 758e43fbd5 [DOCs][Dependencies] Added links to tools, PyPi and Python logos
- So they don't point to the image but something useful
2022-06-30 08:05:26 -03:00
Salvador E. Tropea 6cc1feeae5 [DOCs][Dependencies] Added auto-download image 2022-06-30 07:56:20 -03:00
Salvador E. Tropea 5e15d694e3 [DOCs][Dependencies] Fixed note details
- Removed PyPi redundance
- Fixed alt text for Tools
2022-06-30 07:44:11 -03:00
Salvador E. Tropea d15e20d8b9 [DOCs][Dependencies] Added Python module and tool images 2022-06-30 07:40:27 -03:00
Salvador E. Tropea b1726e0915 [DOCs][Dependencies] Added PyPi logo 2022-06-30 07:07:11 -03:00
Salvador E. Tropea 0113c74f7a [DOCs][Dependencies] Added Debian logo 2022-06-30 06:49:29 -03:00
Salvador E. Tropea 48e5323be0 Added auto-download support for KiAuto. 2022-06-29 13:47:50 -03:00
Salvador E. Tropea 35e12bb3fc Added auto-download support for KiCost. 2022-06-29 11:35:52 -03:00
Salvador E. Tropea c97705da03 Added auto-download for KiBoM 2022-06-29 10:29:37 -03:00
Salvador E. Tropea c453fff8af [DOCs] Added which tools are downloaded automagically 2022-06-29 10:13:43 -03:00
Salvador E. Tropea cdc9d5736e [DOCs] Added a note about what "filtering" DRC errors means
Closes #214
2022-06-29 08:47:39 -03:00
Salvador E. Tropea 3dec5ba8bb Updated rsvg-convert version in docs and install checker 2022-06-29 08:43:15 -03:00
Salvador E. Tropea 65d4143ec1 Now we try to download some tools when missing
- Currently only a few targets are available
- Rar, ImageMagick, RSVG Tools and git have some support
2022-06-19 19:17:38 -03:00
Salvador E. Tropea 870a9cee5c Bumped version to 1.2.0
- Updated versions
- Added comment about ImageMagick default policy
- Added links to navigate_results example and discussions
2022-06-15 06:24:15 -03:00
Salvador E. Tropea bc2ebecb84 Redirected some stuff to discussions
- Now they are enabled and some stuff belongs there
2022-06-14 09:13:34 -03:00
Salvador E. Tropea 65666548ed Added a "contributing" section to the docs 2022-06-14 08:34:17 -03:00
Salvador E. Tropea 3eaf9c025e Added option to export old variables
- When using the global/environment
2022-06-12 11:29:34 -03:00
Salvador E. Tropea dc955a41e5 Updated dependencies after sorting the plugins 2022-06-11 09:30:11 -03:00
Salvador E. Tropea ef98248b32 Centralized all drill_marks stuff
- Now we reuse code from drill_marks.py
- Added the options validation
- Updated the help
2022-06-10 07:39:27 -03:00
Salvador E. Tropea 54dd130e4f Highlighted the most relevant options 2022-06-08 08:37:30 -03:00
Salvador E. Tropea 043ee382d3 Implemented output priorities
- By default `qr_lib` is high priority and `navigate_results`/
  `compress` are low priority.
- Priorities can be configured.
- A command line option disables it.
2022-06-07 13:57:32 -03:00
Salvador E. Tropea 0deed52479 New global section `environment`
- Allows defining KiCad environment variables.

Related to INTI-CMNB/KiAuto#21
2022-06-07 10:38:12 -03:00
Salvador E. Tropea 9b69483f3f Added support for KiAuto 1.6.13 OpenGL render end detect 2022-06-06 13:39:41 -03:00
Salvador E. Tropea ae5dea0762 navigate_results: Added outputs preview instead of just icons 2022-06-01 12:56:37 -03:00
Salvador E. Tropea 684b996ced Added `navigate_results` output
- It generates web pages to navigate all generated outputs by category
2022-05-27 13:38:32 -03:00
Salvador E. Tropea bb6e962f3d Internal BoM: Added customizable extra info after the title
Closes #199
2022-05-20 19:08:20 -03:00
Salvador E. Tropea fb082fcbb3 Added `kibot-check` tool to check the installation 2022-05-20 13:26:41 -03:00
Salvador E. Tropea ca861fc21e Added dependency collection mechanism
- Currently used to better document the dependencies
2022-05-19 08:47:06 -03:00
Salvador E. Tropea 054a090258 Added netlist export output
Closes #197
2022-05-18 09:49:17 -03:00
Salvador E. Tropea 7b0425e67f Added some clarificaction about the docke image tags 2022-05-11 13:19:35 -03:00
Salvador E. Tropea 0488c93aa7 Modified the KiCad 6 instructions 2022-05-10 10:45:55 -03:00
Salvador E. Tropea 034e37ee30 Added link to the Debian repo 2022-05-09 11:13:00 -03:00
Salvador E. Tropea 87a9d966a3 Added link to GitHub action with --quick-start 2022-05-02 13:40:17 -03:00
Salvador E. Tropea 54bc4c3c91 Added link to quick-start example using GitHub. 2022-05-02 11:39:39 -03:00
Salvador E. Tropea 2889181890 Added some --quick-start documentation. 2022-05-01 10:16:11 -03:00
Salvador E. Tropea a435203863 Added more install information and made it more visible. 2022-04-29 09:49:55 -03:00
Salvador E. Tropea ef7c9916ed Updated docs 2022-04-29 09:06:24 -03:00
Salvador E. Tropea 5b637d265e Finished the core functionality of --quick-start
- New --quick-start options:
  - --start starting point for the search
  - -d output directory for the targets
  - --dry only configs, no targets
- Added some warning filters
- Sorted scan and generation
2022-04-28 14:50:58 -03:00
Salvador E. Tropea 56030c5dc9 Added the first stepof the new `--quick-start` option
- Should be a way to quickly start using KiBot without any config
2022-04-26 09:51:14 -03:00
Salvador E. Tropea 857b8b974e Added pcb_print options to control the background 2022-04-23 07:46:04 -03:00
Salvador E. Tropea bca090b685 Added `realistic_solder_mask` to `pcb_print`
- Prints the solder mask in a human understandable way
2022-04-22 14:05:41 -03:00
Salvador E. Tropea eca4f51c91 Updated README with new option 2022-04-21 11:09:06 -03:00
Salvador E. Tropea ebf529fa0b Made the 3D model selection more versatile
- Now you can choose between using the variant name or the variant
  specific mechanism.
- Works for all variants and both mechanism are simple.
2022-04-20 19:42:51 -03:00
Salvador E. Tropea 5d9b047d81 Added an option to remove the files we compressed.
Closes #192
2022-04-20 13:43:41 -03:00
Salvador E. Tropea ff41012e84 Changes in how we compute the drill sizes in the report
- New global variable `extra_pth_drill` defines how much the drill will
  be enlarged for plated holes.
- Removed all *_1* report values.
- Added *_real* report values. They are the asjusted drill values.
- Now we compute Eurocircuits Drill Class using all the real drill
  sizes.
- Documented all global variables/options.
- Added command line option to list all global options.
- Adjusted the report templates and thei references.

Related to #164
2022-04-20 12:57:52 -03:00
Salvador E. Tropea e00841c921 Added two special syntaxis to the 3D model variants
- %_kicost.TEXT:SLOTS% matches using the KiCost variant regex
- %_default_:SLOTS% matches if no other text matched

Related to #191
2022-04-20 10:39:19 -03:00
Salvador E. Tropea 417257a048 Fixed submenu links (3D model variants) 2022-04-19 18:53:35 -03:00
Salvador E. Tropea f461c55a9a Changed the order of the images (3D model variants) 2022-04-19 18:51:51 -03:00
Salvador E. Tropea 1ae5473a2e Added the images for the 3D model variants example 2022-04-19 18:50:05 -03:00
Salvador E. Tropea 97656ef1fc Documented the 3D model variants
Closes #190
2022-04-19 18:31:59 -03:00
Salvador E. Tropea 5c9dbc4072 Varius `pcb_print` details
- Added option `force_edge_cuts` so we get them on all pages.
- Now `layers` can be a list of strings, or just an string.
- Added default scaling for all pages.
- Fixed: tracks removed after plotting another Cu layer.
- Fixed: custom pads plotted as special vias.
- Fixed: frame reference plotted mirrored on mirrored pages.
2022-04-18 19:08:12 -03:00
Salvador E. Tropea f2f54d21a8 Made more clear when the plotter can plot the fram ref 2022-04-16 19:48:45 -03:00
Salvador E. Tropea cdb6d393ac Added more recommendations to use `pcb_print`
- Can replace: pdf, ps, svg, pdf_pcb_print and svg_pcb_print
2022-04-16 19:35:35 -03:00
Salvador E. Tropea eb1a57a10d Added an option to select the kicad_wks for pcb_print 2022-04-16 15:20:02 -03:00
Salvador E. Tropea 4b341a7a92 Added internal plot of the worksheet to pcb_print
- Also renamed some options to make it simpler (sorry)
2022-04-16 15:09:19 -03:00
Salvador E. Tropea 9d606fa53b Added colored pads and vias to pcb_print
- The vias are more "realistic", we avoid showing holes on layers that
  aren't drilled, but we mark the via. So you know were is.
2022-04-13 13:51:03 -03:00
Salvador E. Tropea 460ddc6a59 Added holes color configuration to pcb_print 2022-04-12 15:53:34 -03:00
Salvador E. Tropea b7b9b70ac3 Added PNG, EPS and PS outputs to pcb_print. 2022-04-12 15:43:53 -03:00
Salvador E. Tropea bdcd97361c Changed donate button style to plastic 2022-04-12 14:06:33 -03:00
Salvador E. Tropea a79d6b4ebe Added Donate button (PayPal) 2022-04-12 14:05:08 -03:00
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 1a73dd5e29 Fixed missing Set_Text_Variables valid keys 2022-03-31 14:50:25 -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 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 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 2987122798 Documented the limitation about the date in the KiCad 6 title block 2021-12-18 17:01:11 -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 318f0993bf Now `disable_run_by_default` can be defined as true
- To avoid repeating the name of the parent output
- Related to #121
2021-12-14 20:44:37 -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 308725e24f More style adjusts to the replacement docs 2021-12-03 18:11:06 -03:00
Salvador E. Tropea 2e7f3b8180 Small adjusts to the PCB/SCH replacement docs 2021-12-03 18:05: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 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 365ca790d5 Changed output.dir default to `./`
- Makes easier to concatenate using `+DIR`
2021-11-16 06:44:01 -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 5620113b49 Fixed command line for `--list`
- PCB and SCH can be needed
- Adapted the test for --list
2021-11-15 13:38:35 -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 bc5d1b15c6 Generic filter: added options to match if a field is/isn't defined. 2021-10-18 17:05:51 -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 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 a7bf1b080c Added skip_top and skip_bottom options to the rot_footprint filter. 2021-04-25 12:20:39 -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 26e5289771 Updated the list of contributors 2021-04-01 09:02:14 -03:00
Seth Kazarians 1436875be5 Merge branch 'master' of https://github.com/INTI-CMNB/KiBot 2021-03-31 15:04:06 -07:00
Salvador E. Tropea 7961209b0f Experimental mechanism to change 3D models according to the variant. 2021-03-31 18:00:43 -03:00
Salvador E. Tropea 7c3f273684 Basic KiCost support. 2021-03-31 12:27:55 -03:00
Salvador E. Tropea 1290bb6995 New KiCost variant style.
- New internal filters `_var_rename_kicost` and `_kicost_dnp`.
- New `skip_if_no_field` and `invert` options to the regex used in the
  generic filter.
2021-03-30 09:37:36 -03:00
Seth Kazarians 0bfbdb5059 Fixed some typos in README.md 2021-03-25 22:01:53 -07:00
Salvador E. Tropea afe80052b4 Added a new filter `var_rename_kicost`
Is very similar to `var_rename` with a few differences that makes it
suitable to emulate the KiCost field rename mechanism.
2021-03-25 12:57:26 -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