Commit Graph

1502 Commits

Author SHA1 Message Date
Salvador E. Tropea 4d5152032d [Copy Files] Added support for sub-PCBs 2022-12-26 09:48:17 -03:00
Salvador E. Tropea 5dacb969b1 [BoardView] Added sub-PCBs support 2022-12-26 09:33:04 -03:00
Salvador E. Tropea 71f2894ef4 [PDF/SVG PCB Print] Implemented sub-PCBs 2022-12-26 09:06:37 -03:00
Salvador E. Tropea 6d8ca3f163 [Windows] One more use of rename changed to replace 2022-12-26 09:06:00 -03:00
Salvador E. Tropea ebabc0b37b [Windows] Fixed problems with os.rename
- Now using os.replace
- It removes the target if already there
2022-12-26 08:02:14 -03:00
Salvador E. Tropea cd89f8b235 [KiBoM][Fixed] Its variants has nothing to do with KiBot 2022-12-22 13:41:01 -03:00
Salvador E. Tropea c9aab5d4cc [Any layer] Added support for sub-PCBs 2022-12-22 13:22:36 -03:00
Salvador E. Tropea ed33913327 [Fixed][Sub-PCBs] Unfilter must be applied even if no _comps 2022-12-22 13:06:16 -03:00
Salvador E. Tropea b4fa74e774 [Fixed] Missing sub-PCB name resolve for pre-flights 2022-12-22 13:00:20 -03:00
Salvador E. Tropea 421dcf34b7 [Added] Sub-PCB support to drill outputs 2022-12-22 12:42:21 -03:00
Salvador E. Tropea b2b528e4ec [Fixed] Some times we need %V, %v, %S before full config
- So now we solve the variant on-the-fly
2022-12-22 12:40:12 -03:00
Salvador E. Tropea 7aac98a239 [PCB variant] Fixed title for sub-PCBs
- Must be applied after filtering
2022-12-22 10:12:32 -03:00
Salvador E. Tropea 6790ccc547 [% patterns] Added %S to get the sub-PCB name 2022-12-22 10:11:46 -03:00
Salvador E. Tropea 11773e920d [Windows][Fixed] Avoid asuming bash is part of the system
Related to #325
2022-12-22 08:44:46 -03:00
Salvador E. Tropea c1f7b8dcff [Windows] Fixed use of /dev/null
- Now using os.devnull
Related to #325
2022-12-22 08:23:56 -03:00
Salvador E. Tropea 648bf49834 [DOCs] Clarified what `multivar` needs in the `diff` output
Related to #353
2022-12-22 07:10:46 -03:00
Salvador E. Tropea 5594fa0b7c [iBoM][Fixed] Variant changes to the *.Fab weren't exported
- Now all 2D variant stuff is applied before calling iBoM

Closes #350
2022-12-19 13:22:11 -03:00
Salvador E. Tropea ccaefd7e90 [iBoM][Added] `hide_excluded` to hide excluded *.Fab drawings. 2022-12-19 13:18:08 -03:00
Salvador E. Tropea 3c501d3054 [iBoM][Fixed] Variant changes to the *.Fab weren't exported
- Now all 2D variant stuff is applied before calling iBoM

Closes #350
2022-12-19 11:26:24 -03:00
Salvador E. Tropea d4047b78c9 [iBoM][Added] `hide_excluded` to hide excluded *.Fab drawings. 2022-12-19 11:22:00 -03:00
Salvador E. Tropea 0f574705cf [Variants][Fixed] _sub_pcb initialization 2022-12-18 18:00:12 -03:00
Salvador E. Tropea da2d5f1001 [Variants] Added some limited support for `kikit separate` 2022-12-18 17:14:38 -03:00
Salvador E. Tropea fafd5d2f6d New VRML output 2022-12-17 20:55:09 -03:00
Salvador E. Tropea 8c3e5b982b [PCB_Print][Fixed] Images not showing in custom frames.
Closes #352
2022-12-16 13:44:12 -03:00
Salvador E. Tropea 6b41f41e93 Bumped version to 1.5.2 2022-12-16 13:42:47 -03:00
Salvador E. Tropea bb4047e748 Changed the system look-up resources patch
- Slightly more portable, not really much
2022-12-16 13:40:35 -03:00
Salvador E. Tropea c1a646aba8 [Fixed] Missing / in system level look-up
- Bumped version to 1.5.1
2022-12-16 12:47:52 -03:00
Salvador E. Tropea b8cb51a996 Bumped version to 1.5.0
- Updated docs
- Fixed Debian dependency
2022-12-16 09:58:42 -03:00
Salvador E. Tropea fe56d5ba64 [KiKit Present][Fixed] Temporal .md is now removed 2022-12-16 09:06:31 -03:00
Salvador E. Tropea 8cc3ff7237 [KiKit Present] Check for markdown2
- Also added as dependency for PyPi
2022-12-16 07:07:56 -03:00
Salvador E. Tropea 52fc3e610f [DOCs] Added example of how to hide KiCost secrets on CI/CD 2022-12-15 14:22:57 -03:00
Salvador E. Tropea 302a762e7a [KiCost] Log version of the imported module 2022-12-15 09:37:06 -03:00
Salvador E. Tropea ae450b15a4 [KiKit Present] Now using the detected git binary
- Also added repository URL detection
2022-12-06 13:36:35 -03:00
Salvador E. Tropea 6b253d3c52 [KiKit Present] Added quick start support
- Also added mechanism to embed the markdown description
- Some adjusts to the help
2022-12-06 12:58:59 -03:00
Salvador E. Tropea b74ed0f66b [Panelize][Fixed] Don't generate Quick Start example if no KiKit 2022-12-06 12:47:43 -03:00
Salvador E. Tropea 83684caf11 [KiKit Present] Implemented external mode and get_targets 2022-12-05 21:27:39 -03:00
Salvador E. Tropea 23593ac477 [KiKit Present] Added Template member to list resources
- To make easier the get_targets implementation
2022-12-05 21:26:16 -03:00
Salvador E. Tropea eb4514f570 [Navigate Results] Added CSS and Folders 2022-12-05 21:24:30 -03:00
Salvador E. Tropea 509f74fd31 [KiKit Present] Implemented various modes 2022-12-04 19:50:29 -03:00
Salvador E. Tropea cc53d655c0 [KiKit Present] Imported local pybars 2022-12-04 11:39:25 -03:00
Salvador E. Tropea aeaf52fd02 [KiKit Present] Removed `kikit` import
- _renderBoards must be implemented in a different way
2022-12-04 11:37:28 -03:00
Salvador E. Tropea b3d664fa94 [KiKit Present] Removed the try in boardpage
- Too broad, doesn't help
2022-12-04 11:32:58 -03:00
Salvador E. Tropea 266cf0a6a4 [KiKit Present] Removed `click` import, unused
- Also added author and license
2022-12-04 11:30:40 -03:00
Salvador E. Tropea 5cd508ac3b [PcbDraw] Added present.py
- This is from KiKit, but is very similar to populate.py
2022-12-04 11:28:16 -03:00
Salvador E. Tropea 5ad49e435d [Stencil *] Clarified the warning about using stencil.side 2022-12-04 11:21:51 -03:00
Salvador E. Tropea ae84edf1fc [Navigate Results] Added icon association for PCB/SCH files 2022-12-03 21:19:43 -03:00
Salvador E. Tropea 4ddf1772a2 [Panelize] Fixed template, now default_units is just units
- This change was done so the global default units apply here
2022-12-03 21:04:39 -03:00
Salvador E. Tropea f7dceabd0e Fixed KiCad project reload
- Otherwise KiCad SIGSEGVs when trying to plot
2022-12-03 20:48:49 -03:00
Salvador E. Tropea 4c356f14aa [Panelize] Added preview image to the targets 2022-12-03 20:48:10 -03:00
Salvador E. Tropea 2cea9925d5 [Panelize] Added preview option
- Enabled for quick start
2022-12-03 18:38:28 -03:00
Salvador E. Tropea adcdd5fde9 Suggest closer option
When using an invalid option and we list the availables
2022-12-03 18:33:20 -03:00
Salvador E. Tropea e81b743ebb [KiBoM][Fixed] User defined fields wasn't available as column names.
Fixes #344
2022-12-02 23:25:27 -03:00
Salvador E. Tropea 7d8cadd0f4 [Stencil*] Now using Xvfb 2022-12-02 19:24:19 -03:00
Salvador E. Tropea 44c7b95e77 [Makefile][Fixed] What is included in all target
- Now outputs marked with run_by_default=False aren't included.
- They are included in other targets, just not in the default
  target.
