Commit Graph

159 Commits

Author SHA1 Message Date
Salvador E. Tropea f9a2aac01b Changed %v/%V to also icnlude the global variant
Closes #104
2021-11-22 16:22:52 -03:00
Salvador E. Tropea 49ea1bb62a Internal BoM: `count_smd_tht` option to compute SMD/THT stats.
Closes #113
2021-11-22 14:34:07 -03:00
Salvador E. Tropea dd265fa2e0 Fixed compress: not expanding %VALUES in target dirs.
Fixes #111
2021-11-19 10:15:58 -03:00
Salvador E. Tropea 27b26feb88 Added 3D view render
Related to #99
2021-11-17 17:40:54 -03:00
Salvador E. Tropea b4c1531e10 PCB PDF Print: mechanism to change the block title.
- Related to #102
- Also added %V to expand the variant name
- Documented %v and %V
2021-11-17 10:51:28 -03:00
Salvador E. Tropea cfcc9bea39 Fixed PCB Print: to show the real name of the PCB file.
Fixes #102
2021-11-16 13:11:35 -03:00
Salvador E. Tropea 10486af51a Fixed KiCost variants: when setting a field hat doesn't exist
Fixes #105
2021-11-15 15:56:33 -03:00
Salvador E. Tropea 087e36b2c7 KiCost variants: empty DNF fields shouldn't be excluded.
Fixes #101
2021-11-15 15:06:32 -03:00
Salvador E. Tropea 998754753d Added Default global `dir` option 2021-11-15 14:40:30 -03:00
Salvador E. Tropea 79651eaa07 Fixed: Makefile: %VALUE not expanded in the directory targets. 2021-11-15 13:58:31 -03:00
Salvador E. Tropea ca5dfb428b Internal BoM: the field used for variants doesn't produce conflicts.
- Fixes: #100
2021-11-15 13:39:47 -03:00
Salvador E. Tropea 9e65e0712e `--list`: problems with layers and fields specific for the project.
-  Fixes INTI-CMNB/kibot_variants_arduprog#4
2021-11-15 13:38:35 -03:00
Salvador E. Tropea 99c826f3d7 JLCPCB example, to match current recommendations
- See: g200kg/kicad-gerberzipper#11
- Added `route_mode_for_oval_holes` option
2021-11-01 10:41:37 -03:00
Salvador E. Tropea bc5d1b15c6 Generic filter: added options to match if a field is/isn't defined. 2021-10-18 17:05:51 -03:00
Salvador E. Tropea 5e20206da4 Added fallback for values+units we can't understand 2021-10-18 16:52:40 -03:00
Salvador E. Tropea 3eebc04e4b Changed the mechanism to avoid merging components with empty fields 2021-10-18 16:45:20 -03:00
Salvador E. Tropea bcd1e624e9 Avoid grouping components when they lack the grouping fields.
- This is for the internal BoM when `merge_blank_fields` is disabled
2021-10-18 15:59:26 -03:00
Salvador E. Tropea b3a4fec5b7 Option to hide component from PDF PCB Print
- option `hide_excluded` to hide components marked by the
  `exclude_filter`.
