Commit Graph

600 Commits

Author SHA1 Message Date
Salvador E. Tropea 17b4c5f00b [DOCs] Added link to GitHub cache example 2023-01-27 11:44:24 -03:00
Salvador E. Tropea 5e34697471 [DOCs] Added link to KiCOst CI/CD example 2023-01-27 11:38:31 -03:00
Salvador E. Tropea d0c63f8a59 [Blender Export][DOCs] More clear how to get auto position 2023-01-27 11:33:41 -03:00
Salvador E. Tropea 193f1e3a53 [Blender export] Added orthographic camera 2023-01-27 11:20:54 -03:00
Salvador E. Tropea 171eeae099 [Blender Export] Remove solder paste for "not shown" components
- Can be disabled
2023-01-26 23:13:51 -03:00
Salvador E. Tropea e16086ca70 [Blender Export] Now can be used as renderer
- Tested with kikit_present and populate
- Also added `auto_crop`
2023-01-26 18:13:38 -03:00
Salvador E. Tropea fce9a2d581 [DOCs] Documented the text variable expansion in `output`
Closes #377
2023-01-26 09:26:45 -03:00
Salvador E. Tropea a7063ea937 [Blender Export] Multiple Point of Views
- Moved the POV options to a separated section
- Allowed to have more than one POV
2023-01-24 20:29:08 -03:00
Salvador E. Tropea f860b7eb11 [Blender Options] Moved the point of view options to Render Options
- So we can have more than one
2023-01-24 18:05:25 -03:00
Salvador E. Tropea 4e194306d1 [Blender Export] Added PCB3D generation
- Also control over which components are included
- Also highlight components
2023-01-24 16:00:49 -03:00
Salvador E. Tropea 72eb6e9f90 [VRML] Added options to select and highlight components
- Uses the same code as render_3d
2023-01-23 18:44:17 -03:00
Salvador E. Tropea 910777735f [DOCs] Clarified how KiCad 6 warnings are counted
Closes #374
2023-01-23 14:20:38 -03:00
Salvador E. Tropea b0a2c7af88 [Navigate Results] Added blender icons
- Also moved pads information to an "Auxiliar" section
2023-01-20 14:19:25 -03:00
Salvador E. Tropea 47bdc26154 [Report][Added] Expansion for KiCad text variables and environment variables 2023-01-19 21:05:32 -03:00
Salvador E. Tropea b05c9b3227 [CI/CD] Now `dev` images are *full* (test) 2023-01-17 17:06:59 -03:00
Salvador E. Tropea 16e61e6f23 [DOCs] Added examples and warnings about spaces in names
- For the replace pre-flights

Related to #366
2023-01-17 15:40:32 -03:00
Salvador E. Tropea eb8c04f870 [Blender Export] Added Blender render
- Impressive quality thanks to the pcb2blender plug-in
2023-01-16 23:42:52 -03:00
Salvador E. Tropea 9ba56adf39 [DOCs] Added warning about PcbDraw and complex PCBs
- Also added credits for some 3D models we use

Related to #369
2023-01-16 17:25:19 -03:00
Salvador E. Tropea 6998fd87de [PCB_Print][Added] A mechanism to create a page for each copper layer
See #365
2023-01-12 18:35:27 -03:00
Salvador E. Tropea 63f464542e [DOCs] Added missing README.in changes 2023-01-12 17:17:13 -03:00
Salvador E. Tropea f8eb021098 [SCH_Print] Added PS, DXF and HPGL formats 2023-01-12 00:30:38 -03:00
Salvador E. Tropea 0f5ada05ee [SCH_Print] Added color theme and color background options
See #362
2023-01-11 20:11:53 -03:00
Salvador E. Tropea db6fa6767a [DOCs][Fixed] annotate_pcb docs and example
- Missing options in docs
- Wrong example