2022-12-02 13:45:43 -03:00
Salvador E. Tropea 8c72fc23c9 [Navigate Results] Added support for compress output 2022-12-02 13:26:49 -03:00
Salvador E. Tropea be4582efb0 [Internal BoM][Fixed] Problems when using HRTXT and no options
- Also made the quick-start use a better column separator
2022-12-02 11:32:45 -03:00
Salvador E. Tropea 3b963a195b [Panelize] Added support for the plugin options 2022-12-02 10:51:53 -03:00
Salvador E. Tropea 3fd8dbf953 [Stencil*] Added quick start examples 2022-12-02 10:22:54 -03:00
Salvador E. Tropea 5de3b8cc6f [Stencil*] Added category 2022-12-02 09:34:25 -03:00
Salvador E. Tropea bd9d2ec7b7 [Navigate results][Fixed] Exception when no outputs 2022-12-02 09:33:43 -03:00
Salvador E. Tropea 64b2cd780f [Stencil*] Added missing PNG targets 2022-12-02 09:10:51 -03:00
Salvador E. Tropea 4dcc566395 [Navigate Results] Added STL and SCAD icons 2022-12-02 09:09:24 -03:00
Salvador E. Tropea d935ce17b7 [Stencil*] Added PNG preview for the 3D model 2022-12-02 08:41:12 -03:00
Salvador E. Tropea f68855f4d8 [Stencil*] Added get_targets implementation 2022-12-01 13:59:24 -03:00
Salvador E. Tropea 2b86ef9e80 [Stencil*] Moved common code to out_any_stencil.py 2022-12-01 13:19:28 -03:00
Salvador E. Tropea a9000716a7 [Stencil_For_Jig] New output
- Just the other type of stencil supported by KiKit.
2022-12-01 12:59:55 -03:00
Salvador E. Tropea 2a46ab1cff [Stencil_3D] New output
- KiKit's "stencil createprinted"
2022-12-01 11:15:12 -03:00
Salvador E. Tropea 5767a03868 [Panelize] Added link to KiKit docs 2022-12-01 08:17:35 -03:00
Salvador E. Tropea 75ebc7a677 [Windows] Try to fix %X expansions
- They convert \ to / and remove :
- So we now avoid it on Windows
Related to #325
2022-12-01 07:36:53 -03:00
Salvador E. Tropea fdd38d176a [set_text_avriables][Windows][Fixed] Git command replacement
- Python implementation used by KiCad uses \ in the file names, which
  IMHO is wrong, they should learn from DJGPP tools, even DOS can
  handle /
- So we can't use filenames in re.sub without first escaping all \
Related to #325
2022-12-01 07:14:50 -03:00
Salvador E. Tropea 79b0c3f45a [Panelize] Added `source` options 2022-11-30 18:20:57 -03:00
Salvador E. Tropea 425840059c [Panelize] Added mechanism to extend defined options. 2022-11-30 17:01:40 -03:00
Salvador E. Tropea 5750cfd10a [Panelize] Added error when using KiCad 5 and KiKit >= 1.1.0 2022-11-29 17:04:30 -03:00
Salvador E. Tropea 99467d4d05 [Added] Panelize output
- First working version
2022-11-28 16:31:00 -03:00
Salvador E. Tropea 788aabeeed [PCB_Print][Added] Margins for the autoscale mode.
Closes #337
2022-11-25 12:03:43 -03:00
Salvador E. Tropea 1f8bad0a9b [Imports][Fixed] Problems with recursive imports
- When the intermediate import didn't contain any of the requested
  elements (i.e. importing outputs, but no outputs in the middle).

Closes #335
2022-11-24 13:16:31 -03:00
Salvador E. Tropea 02aa6bce0d [BoM][Added] Human readable text output format.
Closes #334
2022-11-24 11:32:47 -03:00
Salvador E. Tropea d72913a280 [BoM] Using \t, \n, \r and \\ is now supported.
See #334
2022-11-24 09:58:16 -03:00
Salvador E. Tropea be68daace1 [BoM][Fixed] The length of the CSV separator is now validated. 2022-11-23 20:54:58 -03:00
Salvador E. Tropea a9ece9042d [PCB_Print] Now the text in the PDF is searchable.
Closes #331
2022-11-23 18:18:21 -03:00
Salvador E. Tropea c4d9a26d20 [DOCs][Dependencies] Suggest to install texlive for Pandoc
- In #264 we see that texlive is needed in some cases.
- Looking at texlive-latex-base I see the fonts aren't installed.
2022-11-23 15:24:23 -03:00
Salvador E. Tropea cfa54d032b [Gerber][Fixed] Extension used for JLCPCB inner layers.
- The .gpN stands for "Gerber Plane N", which are plotted negative.
- Normal (positive) inner layers should be named.gN
- We are plotting them in positive.

Fixes #329
2022-11-23 14:58:59 -03:00
Salvador E. Tropea 5e3404949d [Stack-up][Fixed] Problems when using more than one dielectric
Fixes #328
2022-11-10 18:09:00 -03:00
Salvador E. Tropea e42ab5e6be [Report] Removed warning for drill tool missmatch
- When an NPTH hole with drill size == pad size is found and its
  diameter isn't standard.
- We verified KiCad doesn't really generate a pad in this case.

See #326
2022-11-08 14:13:08 -03:00
Salvador E. Tropea a4e68b1c18 [KiBoM] Added support for Mouser links 2022-11-07 11:34:14 -03:00
Salvador E. Tropea dbea3ca183 [BoM][Added] Option to link to Mouser site. 2022-11-07 10:50:58 -03:00
Salvador E. Tropea ca1faa9102 [BoM][Fixed] Digi-key link in the HTML output. 2022-11-07 10:10:59 -03:00
Salvador E. Tropea c2cd439bb6 [Report][Fixed] Problems for NPTH holes with some sizes
- When using NPTH holes with sizes that doesn't correspond to
  real drill tools. It generated bogus reports about wrong OARs.

Close #326
2022-11-05 15:48:13 -03:00
Salvador E. Tropea c3f426a1d5 [Diff][Fixed] Problems when missing file from repo
- When comparing to a repo point where the PCB/SCH didn't exist yet.
Closes #323
2022-11-05 14:37:19 -03:00
Salvador E. Tropea e7b35da4e1 [Render_3D] Updated comment about KiCad bug 2022-11-02 11:17:51 -03:00
Salvador E. Tropea 39991b72bc [PcbDraw][Fixed] Adapted to the solev_filters change 2022-11-01 13:42:01 -03:00
Salvador E. Tropea 06f5fc12f4 [Render_3D] Separated the crop and transparent options 2022-11-01 13:36:05 -03:00
Salvador E. Tropea 3400dcca70 [Render_3D][Fixed] Problems when the list of components is None 2022-11-01 13:26:26 -03:00
Salvador E. Tropea e874b3af8e [Populate] Added support for `render_3d`
- So now we have a better image and no need for 2D representations
  of the 3D models