- https://forum.kicad.info/t/fab-drawing-for-only-through-hole-parts/
2021-10-14 14:07:35 -03:00
Salvador E. Tropea d3cd01a246 Added the last 2 fixes to the changelog 2021-10-12 09:35:09 -03:00
Salvador E. Tropea ab3bd7f0b3 Added a mechanism to import filters and variants.
- Also to restrict which outputs are imported.
- Fixes #88
2021-10-04 14:44:43 -03:00
Salvador E. Tropea 0f0e739026 Changed the default `group_fields` list.
Internal BoM: now components with different Tolerance, Voltage, Current
and/or Power fields aren't grouped together.
These fields are now part of the default `group_fields`. (#79)
2021-09-27 11:31:51 -03:00
Salvador E. Tropea a31002ed01 Fixes position files, now defaults to use the auxiliar origin as KiCad.
Can be disabled to use absolute coordinates.
Fixes #87
2021-09-27 08:35:58 -03:00
Salvador E. Tropea 1dea3970bc XLSX BoM: option to control the logo scale (Fixes #84) 2021-09-16 07:58:48 -03:00
Salvador E. Tropea a7bf1b080c Added skip_top and skip_bottom options to the rot_footprint filter. 2021-04-25 12:20:39 -03:00
Salvador E. Tropea e391f513ec Bumped version to 0.11.0. 2021-04-25 11:24:49 -03:00
Salvador E. Tropea 55277a550f More KiCost integration in KiBoM.
- Also added level and comment to columns in the XLSX BoM output.
- Now user columns can be added to the KiCost sheet.
- The "Colors" sheet now includes KiCost colors
- The KiCost column names are more coherent with our names
- Style colors affects the KiCost colors
- About message includes KiBot version
- Header layout is also more coherent
- use_alt, number, max_col_width and ref_separator options are passed
  to KiCost
2021-04-25 09:29:56 -03:00
Salvador E. Tropea 8706e0e02f The "References" column is now coloured as "Reference" 2021-04-25 09:25:49 -03:00
Salvador E. Tropea de0390f954 Reference ranges of two elements no longer represented as ranges.
Examples: "R1-R2" is now "R1 R2", "R1-R3" remains unchanged.
2021-04-25 09:23:19 -03:00
Salvador E. Tropea e22e1db49a Added support for width, style and color in "wire notes"
Fixes #70
2021-04-22 12:33:13 -03:00
Salvador E. Tropea cfe61c9b7e Added board view export.
Closes #69
2021-04-20 13:22:56 -03:00
Salvador E. Tropea 16ddb9465f Added Internal BoM + KiCost integration
- Currently very basic, but you get "Costs" and "Costs (DNF)" work
  sheets in the XLSX output when the xlsx.kicost option is enabled.
2021-04-15 11:14:37 -03:00
Salvador E. Tropea 7961209b0f Experimental mechanism to change 3D models according to the variant. 2021-03-31 18:00:43 -03:00
Salvador E. Tropea 7c3f273684 Basic KiCost support. 2021-03-31 12:27:55 -03:00
Salvador E. Tropea 1290bb6995 New KiCost variant style.
- New internal filters `_var_rename_kicost` and `_kicost_dnp`.
- New `skip_if_no_field` and `invert` options to the regex used in the
  generic filter.
2021-03-30 09:37:36 -03:00
Salvador E. Tropea afe80052b4 Added a new filter `var_rename_kicost`
Is very similar to `var_rename` with a few differences that makes it
suitable to emulate the KiCost field rename mechanism.
2021-03-25 12:57:26 -03:00
Salvador E. Tropea 01291ebe63 Added field rename filter.
Including an internal version to emulate KiCost behavior.
2021-03-23 13:20:26 -03:00
Salvador E. Tropea 40bd7c24f2 Added support for KiCost's subparts 2021-03-19 19:41:46 -03:00
Salvador E. Tropea 9478e42bb3 Documented #58 in the changelog and added a test case 2021-03-12 21:28:10 -03:00
Salvador E. Tropea 1b48e614a7 Added pattern expansion in the `dir` option for outputs
Closes #58
2021-03-12 21:14:39 -03:00
Salvador E. Tropea 4f73de1157 Makefile variables KIBOT, DEBUG and LOGFILE can be defined from outside. 2021-03-03 13:08:52 -03:00
Salvador E. Tropea 6d59960b59 Sorted the schematic dependencies to make them consistent. 2021-03-03 13:07:46 -03:00
Salvador E. Tropea f9ac0d001f Fixed extra dirs created during makefile generation. 2021-02-24 14:24:22 -03:00
Salvador E. Tropea c104d14511 Uncatched exceptions during makefile generation 2021-02-24 14:08:38 -03:00
Salvador E. Tropea 5560c62d14 Errors and warnings from KiAuto now are printed as is. 2021-02-24 12:58:47 -03:00
Salvador E. Tropea 111b86a375 Fixed problems using E/DRC filters and the output dir didn't exist. 2021-02-24 12:36:19 -03:00
Salvador E. Tropea 8fba0d9909 Added `erc_warnings` option to consider ERC warnings as errors. 2021-02-24 12:34:49 -03:00
Salvador E. Tropea 7409c99476 Bumped version to 0.10.1. 2021-02-22 15:07:48 -03:00
Salvador E. Tropea 2b845d81a0 Fixed problem using Python 3.6
- ZipFile's compresslevel argument introduced in 3.7
2021-02-16 12:54:33 -03:00
Salvador E. Tropea 95b48ab053 Fixed problem using Python 3.6
- Fixes #52
- StreamHandler.setStream introduced in 3.7
2021-02-16 12:02:41 -03:00
Salvador E. Tropea d1c74d681b Fixed missing python3-distutils dependency on Debian package. 2021-02-12 17:26:36 -03:00