Commit Graph

400 Commits

Author SHA1 Message Date
Salvador E. Tropea 6a691cf362 Added pre-flight to replace in the PCB
- Also added some constrains to what can be substituted to avoid
  corrupting the files.
2021-12-03 16:52:04 -03:00
Salvador E. Tropea 07da5d98f6 Added missing pre-flight file 2021-12-03 15:51:08 -03:00
Salvador E. Tropea b435bd9761 Fixed missing sub-sheet check 2021-12-03 15:27:38 -03:00
Salvador E. Tropea 9cd2581582 Added new pre-flight command to replace tags in the schematic.
Related to #93, but also an old idea floating around.
2021-12-03 14:37:53 -03:00
Salvador E. Tropea 9e4adf5286 Added patterns to expand the title blck comments.
Related to #93
2021-12-03 10:13:42 -03:00
Salvador E. Tropea 70fb334856 A mechanism to avoid running some outputs by default.
Related to #112
2021-12-02 18:47:40 -03:00
Salvador E. Tropea 9885270f56 Fixed flake8 errors 2021-12-02 17:37:33 -03:00
Salvador E. Tropea 84d6217d18 Another experimental mechanism to change 3D models according to the variant.
Closes #103
2021-12-02 17:19:40 -03:00
Salvador E. Tropea bbfc8901df Fixed typo in comment. 2021-12-02 17:18:08 -03:00
Salvador E. Tropea a430916a4a Now you get an error when defining two outputs with the same name. 2021-12-02 14:58:37 -03:00
Salvador E. Tropea b9cb24c325 Now you get an error when defining two outputs with the same name. 2021-12-02 13:21:57 -03:00
Salvador E. Tropea f3b03a4bbe Fixed variable name. 2021-12-02 10:56:43 -03:00
Salvador E. Tropea 6392124f9f Added import for globals. 2021-12-02 10:33:19 -03:00
Salvador E. Tropea 6fa6356f9c Adapted the kiCost interface to the new `join` format. 2021-12-01 19:17:19 -03:00
Salvador E. Tropea c324b0a848 Fix spelling in README.md
- This is basically #95, but applied in a way that we won't lose the
  changes after regenerating the docs.
- @SebastianGrau contributed the original changes.
2021-12-01 18:37:58 -03:00
Salvador E. Tropea 995219a8ea Added option to add text to the `join` in the internal BoM
Related to #104
2021-12-01 18:07:41 -03:00
Salvador E. Tropea 094e58eab6 Fixed example to use null instead of None
- YAML's null is the equivalent of Python None
- Related to #116
2021-12-01 16:25:55 -03:00
Salvador E. Tropea 1e6ac697f0 Fixed gerber job files not using the output defined in global. 2021-12-01 16:07:08 -03:00
Salvador E. Tropea c34ba533e6 Fixed unitialized values when no global section was defined.
- Introduced by the date formats patch
2021-12-01 15:19:11 -03:00
Salvador E. Tropea 31d0c7d87c Better error for unknown global variant. 2021-12-01 15:13:12 -03:00
Salvador E. Tropea a503c5fdc6 Added global options to control the date format. 2021-12-01 14:59:36 -03:00
Salvador E. Tropea 95135c8c56 New expansion patterns and out_dir from global section.
- Also added expansion in out_dir
- Related to #116
2021-11-30 19:12:14 -03:00
Salvador E. Tropea fadb255781 Changed examples to avoid schematic dependencies.
Closes #118
Now the examples use `_none` as empty filter.
2021-11-30 15:07:43 -03:00
Salvador E. Tropea 3acaa42574 Added in SCH PDF Print: monochrome and no frame options. 2021-11-25 11:31:23 -03:00
Salvador E. Tropea b0e615fbed Fixed debug print for levels > 3
- In the expands when the object didn't have a parent
2021-11-25 11:28:58 -03:00
Salvador E. Tropea ad173a3c07 Added command line debug for exec_with_retry()
- When debug level > 2 prints a line we can copy & paste
2021-11-25 11:27:58 -03:00
Salvador E. Tropea f9a2aac01b Changed %v/%V to also icnlude the global variant
Closes #104
2021-11-22 16:22:52 -03:00
Salvador E. Tropea 49ea1bb62a Internal BoM: `count_smd_tht` option to compute SMD/THT stats.
Closes #113
2021-11-22 14:34:07 -03:00
Salvador E. Tropea 4dcb289e73 Fixed problems when importing filter from multiple files.
- The 2nd load discarded alredy imported filters
Fixes #114
2021-11-22 12:45:06 -03:00
Salvador E. Tropea 67427d9eff Removed the `_both_related` from `compress`.
- Needs more elaboration
2021-11-19 10:57:52 -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 22b946ecf1 Added `id_add` to `render_3d` to change the %i expansion
- Closes #110
2021-11-18 14:04:44 -03:00
Salvador E. Tropea 4537a1e061 Removed temporal projects created during `render_3d`
- See #110
2021-11-18 13:52:04 -03:00
Salvador E. Tropea 2a09151a18 Fix for the commit 10486af51a
- italic and bold must be bool
2021-11-18 12:18:39 -03:00
Salvador E. Tropea 4cbebb6622 Added width, height and orthographic to `render_3d` output. 2021-11-17 18:19: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 365ca790d5 Changed output.dir default to `./`
- Makes easier to concatenate using `+DIR`
2021-11-16 06:44:01 -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 813a5f9917 Removed extra W_BADVAL1 (no longer used) 2021-11-15 14:29:36 -03:00
Salvador E. Tropea ed8ae423e2 Fixed missing "where" in W_BADVAL3 2021-11-15 14:28:56 -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 5620113b49 Fixed command line for `--list`
- PCB and SCH can be needed
- Adapted the test for --list
2021-11-15 13:38:35 -03:00
Salvador E. Tropea 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 088027c174 Fixed problems with schematic fields containing double quotes.
- Fixes #98
2021-11-15 12:50:22 -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