2022-11-01 12:54:09 -03:00
Salvador E. Tropea 0ee280b6d9 [Render_3D] Added filter support for show_components and highlight
- Just like in PcbDraw output
2022-11-01 12:53:09 -03:00
Salvador E. Tropea 8933fdd681 [Render_3D] Better highlight
- Now we compute the component rotation
- The Bounding Box is computed using the court yard
2022-11-01 12:52:11 -03:00
Salvador E. Tropea 6d3d2c37d0 [Render_3D] Added option to highlight components 2022-10-31 10:16:21 -03:00
Salvador E. Tropea 81ce2004d5 [Render_3D] Added option to auto-crop the resulting PNG 2022-10-30 14:35:18 -03:00
Salvador E. Tropea 5b19227625 [Render_3D] Added option to render only some components
- `show_components` like in PcbDraw
2022-10-30 12:36:36 -03:00
Salvador E. Tropea 58e3e9e847 [PcbDraw][Populate] Added filter expansion
- in `show_components` and `highlight`
2022-10-29 16:12:44 -03:00
Salvador E. Tropea d379c67790 [Filters][generic] added options to filter by PCB side 2022-10-29 15:51:33 -03:00
Salvador E. Tropea da34175cb3 [PcbDraw] Updated the changes docs 2022-10-28 13:45:38 -03:00
Salvador E. Tropea 1df9d1da46 [PcbDraw][PCB_Print] Removed all PcbDraw convert.py usage
- Currently not needed
2022-10-28 13:41:33 -03:00
Salvador E. Tropea 700bf5bff3 [PcbDraw][Print_PCB] Fixed issues when LXML isn't installed
- Moved PcbDraw import after the tool check
2022-10-28 13:03:30 -03:00
Salvador E. Tropea 3b9f6e2f49 [DOCs] Trying to use relative markdown links 2022-10-28 08:53:58 -03:00
Salvador E. Tropea 648cd1cc8d [DOCs] Documented the `populate` mechanism 2022-10-28 08:50:46 -03:00
Salvador E. Tropea 171803ff64 [Populate] Added support to compress and Makefile generation 2022-10-28 08:29:54 -03:00
Salvador E. Tropea ddd0018f43 [Populate] Handle missing mistune properly 2022-10-28 07:51:54 -03:00
Salvador E. Tropea 8512b41feb [Populate] Added pybars and pymeta 2022-10-28 07:16:05 -03:00
Salvador E. Tropea f3049351da [Populate] Documented the changes
- Also added author and license to the files
2022-10-28 06:30:17 -03:00
Salvador E. Tropea e56343d214 New populate output
- The PcbDraw command
2022-10-27 21:24:57 -03:00
Salvador E. Tropea b8f9b2e924 [PcbDraw] Applied the SVG patch like the upstream
- To make the code more convergent, is equivalent
2022-10-24 13:02:37 -03:00
Salvador E. Tropea 491c598afb [iBoM] Added support for the `offset_back_rotation` option 2022-10-24 12:58:36 -03:00
Salvador E. Tropea 417dbadcd2 [PcbDraw][PCB_Print][Fixed] SVG issues for browsers
- Same fix used for SVG output
2022-10-21 13:42:29 -03:00
Salvador E. Tropea 623ce5c65e [SVG][Fixed] Problems using Chrome and Firefox
- The KiCad 6 default scale is too big
2022-10-21 11:51:08 -03:00
Salvador E. Tropea 446f87aad1 [Debug] Added command line information
- For level 2 or more
2022-10-19 13:14:53 -03:00
Salvador E. Tropea 8ec4d481c0 [Package] Moved all resources to a central place
- All KiBot resources are now under kibot/resources
- PcbDraw resources are now in kibot/resources/pcbdraw
- All resources can be loaded relative to the script or from
  /usr/share/kibot
- The Debian package installs the resources in /usr/share/kibot
- The Python manifest includes all resources
- PcbDraw is now detected as a Python package
2022-10-19 13:05:56 -03:00
Salvador E. Tropea 5fe00f2598 Bumped version to 1.4.1
- Just to identify it as different
2022-10-19 10:44:02 -03:00
Salvador E. Tropea c79e5b0b0f [PcbDraw] Better support for variants
- All variant stuff is applied
- A new mode allows to get a more coherent behavior for the show_components
2022-10-19 10:19:00 -03:00
Salvador E. Tropea 0d3661ccca [PcbDraw] Removed _create_style
- No longer needed
2022-10-19 09:01:30 -03:00
Salvador E. Tropea aff00b44b6 [PcbDraw] Skipped the VCUTs layer check when the option is disabled 2022-10-19 08:59:54 -03:00
Salvador E. Tropea 0be6f40053 [PcbDraw] Individual margin control 2022-10-19 08:32:46 -03:00
Salvador E. Tropea 4b0965fc4d [PcbDraw] Added option to control the size detection
- Now we can use the full method found in newer versions
- But we can also use simpler methods that are usable and needs
  less dependencies (also they are faster)
2022-10-19 08:05:06 -03:00
Salvador E. Tropea 97dd675a6d [PcbDraw] A `remap_components` option with better type checks
- The old option was simpler, but you could put anything there
2022-10-18 13:37:37 -03:00
Salvador E. Tropea 087b1aabe3 [PcbDraw] Added resistor remap and flip options 2022-10-18 13:16:43 -03:00
Salvador E. Tropea f46f9557fd [PcbDraw] Avoid creating a temporal file for the style
- This is exactly the same structure needed by PcbDraw
2022-10-18 12:55:19 -03:00
Salvador E. Tropea 5887b29bf2 [PcbDraw] Added support to set the V-CUTS layer 2022-10-18 12:49:28 -03:00
Salvador E. Tropea ad2b4e48d1 [Fixed] The hide_stderr function when exception
- Needed a finally
2022-10-18 12:34:51 -03:00
Salvador E. Tropea f78f8b3064 [PcbDraw] Added solder paste removal 2022-10-18 11:38:29 -03:00
Salvador E. Tropea 268e1ef2f7 [PcbDraw] Added support for the outline width 2022-10-18 11:34:12 -03:00
Salvador E. Tropea 00cea42cda [PcbDraw] Added support for image margin 2022-10-18 11:27:11 -03:00
Salvador E. Tropea 801f7f5183 [PcbDraw] Avoid loading the PCB for each call to PcbDraw 2022-10-18 11:08:57 -03:00
Salvador E. Tropea 701824e4e4 Removed spurious KiCad messages during KiCad 5 PCB loads
- Seen on KiCad 6
2022-10-18 10:59:36 -03:00
Salvador E. Tropea 207dd8f67c [PcbDraw] Removed PIL as dependency
- So now the save function only supports SVG as input and SVG/PNG as
  output. All other cases are handled from outside
- This is because KiBot heavily uses ImageMagick and migrating to PIL
  is not something simple.
- There is no point in using PIL just for file conversion, as we don't
  use `render` this is the only use.
2022-10-18 10:49:13 -03:00
Salvador E. Tropea f61ca58ffa [PcbDraw][Fixed] Removed temporal style file 2022-10-18 10:11:53 -03:00
Salvador E. Tropea bb6b0c6141 [PcbDraw] Replaced `unit` code
- So we have only one units conversion
- I think the only difference is that KiBot code currently supports
  the locales decimal point
