Diego Capusotto
2986740530
Fixed missing datasheet data in v6 loader
2021-12-17 14:24:05 -03:00
Diego Capusotto
5cf60b0361
Fixed config tests
...
- The initialization in out_base forced the need of logger reset
2021-12-17 13:34:15 -03:00
Diego Capusotto
6e5176b273
Simplified the code that detects KiCad v6
2021-12-17 13:11:42 -03:00
Diego Capusotto
69c874fdbd
KiCad v6: Added support for the new "modules" name ("footprints")
...
- No alias provided, as usual
2021-12-17 12:46:40 -03:00
Diego Capusotto
1f1b42a8e6
KiCad v6: Adapted out_any_drill.py to new API change
...
- Now m_AuxOrigin must be accessed using GetAuxOrigin
2021-12-17 12:12:18 -03:00
Diego Capusotto
5dce1d5a31
KiCad v6: Adapted gs.py to new API change
...
- title_block.GetCommentX() -> title_block.GetComment(X)
- No compat wrapper as usual
2021-12-17 12:11:10 -03:00
Diego Capusotto
58a8035704
out_base.py: adapted to new sequence intialization for tests.
2021-12-17 11:46:15 -03:00
Diego Capusotto
51ad5c3a2e
Fixed flake8 details
2021-12-17 11:45:32 -03:00
Diego Capusotto
3d947f2d50
KiCad v6: Added support for absent title block
2021-12-17 11:44:43 -03:00
Diego Capusotto
95ddda0953
Made the v5 schematic loader more robust
...
- Allow DMC files with wrongly encoded chars
- Allow libs with wrong justify+italic+bold fields
- Both from https://github.com/Digi-Key/digikey-kicad-library
Closes #122
2021-12-17 10:03:12 -03:00
Diego Capusotto
267cc38453
Fixed missing documentation for `route_mode_for_oval_holes` option
...
Closes #123
2021-12-17 08:57:45 -03:00
Diego Capusotto
41c3661d8e
KiCost: list arguments wrongly passed.
...
Related to #120
2021-12-16 17:24:03 -03:00
Diego Capusotto
25d036f8fa
Added some preliminary support for v6 SCHs
...
- Currently just loads the files
- No save implemented
- Seems to be enough to generate some trivial BoMs
2021-12-16 17:08:33 -03:00
Diego Capusotto
93f57ff6c6
KiCost: added `board_qty` as alias for `number`
2021-12-16 07:40:21 -03:00
Diego Capusotto
96a5f3da21
Added support for new KiCost options `split_extra_fields` and `board_qty`.
...
Closes #120
2021-12-15 17:39:01 -03:00
Diego Capusotto
3eb82bc86d
Changed: The `%d/%sd/%bd` expansion patterns are now affected by the global `date_format`.
...
- Can be disabled using `date_reformat: false`.
- Related to #121
2021-12-15 17:15:49 -03:00
Diego Capusotto
631cef7fd9
Replaced call to Optionable expand_filename_sch by self.expand_dirname
...
- In Pre ERC, DRC and update XML
2021-12-15 17:03:56 -03:00
Diego Capusotto
318f0993bf
Now `disable_run_by_default` can be defined as true
...
- To avoid repeating the name of the parent output
- Related to #121
2021-12-14 20:44:37 -03:00
Diego Capusotto
71c7150baa
Added support for \n and \t to text* options of join
...
Related to #108
2021-12-14 17:45:10 -03:00
Diego Capusotto
9be560e78d
Now the text* options of join must include any separator
...
- Removed the space when used
- Related to #108
2021-12-14 16:49:46 -03:00
Diego Capusotto
e2599731f7
Added `output_id` output option to be expanded by %I
2021-12-14 16:19:49 -03:00
Diego Capusotto
3de2c8de2a
Added support for auto-detect of ray tracing end
...
- Needs KiAuto 1.5.14
- Enabled by default
2021-12-07 19:38:02 -03:00
Salvador E. Tropea
a82f130ad9
Now you can compress files relative to the current working directory.
...
Related to #93
2021-12-03 19:30:11 -03:00
Salvador E. Tropea
c02a4f814d
Added some warnings about the replacement options.
2021-12-03 18:23:21 -03:00
Salvador E. Tropea
308725e24f
More style adjusts to the replacement docs
2021-12-03 18:11:06 -03:00
Salvador E. Tropea
2e7f3b8180
Small adjusts to the PCB/SCH replacement docs
2021-12-03 18:05:21 -03:00
Salvador E. Tropea
a404444e39
Moved SCH/PCB replace common code to a base class
...
- Also added the missing file (oops!)
2021-12-03 17:55:20 -03:00
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