Fixes #360
2023-01-10 15:05:05 -03:00
Salvador E. Tropea 62cce4da92 [PCB2Blender] Added support for @Haschtl fork variant 2023-01-07 18:01:45 -03:00
Salvador E. Tropea 54e4279c5f [PCB2Blender_tool] Added support for board definitions
- This is a sub-PCB mechanism
2023-01-06 19:14:43 -03:00
Salvador E. Tropea f49d679b7c [PCB2Blender_tools][Added] Stackup support 2023-01-06 16:32:58 -03:00
Salvador E. Tropea 76bf264350 [Added] PCB2Blender_2_1 template
- Generates pcb2blender 2.1 files to import on Blender
2023-01-06 13:31:55 -03:00
Salvador E. Tropea 59b90283ed [Compress][Added] Option to use the output's `dir` as reference
- `from_output_dir`
2023-01-06 13:16:48 -03:00
Salvador E. Tropea 42f5dcd8d6 [SVG][Added] Options to limit the view box to the used area. 2023-01-05 19:29:31 -03:00
Salvador E. Tropea b2f5612b77 [Filters] Moved _only_smd to be truly internal
- Defined _only_tht and _only_virtual
- Simplified the internal filters generation
2023-01-05 17:52:02 -03:00
Salvador E. Tropea cb9b353220 [Templates] Added MacroFab XYRS 2023-01-05 14:13:03 -03:00
Salvador E. Tropea c9437e244d [Import] Simplified the templates import
- Now we detect if the name is internal
- A mechanism to skip the detection was added, just in case
2023-01-05 09:33:15 -03:00
Salvador E. Tropea 1202351fed [Templates] Moved JLCPCB+stencil to a separated import
- So now the compress target includes the stencil
2023-01-05 08:36:17 -03:00
Salvador E. Tropea bdffcfa508 [Internal templates] Added for all the known manufacturers 2023-01-04 13:47:03 -03:00
Salvador E. Tropea 5a5967c6b3 [Added] Support for internal imports
- A mechanism to implement templates
- Also fixed some groups import issues
2023-01-04 11:39:48 -03:00
Salvador E. Tropea 17aacf8daf [Added] Support for `groups` of `outputs` 2023-01-04 08:38:21 -03:00
Salvador E. Tropea 1fdb8a6c4b Merge branch 'subpcb' into dev 2022-12-28 13:33:42 -03:00
Salvador E. Tropea eb911f35d1 [PCB_Print][Added] Support for sketch_pads_on_fab_layers
Closes #356
2022-12-28 13:26:15 -03:00
Salvador E. Tropea 284b9df12a [Any Layer][Added] Support for sketch_pads_on_fab_layers
Related to #356
2022-12-28 13:06:39 -03:00
Salvador E. Tropea 819555e668 [Netlist] Added support for sub-PCBs 2022-12-26 11:00:06 -03:00
Salvador E. Tropea 3f74105c82 [KiBoM] Added one more warning about variants
- They aren't KiBot variants
2022-12-26 10:48:30 -03:00
Salvador E. Tropea 2282334986 [GenCAD] Added support for sub-PCBs. 2022-12-26 10:38:19 -03:00
Salvador E. Tropea 5dacb969b1 [BoardView] Added sub-PCBs support 2022-12-26 09:33:04 -03:00
Salvador E. Tropea 421dcf34b7 [Added] Sub-PCB support to drill outputs 2022-12-22 12:42:21 -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 60423c722e [DOCs] Removed the use of *experimental* in the docs
- Too fuzzy and confuses, added more explanation
2022-12-22 07:44:03 -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 ccaefd7e90 [iBoM][Added] `hide_excluded` to hide excluded *.Fab drawings. 2022-12-19 13:18:08 -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 fafd5d2f6d New VRML output 2022-12-17 20:55:09 -03:00
Salvador E. Tropea 9616002dce [DOCs][Fixed] Changelog link 2022-12-16 10:14:57 -03:00
Salvador E. Tropea ad009910bb [DOCs][Fixed] Test badge
- Also added link to changelog for the dev branch
2022-12-16 10:13:38 -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 52fc3e610f [DOCs] Added example of how to hide KiCost secrets on CI/CD 2022-12-15 14:22:57 -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 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 2cea9925d5 [Panelize] Added preview option
- Enabled for quick start
2022-12-03 18:38:28 -03:00
Salvador E. Tropea 3b963a195b [Panelize] Added support for the plugin options 2022-12-02 10:51:53 -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 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 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 99467d4d05 [Added] Panelize output
- First working version
2022-11-28 16:31:00 -03:00
Salvador E. Tropea e77d3d060d [DOCs] Added multi-board example with connectors 2022-11-25 16:57:47 -03:00
Salvador E. Tropea 7a6df7a664 [DOCs] Added option to pass ERC with multi-PCB 2022-11-25 15:16:55 -03:00
Salvador E. Tropea fd0b0fd2ee [DOCs] Updated generated images for examples 2022-11-25 15:02:55 -03:00
Salvador E. Tropea 8c4966e8e5 [DOCs] Changed the hierarchical strategy 2022-11-25 14:58:50 -03:00
Salvador E. Tropea fd463a2577 [DOCs] Adjusts to the example
- Avoid spaces in sheet names
- Run ERC/DRC
2022-11-25 14:17:43 -03:00
Salvador E. Tropea 42efdce7ca [DOCs] More fixes to links 2022-11-25 14:11:10 -03:00
Salvador E. Tropea 89534d07d7 [DOCs] Fixed links for example 2022-11-25 14:09:43 -03:00
Salvador E. Tropea d332e4ec8c [DOCs] Examples of multi-board projects 2022-11-25 14:01:26 -03:00
Salvador E. Tropea 040a69c1a0 [DOCs] Fixed links to PCB 2 example 2022-11-25 12:51:52 -03:00
Salvador E. Tropea 246cac195b [DOCs] Missing files for last commit 2022-11-25 12:50:27 -03:00
Salvador E. Tropea 0cf51eb9c7 [DOCs] Added proposed case 1 circuit 2 PCBs 2022-11-25 12:48:00 -03:00
Salvador E. Tropea 52113cc394 Fixed some YAML linter warnings 2022-11-25 12:24:43 -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 02aa6bce0d [BoM][Added] Human readable text output format.
Closes #334
2022-11-24 11:32:47 -03:00
Salvador E. Tropea 38d0790a69 [DOCs] Added more warnings about virtual env use
Related to #332
2022-11-24 09:47:31 -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 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 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 c175dd637f [DOCs] Added example for 1 schematic with 2 different PCBs 2022-11-05 17:58:32 -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 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 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 d3b32a4193 [DOCs] Made relative the link to KiPlotYAML.md 2022-10-28 09:07:02 -03:00
Salvador E. Tropea f040798278 [DOCs] Added KiBot invocation example to populate doc 2022-10-28 08:58:49 -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 b0a395e68a [DOCs] Updated with the new populate output 2022-10-28 07:52:33 -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 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 122239e687 [DOCs] Marked as development anything other `master` 2022-10-19 10:32:15 -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 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 5887b29bf2 [PcbDraw] Added support to set the V-CUTS layer 2022-10-18 12:49:28 -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 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 c16fb7144e [PCB_Print] Replaced external PcbDraw
- Using the internal module
2022-10-18 07:53:12 -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 729d2bf7e7 [DOCs] Documented the new GHA `additional_args` option.
- Also documented `install3D` option
2022-10-14 06:48:11 -03:00
Salvador E. Tropea 9c62b22a26 [DOCs] Added a mechanism to differentiate dev and master README 2022-10-12 13:16:56 -03:00
Salvador E. Tropea a0c125cc1b [DOCs] Documented the new GitHub action tags 2022-10-12 11:43:55 -03:00
Salvador E. Tropea 619a7da745 Bumped version to 1.4.0 2022-10-12 10:21: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 7dbd5b1dff
Merge pull request #314 from Kev-J/out-position-decimal
[Position] Add "right_digits" option
2022-10-06 13:48:24 -03:00
Salvador E. Tropea b6c1c6aed8 [DOCs] Applied typo fix to README.in 2022-10-06 13:04:38 -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 86a9c25949 [Diff] Added option to skip pages with no diffs 2022-10-05 11:30:00 -03:00
Salvador E. Tropea ac92f5a757 [DOCs] Added the new filters 2022-10-03 13:36:36 -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 426f5bd968 [DOCs] Added note about PcbDraw 1.0.0 2022-09-30 12:44:23 -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 92c4d4f15d [DOCs][Fixed] Default values for KiBoM variant filters
Closes #303
2022-09-27 13:49:35 -03:00
Salvador E. Tropea db75af4985 [DOCs] Added GitHub docker images 2022-09-27 09:10:08 -03:00
Jesper Matthiesen bc84e064f2
Create xy_file_with_populate_column.kibot.yaml
This example shows how to use the 'bom'-type output to generate xy position output.
2022-09-26 16:49:31 +02: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 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 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 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 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