2022-10-18 09:57:56 -03:00
Salvador E. Tropea 473d1c27e2 [PcbDraw] Updated the components libs
- Added 0402 components
2022-10-18 08:58:48 -03:00
Salvador E. Tropea 749618782b [PcbDraw] Removed numpy as dependency
- Currently svgpathtool is disabled, it really needs numpy
- `numpy` is used to:
  - Multiply matrices (1 line code)
  - Find the index of the smaller element (1 line code)
  - I added a replacemt for the `array` function, it just makes all
    matrix elements float
2022-10-18 08:56:29 -03:00
Salvador E. Tropea a6f4173226 [PcbDraw] Included pcbnreTransition
- Just 2.8 kiB no worth the effort of pulling a dependency
- In fact it could be reduced to less than 10 lines, but I keep it
  almost unchanged (just added author and license) to make it easy
  to updated.
2022-10-18 08:51:25 -03:00
Salvador E. Tropea 7707ec3ef6 [PcbDraw] Fixed `collect_holes` for KiCad 5
- pad.GetDrillSizeX() and pad.GetDrillSizeY() are KiCad 6 specific,
  you must use pad.GetDrillSize()
- KiCad 5 vias were skipped
- Vias detection crashed on KiCad 5
2022-10-18 08:22:09 -03:00
Salvador E. Tropea c16fb7144e [PCB_Print] Replaced external PcbDraw
- Using the internal module
2022-10-18 07:53:12 -03:00
Salvador E. Tropea 531ace00a1 [PcbDraw] Added mechanism to only plot the solder mask 2022-10-18 07:37:16 -03:00
Salvador E. Tropea bca04a3222 [PcbDraw][Fixed] Avoid looking for PcbDraw as dependency
- No longer a dependency
2022-10-18 07:09:02 -03:00
Salvador E. Tropea 838129e69c [PcbDraw] Embedded the PcbDraw.plot code
- Now PcbDraw is not a dependency of out_pcbdraw.py
2022-10-17 12:58:06 -03:00
Salvador E. Tropea 1fdd3c26d1 [Fixed][QR lib update] Problems on KiCad 5
- Related to moving the footprint to the bottom
2022-10-14 11:08:42 -03:00
Salvador E. Tropea 25d9806b47 [Diff] Added option to compare only the first schematic page.
- So now the default is to compare all the schematic pages.
Closes #319
2022-10-14 10:25:37 -03:00
Salvador E. Tropea 619a7da745 Bumped version to 1.4.0 2022-10-12 10:21:49 -03:00
Salvador E. Tropea 72cae7c787 Changes to write v6 schematics more similar to prior versions 2022-10-11 13:09:49 -03:00
Salvador E. Tropea a337028007 [Internal BoM] Added some basic support for "Exclude from BoM" flag
Related to #316
2022-10-11 11:46:00 -03:00
Salvador E. Tropea d28ecfd8c4 [Schematic v6][Fixed] Autoplace fields could be lost in variants. 2022-10-11 10:06:00 -03:00
Kevin Joly bab8b97a76 [Position] Add "right_digits" option
KiCAD's generated position files have 6 digit mantissa. Some users would like to have the position file(s) generated in the same way than KiCAD. This option makes that possible while keeping the default behaviour of using 4 digits mantissa.

Signed-off-by: Kevin Joly <kevin.joly@armadeus.com>
2022-10-06 15:39:34 +02:00
Salvador E. Tropea 1106708a6d [Fixed][Position] Wrong side classification
- When the side column wasn't the last column

Closes #313
2022-10-06 08:59:15 -03:00
Salvador E. Tropea 86a9c25949 [Diff] Added option to skip pages with no diffs 2022-10-05 11:30:00 -03:00
Salvador E. Tropea 5592f5a2d5 [Dependencies] Added max_version
- Needed for incompatible PcbDraw 1.x until this is solved.
2022-10-04 09:06:07 -03:00
Salvador E. Tropea 33566c719d [Install Checker] Added Helvetica font detection
- Seems to be a problem on Arch Linux and derivatives
2022-10-04 08:40:28 -03:00
Salvador E. Tropea 925d3596dd New filter `field_modify`
- Also added `pre_transform` shortcut.
2022-10-03 13:11:01 -03:00
Salvador E. Tropea 82b299a159 [iBoM] Fixed the name displayed in the HTML when using filters
- and/or variants
2022-10-03 13:08:48 -03:00
Salvador E. Tropea c4cc6371a8 [Diff] Added mechanism to compare with the last Nth tag
Related to #312
2022-10-03 09:04:29 -03:00
Salvador E. Tropea fe223e64f6 [DOCs] Added note about `checkout` GitHub action
- It produces a shallow checkout

Related to #308
2022-09-30 12:39:28 -03:00
Salvador E. Tropea a9d5b8cd58 New filter `urlify` to convert URLs in fields to HTML links
Closes #311
2022-09-30 11:28:21 -03:00
Salvador E. Tropea 193632ff65 [Fixed] Sch v6 sub-sheet issues
- When saving a sub-sheet that was edited as a standalone sheet
- In this case we have symbo instances, but they weren't
  processed, so we can't look for filter modifications.

Closes #307
2022-09-29 13:45:00 -03:00
Salvador E. Tropea b24f3b4e3b [PcbDraw] Added extension to temporal files
- More clear
- PcbDraw 1.0.0 doesn't support files without extension
  Is this a Windows legacy?!
2022-09-29 10:45:37 -03:00
Salvador E. Tropea 63b4c526f8 Fixed missing XYRS information for components with multiple units
Closes #306
2022-09-29 07:54:32 -03:00
Salvador E. Tropea 92c4d4f15d [DOCs][Fixed] Default values for KiBoM variant filters
Closes #303
2022-09-27 13:49:35 -03:00
Salvador E. Tropea ee967235e6 [Fixed] KiCad 5 "assert "lower <= upper" failed in Clamp()"
Closes #304
2022-09-27 13:26:35 -03:00
Salvador E. Tropea 9c1d32fac3 [Debug] Added place where we use run_command 2022-09-27 11:01:44 -03:00
Salvador E. Tropea 5d6362f620 [Install checker] Added preliminar help for Arch Linux packages
- Not yet tested
2022-09-24 20:06:08 -03:00
Salvador E. Tropea 7acf971b55 [PCB_Print] Changed scale strategy to make it more similar to old
- Rounding the scale
2022-09-23 12:48:10 -03:00
Salvador E. Tropea 518d533887 [Fixed] Python 3.10 "Decimal" issue 2022-09-23 12:38:49 -03:00
Salvador E. Tropea 7ed371cd50 [Pcb_Print] RSVG 2.54 seems to solve scale issues
- So now we adjust the scale according to the resulting size,
  instead of assuming RSVG will do it always wrong.
2022-09-23 12:34:54 -03:00
Salvador E. Tropea 4f0e0cc9cf [Diff] Avoid warnings about no PDF reader 2022-09-23 09:47:41 -03:00
Salvador E. Tropea d5c398e04e [Dependencies] Avoid trying to remove older python versions
- Older packages could be installed at system level, so we will fail.
  Also: we don't want to remove what the user has, just have a better
  version.
2022-09-23 08:10:32 -03:00
Salvador E. Tropea 1042edbb0e [Update_XML] Correct error when using wrong value 2022-09-21 12:41:30 -03:00
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 7238539a29 [CLI] Fixed the -w option
- Missing member in simple filter

