Commit Graph

517 Commits

Author SHA1 Message Date
Salvador E. Tropea a1f78c296e [Filters][Added] New `generic` filter options
- `exclude_not_in_bom` and `exclude_not_on_board` to use KiCad 6+ flags

Closes #429
2023-05-05 06:37:34 -03:00
Salvador E. Tropea 61a8fe7885 [Filters][Added] `value_split`
- To extract information from the Value field and put it in separated
  fields. I.e. tolerance, voltage, etc.
2023-05-03 14:09:35 -03:00
Salvador E. Tropea 4fbd69ac3b [Global options][Added] `environment`.`extra_os` to define environment variables 2023-05-02 13:12:50 -03:00
Salvador E. Tropea fcf4871e38 [v6/v7 Schematic] Reworked the UUID mechanism
- Now we generate valid UUIDs for all things
- KiCad 6 support
- Better tests, forcing to reload the generated files
2023-04-27 15:06:29 -03:00
Salvador E. Tropea 6dcdb0b363 [Tests][Added] For value change in shared sheets 2023-04-25 13:24:12 -03:00
Salvador E. Tropea 446df067b9 [Tests][KiCad 7.0.2] Avoid DRC errors about 3D models mismatch 2023-04-18 10:11:22 -03:00
Salvador E. Tropea 5b6ea1016f [Tests][Panelize][Added] Debug information from KiKit
- Needed to get a backtrace
2023-04-15 20:04:03 -03:00
Salvador E. Tropea 6feddd06a5 [Added] Mechanism to install fonts and colors 2023-04-04 13:49:21 -03:00
Salvador E. Tropea f3645d3264 [3D] Added options to control the resistors tolerance
- `field_tolerance` field/s to look for resistor tolerance.
- `default_resistor_tolerance` which tolerance to use when none found.
2023-03-21 09:57:22 -03:00
Salvador E. Tropea 3a69f16e60 [Tests] Added configs to test the 3D models for THT resistors 2023-03-20 14:13:07 -03:00
Salvador E. Tropea 2d39890482 [KiKit present][Fixed] Crash when no boards specified
Fixes #402
2023-03-18 19:04:59 -03:00
Salvador E. Tropea e27753a8d6 [Tests] Added KiKit tests
- stencil 3D, steel stencil and panel
- Bumped dependency to 1.3.0, needed for KiCad v7
  A patched version is needed ...
2023-03-03 10:53:23 -03:00
Salvador E. Tropea d308e7e8f1 [PcbDraw] Added trivial config example 2023-03-01 09:11:44 -03:00
Salvador E. Tropea 4da38de4a8 [ERC][KiCad 7] Added option to specify the grid size
- `erc_grid` to specify the grid size for KiCad 7 ERC tests

See https://gitlab.com/kicad/code/kicad/-/issues/14110
2023-02-28 06:17:20 -03:00
Salvador E. Tropea f91bb5c01f [Tests] Added some schematic PS, HPGL and DXF examples
- Used to verify kicad-cli patches
2023-02-25 14:33:38 -03:00
Salvador E. Tropea b7f9058004 [Tests][DRC] Filter footprint missmatches 2023-02-24 19:45:24 -03:00
Salvador E. Tropea 7d3e46b06f [Tests] Added KiCad 7 test for all iBoM options 2023-02-24 17:49:32 -03:00
Salvador E. Tropea 4cf7eb0bad [Tests][PCB Print] Restored commented targets in pcb_print_2 2023-02-14 12:50:28 -03:00
Salvador E. Tropea f84b49bd2a [Preflight][KiCad 7] Updated preflight references and tests
- Disabled PCB parity, API broken
2023-02-14 12:28:07 -03:00
Salvador E. Tropea 13d4be5ff3 [Tests] Added simple sch_variant config (no real variant applied) 2023-02-10 09:07:18 -03:00
Salvador E. Tropea 2b34bef432 [Tests] Added a logo_scale example 2023-02-03 08:14:42 -03:00
Salvador E. Tropea c39d21f3cf [Global Options] Added field_lcsc_part: to select the LCSC/JLCPCB part field 2023-01-28 17:59:23 -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 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 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 fbcbf90504 [Tests] Made copy_files_* reproducible in more cases
- When KiCad 5 environment is defined
- Also added compress for copy_files simple test
2023-01-18 14:59:43 -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 ac65cc022e [General] Better support for wrong pre-flight options
Closes #360
2023-01-10 14:54:29 -03:00
Salvador E. Tropea 62cce4da92 [PCB2Blender] Added support for @Haschtl fork variant 2023-01-07 18:01:45 -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 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 cfee399110 [Sub-PCB][Added] KiCad 5 workaround
- The GetBoundingBox member returns values with 1 IU of error (1 fm)
- So now we use at least 2 fm of tolerance
2023-01-02 10:42:19 -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 1e63ec66c5 [Sub-PCBs][Test] Enabled KiCad 5 tests
- Fixed new drill coordinates in test
- Renamed some YAML files
2022-12-28 11:37:56 -03:00
Salvador E. Tropea 728bded7ad [Sub-PCBs] Implementad annotation removal 2022-12-28 09:44:44 -03:00
Salvador E. Tropea 002dba631d [sub-PCB] Implemented the `tolerance` 2022-12-28 09:23:50 -03:00
Salvador E. Tropea 081932f8bb [sub-PCB] Now you can choose between internal implementation and KiKit 2022-12-28 08:48:50 -03:00
Salvador E. Tropea 1dbe58aab1 Moved sub-PCB specific stuff to var_base (from out_base)
- To allow more than one mechanism
- Also changed the order in which sub-PCBs are applied, will make
  things faster