Related to #296
2022-09-21 08:21:53 -03:00
Salvador E. Tropea 82229e126d [Copy_Files] Made 3D models use the project path as base
- To avoid problems when KiCad is running from other place
2022-09-21 08:00:58 -03:00
Salvador E. Tropea dff7d9d299 [3D models] More flexible about relative dirs
- When solving a relative path accept it to be relative to the
  PCB or relative to the current working directory.
2022-09-20 13:42:06 -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 39eabd996f [Schematic v5] Better error message when mixing v5/6 files
Related to #298
2022-09-20 09:18:25 -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 751e8e8c2f Removed debug messages in run_drc/run_erc 2022-09-16 08:45:27 -03:00
Salvador E. Tropea 67175dcbd9 Now the error about differences bigger than the threshold is more clear
- KiBot also returns a distinct error level.
2022-09-16 08:41:15 -03:00
Salvador E. Tropea e273d615f2 Fixed -w implementation issues
- Crash when not used
2022-09-16 08:13:10 -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 de4daddc52 Assigned a number to the experimetal warning about missing refs
Related to #248
2022-09-16 06:21:24 -03:00
Salvador E. Tropea 0cf25c3295 Allow empty references in the generic filter
Related to #248
2022-09-16 06:17:34 -03:00
Salvador E. Tropea 4f54712a94 Added experimental option to accept CSV files without reference. 2022-09-15 14:05:24 -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 06152348ff Report unknown stuff in kibot/kiplot section 2022-09-15 12:57:00 -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 74d8b57830 Moved the BaseVariants import to the place where we use it
- Seems to solve macros issues
2022-09-15 07:38: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 76742bb69f [Fixed] Problems when aggregating a CSV without footprint
See #248
2022-09-15 06:34:17 -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 d51791f197 Added a warning whe we download 3D models 2022-09-14 10:58:05 -03:00
Salvador E. Tropea 446364fb32 [Fixed] Download datasheet abort on connection error
- Now it isn't fatal
- This is PR #290 applied to master

Closes #289
2022-09-14 10:45:06 -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 4cbb7a3405 [Fixed] 2D PCB processing didn't show in 3D targets
- I.e. solder paste not removed in the 3D render.

Related to #270
2022-09-13 11:32:27 -03:00
Salvador E. Tropea 87ce073e77 [Fixed][BoM] CSV detection 2022-09-13 11:01:57 -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 877695378c [Fixed][Diff] Link name for git diffs
- Also adapted file test to new name
2022-09-09 13:30:27 -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 b85aca8c29 [Base3DOptions] Removed initialization now done in the constructor 2022-09-09 11:34:25 -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 b0b7c6c041 [Netlist] Problems to compress
Fixes #287
2022-09-09 06:51:38 -03:00
Salvador E. Tropea 409640c681 Starting to add an output to create PCB variants
- WIP, some part is working
2022-09-08 13:54:37 -03:00
Salvador E. Tropea 42aa142a56 [Report] Added support for Eurocircuits drill adjust to fix small OARs.
Closes #227
2022-09-08 11:37:58 -03:00
Salvador E. Tropea 9fdbfa5411 Bumped version to 1.3.0 2022-09-08 09:05:59 -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 2f37a5c6b4 [3D models] Various small details about missing models
- Fail to expand a VAR is reported once. Not for every model.
- Warnings no longer printed if the model is missing but we can
  download it. It confuses people when the problem is solved.
- When we fail to expand a VAR and the result is "${VAR}..."
  we tried to make it an absolute path creating a path that was
  confusing. Now we keep the original name.
2022-09-07 14:15:31 -03:00
Salvador E. Tropea 99bfaec4dc [Tests] Make the logger tollerant to wrong init sequence 2022-09-07 14:05:02 -03:00
Salvador E. Tropea f127312b27 [Diff] Added example for quick start 2022-09-07 13:26:48 -03:00
Salvador E. Tropea 33dda2c3ac [Quick Start] Avoid starting a browser when no index is generated 2022-09-07 13:26:06 -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 6354ccdd7d [Diff] More changes to the link name
- Adding the tag to branches
2022-09-07 10:52:51 -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 9cd284a9c0 [Quick Start][PCB Print] Fixed tools check
- Changes in the toolchain
2022-09-07 09:11:27 -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 43aae8b0fe [Diff] Give priority to a tag if we are exactly at the tag 2022-09-06 10:37:48 -03:00
Salvador E. Tropea 947542747f [Diff] Added some logic to support new=''
- Pretends to be HEAD
- Detects if we have a dirty state

Related to #276
2022-09-06 10:12:10 -03:00
Salvador E. Tropea f603301d59 [Diff] Changed the name of the link
- It now tries with the branch, then the tag and finally what the user
  named.

Related to #276
2022-09-06 08:56:28 -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 a4abb65ef3 [Diff] Added support for stashing submodules
Related to #265
2022-09-05 13:35:04 -03:00
Salvador E. Tropea 11d1b7ffcb [Diff] Now the link contains the git point name and the hash
Related to #276
2022-09-05 10:58:27 -03:00
Salvador E. Tropea 40526ed012 [Fixed] Avoid reloading the project is none loaded 2022-09-05 10:30:29 -03:00
Salvador E. Tropea 795e56b6d7 [PCB_Print] Text vars generated in the same run didn't show up
Fixes #280
2022-09-05 10:05:05 -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 0631836f29 When restoring the project now we maintain the original EOLs
- Not doing it in KiAuto raised problems, so now we also do it in
  KiBot

Related to #265
2022-09-02 09:38:16 -03:00
Salvador E. Tropea 560ce80c7d [Debug] Logged executed command in a cut & paste friendly way
Closes #269
2022-09-02 08:49:39 -03:00
Salvador E. Tropea de4d6c0714 [Diff] Added error message when KIBOT_LAST doesn't point to a hash 2022-09-02 08:14:55 -03:00
Salvador E. Tropea d834ba5075 [Diff][Fixed] Problems with overwriting the symlink 2022-09-02 08:14:15 -03:00
Salvador E. Tropea e9e4225b16 [Diff] Added option to copy instead of link
Closes #272
2022-09-02 07:16:16 -03:00
Salvador E. Tropea cabf14ec07 [Diff][Fixed] Always comparing the PCB
- Added regression test

Fixes #273
2022-09-02 07:03:57 -03:00
Salvador E. Tropea 2b54d8320a [Diff] Added check for the old/new files specified. 2022-09-02 07:00:01 -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 61bee6e9cc [QR_Lib][Fixed] Problems when moving the footprint to the bottom.
- The updated drawings always used the top layer

Fixes #271
2022-09-01 10:29: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 6393ee3319 [Diff] Made the symlink relative
- So it can be included in an archive
2022-08-31 13:37:44 -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 49d20fdeeb [Fixed][Text variables] when using an empty text
Fixes #268
2022-08-31 09:18:19 -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 1557dfea77 [Diff][Fixed] Problems with git submodules
- Now we force a submodules update during checkout

Related to #265
2022-08-31 08:10:27 -03:00
Salvador E. Tropea 6b344a094b [Diff][Fixed] Problems when no changes to stash
- "git stash push" always returns 0, even if nothing was stashed.
- But "git stash pop" returns 1 if nothing stashed.
- So now we check using "git stash list".

Related to #265
2022-08-31 07:50:09 -03:00
Salvador E. Tropea bc793c8637 [Fixed] Internal netlist generation when no lib
Related to #242
2022-08-29 08:37:12 -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 bc0011470b [Fixed][PCB_Print] Problems with `hide_excluded: true`
- For components not in the SCH
Fixes #258
2022-08-23 07:18:12 -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 0180136fd6 [DRC] Another workaround for KiCad lack of exclusions support in Python
- Saving the project can remove them, so `fill_zones` removed them

Fixes #250
2022-08-17 13:33:57 -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
Salvador E. Tropea f1c6913449 [Debug] Added KiBot version and verbose level to the logs 2022-08-16 09:24:13 -03:00
Salvador E. Tropea f0783576ec [Dependencies][Debug][Fixed] pip install error log
- Now should be able to capture the error from pip

Related to #209
2022-08-16 09:16:42 -03:00
Salvador E. Tropea 91185ca56a [Dependencies] Added more local share plug-in dirs
- Also added the current iBoM plug-in path
2022-08-12 12:59:44 -03:00
Salvador E. Tropea 699b2f4d16 [Dependencies] Switched to gs (from ghostscript)
- The short name is more common

Related to #209
2022-08-12 10:24:58 -03: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 fcdedad360 [SCH][KiCad 6][Fixed] Instance data partially applied
- The component instance information was applied to the component,
  but not to the "basic" fields.
2022-08-12 09:03:31 -03:00
Salvador E. Tropea 5785fd3e0f [SCH Print][Netlist][Fixed] Problems with name collisions
- When the name chosen by KiCad was an alredy existing file (from
  another output) it was removed by KiAuto. So then KiCad created
  the file, we renamed it to what the user selected and ... well,
  the original file was lost. Now KiAuto takes care of this.
Fixes #244
2022-08-11 13:31:26 -03:00
Salvador E. Tropea 99d35922c6 [DEBUG] log KiAuto commands that we can copy & paste 2022-08-11 13:26:41 -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 0c2e1b823f Fixed missing changes in out_render_3d.py 2022-08-01 18:40:00 -03:00
Salvador E. Tropea 6c7e0cebe0 Now GS.ki5() and GS.ki6() are just GS.ki5 and GS.ki6
- The version doesn't change during execution ;-)
2022-07-31 17:45:55 -03:00
Salvador E. Tropea 320f1a38ff [iBoM] Fixed: G/SetFPIDAsString needs KiCad 6.0.6+ 2022-07-30 11:05:43 -03:00
Salvador E. Tropea 3b6c9e7d8b [iBoM] Added support for variants that change component fields
Closes #242
2022-07-30 10:39:48 -03:00
Salvador E. Tropea 3bc4bd51c6
Merge pull request #239 from hkleen/datasheet_download_ssl_error
catch possible SSLError when downloading datasheets
2022-07-26 06:23:19 -03:00
Henning Kleen 95f3ccb773 Update user agent string to pretend being a recent version of Firefox 2022-07-26 10:27:01 +02:00
Henning Kleen 44d3eac6e2 catch possible SSLError when downloading datasheets to prevent KiBot crash. 2022-07-26 09:28:46 +02:00
Salvador E. Tropea b5fc7e8c55 [Report] Fixed converted file wasn't stored at `dir`
Closes #238
2022-07-25 11:40:24 -03:00
Salvador E. Tropea 674c4899f6
Merge pull request #237 from kevin-dong-nai-jia/feature/suppress-info
Suppress an excessive info message to console
2022-07-25 11:07:02 -03:00
Kevin Dong d5e5585dd6
Suppress an excessive info message to console 2022-07-25 04:08:06 +08: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 9d7e3b91f4 Removed debug message 2022-07-21 13:46:09 -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 b9bd5368c9 Now %V/%v can be expanded in preflights
Related to #234
2022-07-21 13:07:24 -03:00
Salvador E. Tropea 1b9c734401 [KiCad 6 SCH] Fixed problems with title block on variants
- The title block wasn't saved if the title wasn't defined.
- In the first versions of v6 it was stored empy, now skipped.
2022-07-21 12:58:46 -03:00
Salvador E. Tropea 513b6526ff [PCB Print] Fixed problems with zones on multiple layers
- Now we remove them from the layer set
Closes #226
2022-07-18 09:52:41 -03:00
Salvador E. Tropea 8a47bdee83 [Install Checker] Instruct to install pip when needed
- Python tools can't be autodownloaded without pip
2022-07-18 08:49:02 -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 3e922b6009 [PCB_Print] Fixed problems with filtered/modified PCBs 2022-07-14 18:52:31 -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
Henning Kleen b4ed680d9c fix OAR calculation for design report 2022-07-14 15:56:40 +02: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 ba7bebd980 [Position] Added an error message for wrong file names
- If a user asks for separated files and doesn't use %i to
  differentiate the names now we inform it as an error.

Related to #222
2022-07-13 11:33:43 -03:00
Salvador E. Tropea 8c690bfb3f Switched to v1.2.1 to identify git code 2022-07-13 10:38:26 -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 9ce18ae39b Fixed filter and variants import 2022-07-12 11:10:35 -03:00
Salvador E. Tropea 6c118b73fa Imports can be nested now
- import stuff that was imported ...
- Is the first approach, works for a simple case

Related to #218
2022-07-12 10:55:00 -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 68c96385d3 [KiCad 6][Variants] Fixed problems crossing alternative drawings
- Units with DeMorgan alternative drawing got only one crossed

Related to #219
2022-07-12 07:39:15 -03:00
Salvador E. Tropea 139ee82bdc Documented the added features. 2022-07-11 12:41:23 -03:00
Henning Kleen 209248ae8d also expand environment variables in design report template path 2022-07-11 15:22:43 +02:00
Henning Kleen 7ba7794a14 Allow expansion of environment variables in paths 2022-07-11 11:22:31 +02:00
Salvador E. Tropea 15d5f90a27 [Tests] Fixed fil_test.py assertions
- PyTest 6 failed to catch the assert, but 7 does
2022-07-09 19:44:02 -03:00
Salvador E. Tropea e8a20ef362 [Dependencies] Fixed repeated dependencies when plug-in dir available 2022-07-09 16:28:20 -03:00
Salvador E. Tropea 18bf8d9b78 [Dependencies] Added support for partially uninstalled modules. 2022-07-08 11:50:18 -03:00
Salvador E. Tropea 120220b986 [Test] Workaround for importlib crazy behavior
- I can't call pip to install in a specified dir and then import
  using importlib. It always fail, even when the module is installed
  and its path is in sys.path. Couldn't find why.
2022-07-08 10:57:03 -03:00
Salvador E. Tropea 98ac2f2335 [Dependencies] Forced pip -U to behave in a consistent way
- Debian patches pip/distutils in a way that "pip -U" behaves
  differently when executed by root. Instead of installing to
  site.USER_BASE it installs to /usr/local.
  So now we send -U to pip, but we also send site.USER_BASE
  using --root and --prefix
  This makes pip to install in the same way for regular users
  and root. This allows running the CI/CD tests in a consisten
  way.