- Also removed board as parameter for un/filter_pcb*
  Isn't really supported and the sub-PCBs clearly breaks it
2022-12-27 08:48:44 -03:00
Salvador E. Tropea bae5e91c7a [DOCs] Added render_3d and step sub-PCB examples. 2022-12-27 06:36:34 -03:00
Salvador E. Tropea 7760019bf0 [Position] Added support for sub-PCBs 2022-12-26 13:40:47 -03:00
Salvador E. Tropea 89be5dacdd [Populate] Added support for sub-PCBs
- Fixed problems when using variants and sub-PCBs, some changes
  reverted during separation.
2022-12-26 13:04:49 -03:00
Salvador E. Tropea dad174bfd3 Added examples for Panelize and PCB_Print using sub-PCBs. 2022-12-26 11:10:24 -03:00
Salvador E. Tropea 819555e668 [Netlist] Added support for sub-PCBs 2022-12-26 11:00:06 -03:00
Salvador E. Tropea e82049cdea [iBoM] Changed to use will_filter_pcb_components 2022-12-26 10:45:54 -03:00
Salvador E. Tropea 2282334986 [GenCAD] Added support for sub-PCBs. 2022-12-26 10:38:19 -03:00
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 c9aab5d4cc [Any layer] Added support for sub-PCBs 2022-12-22 13:22:36 -03:00
Salvador E. Tropea d5570a1b07 [Tests] Moved battery pack variants definition to a separated file
- To use with import
2022-12-22 13:08:12 -03:00
Salvador E. Tropea 421dcf34b7 [Added] Sub-PCB support to drill outputs 2022-12-22 12:42:21 -03:00
Salvador E. Tropea 5ecbbc84fd [Tests] Added sub-PCB test for PCB Variant and PcbDraw 2022-12-22 10:15:21 -03:00
Salvador E. Tropea 3ef1e84fd5 [Tests] Added line to quickly test different SVG resolutions 2022-12-19 13:24:28 -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 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 0fc8a75ee0 [KiKit Present] Added external mode examples 2022-12-05 21:28:50 -03:00
Salvador E. Tropea 1e41737f01 [KiKit Present] Added some comments to the examples 2022-12-05 21:21:55 -03:00
Salvador E. Tropea 509f74fd31 [KiKit Present] Implemented various modes 2022-12-04 19:50:29 -03:00
Salvador E. Tropea 8c72fc23c9 [Navigate Results] Added support for compress output 2022-12-02 13:26:49 -03:00
Salvador E. Tropea 5de3b8cc6f [Stencil*] Added category 2022-12-02 09:34:25 -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 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 1036b26f0a [Examples] Added example used to test the 3D render populate 2022-11-27 18:51:56 -03:00
Salvador E. Tropea 52113cc394 Fixed some YAML linter warnings 2022-11-25 12:24:43 -03:00
Salvador E. Tropea 2f9d81964e Added autoscale margins example. 2022-11-25 12:21:40 -03:00
Salvador E. Tropea a4e68b1c18 [KiBoM] Added support for Mouser links 2022-11-07 11:34:14 -03:00
Salvador E. Tropea be84d10968 [Tests][Fixed] Adapted link tests to new columns 2022-11-07 11:16:09 -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 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 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 1df9d1da46 [PcbDraw][PCB_Print] Removed all PcbDraw convert.py usage
- Currently not needed
2022-10-28 13:41:33 -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 e56343d214 New populate output
- The PcbDraw command
2022-10-27 21:24:57 -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 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 f78f8b3064 [PcbDraw] Added solder paste removal 2022-10-18 11:38:29 -03:00