2022-07-08 07:48:02 -03:00
Salvador E. Tropea 3f3f69028d Merge branch 'master' of https://github.com/INTI-CMNB/KiBot 2022-07-08 06:22:06 -03:00
Salvador E. Tropea 46bd3dde13 Fixed debug message 2022-07-07 20:08:48 -03:00
Salvador E. Tropea d8f01ca337 Better indentation for dependency debug logs 2022-07-05 13:59:04 -03:00
Salvador E. Tropea 0635a249f3 Fixed wrong extra_deb name 2022-07-05 13:48:28 -03:00
Salvador E. Tropea 0a8481dadf Now the dependencies are YAML specs in docstrings
- They document the dependencies and constructs them
2022-07-05 12:43:49 -03:00
Salvador E. Tropea 53088227d1 Moved comments in docstrings to comments
- To allow using the docstring of plug-ins for specs
2022-07-05 12:42:16 -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 1f123d3f22 [Test] Added a message to test the missing XLSX behavior 2022-07-01 12:40:15 -03:00
Salvador E. Tropea f80480b31e [Dependencies] Added XLSXWriter auto-download 2022-07-01 11:27:44 -03:00
Salvador E. Tropea fe191ba594 [PCB_Print] Updated comments 2022-07-01 11:16:04 -03:00
Salvador E. Tropea 84f3b0ede1 Removed distutils as dependency 2022-06-30 13:59:42 -03:00
Salvador E. Tropea 5b732867f5 Removed distutils use in mcpyrate 2022-06-30 13:58:54 -03:00
Salvador E. Tropea 8df074df76 Removed the use of distutils.StrictVersion 2022-06-30 13:57:20 -03:00
Salvador E. Tropea e00b6b3f23 Removed unused functions
- check_script
- check_eeschema_do
- Now all the code uses dep_download stuff
2022-06-30 13:11:02 -03:00
Salvador E. Tropea 33b2367a54 [Dependencies] Added support to *_sch_print 2022-06-30 11:16:53 -03:00
Salvador E. Tropea 200b54aaf7 Fixed problems with iBoM version detection
- Now we avoid the wxWidgets initialization
2022-06-30 11:04:01 -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 482efbd81b [DOCs][Dependencies] Fixed missing space for PyPi logo 2022-06-30 08:07:42 -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 d15e20d8b9 [DOCs][Dependencies] Added Python module and tool images 2022-06-30 07:40:27 -03:00
Salvador E. Tropea ee9177c40b [Dependencies] Better text output 2022-06-30 07:13:18 -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 be5c2ff29e [Dep downloader] Added support for symlinks in tarballs 2022-06-29 11:33:36 -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 8dceb9a322 [PCB_Print] Added better rsvg_convert dependency
- We need 2.40+ for EPS, other versions are OK for the rest
2022-06-29 08:38:45 -03:00
Salvador E. Tropea 90eb8ac099 Added more descriptive message when a tool version isn't good
- Now we say "upgrade" instead of "install"
- We also show the needed version
2022-06-29 08:35:43 -03:00
Salvador E. Tropea 6242a772c2 KiCost specs encoding fixes
- Now we decode HTML encoded sequences
- Updated KiCost submodule to the one that fixes KitSpace encoding
- Updated the references (now properly encoded)
2022-06-29 08:08:42 -03:00
Salvador E. Tropea 6a1372c574 Added support for dependency download to pcbdraw 2022-06-28 13:19:06 -03:00
Salvador E. Tropea 3440198cd7 Enhancements to the dependency downloader
- Added Python tools downloader
- Added progress bar when downloading a tool
- Updated ImageMagick message when no fuse
2022-06-28 13:17:54 -03:00
Salvador E. Tropea e744d806b5 Added missing default categories for iBoM 2022-06-28 11:30:27 -03:00
Salvador E. Tropea 05f066fcb4 Added reason why a tools is needed to check_tool 2022-06-21 10:44:24 -03:00
Salvador E. Tropea ce9dd92d28 Moved the system and platform detection out of downloaders 2022-06-19 19:52:29 -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 d2c607755f Added log.debugl(LEVEL, msg) function, using verbose level
- Not using logging values
2022-06-18 16:35:31 -03:00
Salvador E. Tropea f31c62fbab More KiCad environment vars adjusts
- KiCad 5 values promoted to KiCad 6 versions when using KiCad 6
2022-06-17 11:33:52 -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 9db0615382 Fixed check for imageable 2022-06-14 14:30:55 -03:00
Salvador E. Tropea 6a8fe5010c Fixed warning messages in navigate_results 2022-06-14 13:11:29 -03:00
Salvador E. Tropea 5beabb129b Avoid generating a simple icon for a category when a tool is missing 2022-06-14 10:49:40 -03:00
Salvador E. Tropea e6cfe15dd0 PDFUnite: added warnings and errors about missing input files
- Also simplified the create_pdf.py error handling.
  - We are not catching I/O errors, they are fatal and should be
    catched at a higher level.
  - We already check the input files and create the output dir.
- Added tests
2022-06-13 08:56:25 -03:00
Salvador E. Tropea 6941202d2a Added a list of valid columns when a wrong column is specified
- Inspired on rdeterre/kiplot@6a9d8e3
2022-06-13 07:01:05 -03:00
Salvador E. Tropea a3811537b8 Fixed svg_pcb_print: page orientation for portrait. 2022-06-12 16:07:58 -03:00
Salvador E. Tropea 06bb47ea05 pcb_print: fixed frame page orientation in GUI mode. 2022-06-12 15:37:00 -03:00
Salvador E. Tropea db3bf471ea Add support for `globals` instead of `global` 2022-06-12 11:40:07 -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 25a204da3f Import plugins sorted
- More reproducible
- Should help to avoid random changes in kibot-check
2022-06-11 09:29:18 -03:00
Salvador E. Tropea 68456a0032 Avoid showing notes when not listing output details 2022-06-11 09:28:39 -03:00
Salvador E. Tropea a7a50dcf6d Simplified the drill_marks stuff
- Setter/getter are no longer needed
2022-06-10 17:50:11 -03:00
Salvador E. Tropea 3d520c9830 KiCad v6 SCH: Fixed the gr_curve support
- Is wrongly documented
- Not used by the available symbols
- Not implemented in the GUI
- You can manually use it
2022-06-10 09:31:44 -03:00
Salvador E. Tropea 0583befe6a Adapted tests to the new drill_marks validation
- Also removed the setter helper, no longer needed as validation is
  done by Optionable
2022-06-10 08:47:58 -03:00
Salvador E. Tropea 2ec1d9da1b Fixed: missing DRILL_MARKS adaptation in out_pcb_print 2022-06-10 08:15:57 -03:00
Salvador E. Tropea 38b1202e86 Fixed: enabled the vias plotting in pcb_print
- Disabled by 43c5f4f
2022-06-10 07:43:27 -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 66c9e21865 Fixed problems with 4872a6d
- Even when most tools takes utf8 == utf-8 the XML class don't
2022-06-09 13:58:29 -03:00
Salvador E. Tropea 4872a6d366 XML BoM: Fixed problems with fields containing /
Fixes #206
2022-06-09 13:38:32 -03:00
Salvador E. Tropea a4e097d595 Added a warning about useless scale when printing using the frame 2022-06-09 11:41:29 -03:00
Salvador E. Tropea fb6e2ff2de Fixed problems when generating navigate_results before outputs 2022-06-09 10:35:42 -03:00
Salvador E. Tropea d9f866cbe3 Fixed problems with PyYaml 3.13 2022-06-08 14:04:34 -03:00
Salvador E. Tropea 036c8d682e Fixed missing test in last patch
- Check for wrong output name
2022-06-08 12:57:28 -03:00
Salvador E. Tropea 3d95ba958c Fixed problems with compress output and unconfigured sources 2022-06-08 12:36:39 -03:00
Salvador E. Tropea c7a340f687 Added compress output to the navigate_results 2022-06-08 11:29:49 -03:00
Salvador E. Tropea f228fc1710 Marked qr_lib options as basic 2022-06-08 10:01:29 -03:00
Salvador E. Tropea 7938c35d37 Removed debug message 2022-06-08 10:01:01 -03:00
Salvador E. Tropea 29f845d886 Fixed the code that moves the basic indicator 2022-06-08 08:53:03 -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 a750bb302c Fixed problems expanding multiple KiCad variables in the same value. 2022-06-07 10:36:31 -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 156cd22fff Fixed the categories caption text 2022-06-06 13:16:49 -03:00
Salvador E. Tropea c8f4df5aa7 Added configurable categories
- Also allow to mix categories and outputs on the same page
2022-06-06 13:01:17 -03:00
Salvador E. Tropea 35247dfa72 navigate_results: Now categories can be represented by output previews 2022-06-01 13:36:59 -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 0eafc93fa8 Fixed GenCAD output targets.
- Also added a category
2022-06-01 11:31:55 -03:00
Salvador E. Tropea 24d81f4756 Allow using KiCad 5 legacy env names even on KiCad 6
Related to #205
2022-06-01 09:14:23 -03:00
Salvador E. Tropea d93d70541c Better KiCad v6 environment variables handling
- more variables detected (KICAD6_3RDPARTY, KICAD_USER_TEMPLATE_DIR)
- native KiCad 6 names (KICAD6_* instead of KICAD_*)
- all exported to the environment, not just the core

Fixes #205
2022-05-30 13:00:23 -03:00
Salvador E. Tropea 1663412698 navigate_results: generate PNGs for icons
- Faster load
- Smaller size
- But takes more time to generate
2022-05-29 16:37:15 -03:00
Salvador E. Tropea f589ee5cd9 Modified the icons to work without the Noto font
- Also saved them as plane SVG
- Kept an editable copy
- Fixed small detail
2022-05-29 16:31:29 -03:00
Salvador E. Tropea 6611925c17 navigate_results: centered when only 1 result 2022-05-29 15:05:49 -03:00
Salvador E. Tropea 1b318f0da4 navigate_results: made generated HTML compliant
- Added some missing alt attributes
- Added DOCTYPE
- Added language
- Added title
- Made tables regular (all same amount of td)
2022-05-29 13:41:53 -03:00
Salvador E. Tropea 8c8f9a7a4b navigate_results: added the KiBot version used to generate the pages 2022-05-29 13:00:27 -03:00
Salvador E. Tropea 4008cf68b1 navigate_results: added icon to the pages 2022-05-29 12:51:55 -03:00
Salvador E. Tropea bf4ad7f3b9 navigate_results: moved the style to a separated file 2022-05-29 11:32:24 -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 79a8b53f4e More fixes to 9b6b336 patch
- Last commit was bogus
2022-05-26 11:40:42 -03:00
Salvador E. Tropea 9d9ce72d8d More fixes to 9b6b336 patch
- Missing test in out_ibom.py
2022-05-26 11:16:22 -03:00
Salvador E. Tropea b44fe7e3bb Fixed problem intriduced by 9b6b336847
- The python3 stuff was applied too widely
2022-05-26 10:28:54 -03:00
Salvador E. Tropea b206d417ca Fixed KiBoM mounting hole regex
- Applied to the Footprint
- The ac39118 fix only affected the Part

Related to SchrodingersGat/KiBoM#169
Fixes #201
2022-05-26 10:02:07 -03:00
Salvador E. Tropea 0a3dff85f2 Added support for iBoM installed as plugin
- Not yet functional, we are working on iBoM layout
See: openscopeproject/InteractiveHtmlBom#301
2022-05-26 09:34:44 -03:00
Salvador E. Tropea 8ae9dff143 Bumped version to 1.1.0 2022-05-24 09:03:36 -03:00
Salvador E. Tropea 6eea54c7c9 Fixed XLSX problem when no PCB info and no stats used 2022-05-20 19:43:51 -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 23d3d76d94 Added Pattern and text variables expansion on internal BoM title
Closes #198
2022-05-20 07:30:29 -03:00
Salvador E. Tropea 287f8626ba Already configured outputs not created (i.e. when creating reports) 2022-05-20 07:24: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 23e632303d Fixed problems with KiCost using internal variants
- The XML didn't remove `variant` field properly (lack of lower)
- THe XML didn't support UTF-8
2022-05-18 15:59:38 -03:00
Salvador E. Tropea 054a090258 Added netlist export output
Closes #197
2022-05-18 09:49:17 -03:00
Salvador E. Tropea 776595636b Bumped version to 1.0.0. 2022-05-10 10:47:32 -03:00
Salvador E. Tropea 7058b1fed0 Fixed missing decode in iBoM fail test 2022-05-09 09:07:13 -03:00
Salvador E. Tropea 5f22d5a3a9 Now --quick-start is more robuts
- sys.exit() is skipped
- Passed dont_stop to the run stage (was only in config)
2022-05-06 13:03:38 -03:00
Salvador E. Tropea 156c98b3b2 Modified minimal PcbDraw version
- Ask for one that supports KiCad 6
2022-05-06 13:02:05 -03:00
Salvador E. Tropea 8a3f808117 Added error message about outdated iBoM 2022-05-06 13:01:18 -03:00
Salvador E. Tropea 7c7f1eeb79 Adapted to the new KiCost API
- Now we get functions only from the top-level of the module
2022-05-05 13:55:28 -03:00
Salvador E. Tropea 058d79e4f8 Adapted to KiCost API changes 2022-05-05 10:26:42 -03:00
Salvador E. Tropea 08b1b8bdfe Added download timeout to datasheet download
- Looks like TME detects scripts and does something that makes requests
  code to hang.
2022-05-01 11:27:00 -03:00
Salvador E. Tropea ef7c9916ed Updated docs 2022-04-29 09:06:24 -03:00
Salvador E. Tropea 5504ee228d Added --type option to --quick-start to select outputs
- Useful to debug a particular output
2022-04-29 09:02:52 -03:00
Salvador E. Tropea 74d77f037c Added 'qr_lib' to --quick_start 2022-04-29 09:00:47 -03:00
Salvador E. Tropea f3f7517a7f Fixed QR_lib output when no corresponding pre-flight is used 2022-04-29 08:56:26 -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 01c015eb27 Simplified the global vars handling
- The main class also applies the command line options
- Is more clear how defaults are handled
- Also added global config for the 3D field name
2022-04-28 14:49:28 -03:00
Salvador E. Tropea 7ddb9f5892 Modified the log system to allow parallel file logging
- During quick start targets generation we log with full verbosity
  to a file and with the selected verbosity to the console.
2022-04-28 14:43:08 -03:00
Salvador E. Tropea 494c9126f7 Fixed used layers detection in --quick-start
- We must reset some Layer members before doing a new detect
2022-04-28 14:26:02 -03:00
Salvador E. Tropea 3a3562e54e Removed the need to import kiplot in config_reader
- Avoids dependency loops
2022-04-28 14:19:53 -03:00
Salvador E. Tropea 5881f2b6c4 Fixed `gerber` example generation when no SCH
- We must skip anything using variants
- We must fix the compress sources
2022-04-28 14:08:25 -03:00
Salvador E. Tropea ae380726b2 Fixed problems in reports when no vias 2022-04-28 14:07:28 -03:00
Salvador E. Tropea 81aebbb50a Allow to skip the `regex` value in filters 2022-04-28 14:06:46 -03:00
Salvador E. Tropea 11dd1b16bf Now --quick-start is recursive
- Fixed some obvious details about cross pcb/sch generation
- Improved .kicad_sch guess when more than one and no project
2022-04-26 16:23:20 -03:00
Salvador E. Tropea 50ebaf0a15 Fixed the way xlsx_writer process the field joins
- It relied on a bug
2022-04-26 12:17:26 -03:00
Salvador E. Tropea bee8dab0ca Added yaml module not installed message in kiplot.py 2022-04-26 12:16:47 -03:00
Salvador E. Tropea 477c52affe Made __main__ show the same file names of detected files
- Also adapted the tests that looks for debug data about them
2022-04-26 12:15:34 -03:00
Salvador E. Tropea e1586484f5 Fixed KiCad 5 doesn't have LSET.Contains() 2022-04-26 12:14:24 -03:00