Salvador E. Tropea
b5d5bea324
Made more clear which preflight options modifies files
...
- Also unified to "preflight" (more common than pre-flight)
Related to #165
2022-03-24 13:08:51 -03:00
Salvador E. Tropea
788b7d6b83
Added support for buried/blind vias to the drill outputs
...
Fixes #166
2022-03-24 12:57:08 -03:00
Salvador E. Tropea
beee95ce31
Merged the kicost_dk branch:
...
- New internal BoM XLSX options to control KiCost:
- Dis/Enable APIs
- Add a description column
- Specs worksheet generation
- Which spec columns
- Specify a KiCost config file
- Passed debug level to KiCost
- Added support for KiCost log style to our logger
2022-03-24 09:47:47 -03:00
Salvador E. Tropea
afc499e055
Added support for Pandoc 2.2.1
...
- Used on Debian 10.x
- Doesn't support "--to pdf", but can generate PDFs ...
2022-03-17 14:42:51 -03:00
Salvador E. Tropea
d4945e0189
Added workaround for KiCad 5 SVG print
...
- The KiCad 6 bug was also in KiCad 5.
2022-03-17 14:39:18 -03:00
Salvador E. Tropea
6b6d22afa8
Added report conversion using pandoc
2022-03-17 12:13:51 -03:00
Salvador E. Tropea
17df40319c
When meassuring the PCB size now we also look in footprints
...
- They can contain PCB edges
Related to #164
2022-03-17 10:59:47 -03:00
Salvador E. Tropea
45e670c11f
More early text var expansions
...
Fixes #163
2022-03-15 20:26:18 -03:00
Salvador E. Tropea
fb7e81fb69
Made the "Using `{}` for {} instead" message more clear
...
- When normalize_values is false it adds ", only for sorting purposes"
Related to #108
2022-03-15 19:17:25 -03:00
Salvador E. Tropea
fc28b6a257
Fixed: expanded text variables earlier for date
...
- Avoids reformatting problems
- Also done for title, because we keep a copy of the original
Related to #161
2022-03-15 17:47:33 -03:00
Salvador E. Tropea
02a942c37b
Fixed schematic comments expansion
2022-03-13 16:36:54 -03:00
Salvador E. Tropea
4359a538cd
Fixed missing check for no project file
2022-03-13 16:36:15 -03:00
Salvador E. Tropea
0413699607
Fixed pcb title block load (text var expansions)
2022-03-13 15:58:47 -03:00
Salvador E. Tropea
342fb40c59
Added text variable replace in the title block items
...
- There are some limitations inm the depth of vars + %X usage
Closes #162
2022-03-13 15:18:44 -03:00
Salvador E. Tropea
82aac838d5
Catched error of using set_text_variables with KiCad 5
2022-03-12 19:10:35 -03:00
Salvador E. Tropea
2d86f9516d
Added %X expansion to the set_text_variables
2022-03-12 18:56:15 -03:00
Salvador E. Tropea
1824d56876
Added a preflight to define KiCad 6 variables.
...
Closes #161
2022-03-12 18:44:08 -03:00
Salvador E. Tropea
cb47cf3042
New output to export PCB in GENCAD format.
...
Closes #159
2022-03-08 15:55:34 -03:00
Salvador E. Tropea
86aa7b6357
New preflight to annotate according to PCB coordinates
...
Related to #93
2022-03-08 14:33:38 -03:00
Salvador E. Tropea
780fc25b26
Enabled render_3d output for KiCad 6 now KiCad bug is fixed.
2022-03-08 12:06:49 -03:00
Salvador E. Tropea
0c0c6ffd62
New output to join PDFs.
...
Closes #156
2022-03-03 16:13:00 -03:00
Salvador E. Tropea
aeaabaf062
Added report contexts to expand individual layers
2022-03-03 14:27:06 -03:00
Salvador E. Tropea
562e36d6f5
Added output to print PCB layers in SVG format
...
- Also added support for them in the reports
- Changed the full report to use them
2022-03-03 13:13:46 -03:00
Salvador E. Tropea
49962cafb8
Added some basic layer and schematic inclusion in reports.
...
- Related to #93
2022-03-02 18:17:42 -03:00
Salvador E. Tropea
08eb048f8d
Removed unused imports
2022-03-02 18:08:48 -03:00
Salvador E. Tropea
27c987217c
New preflight to annotate power components
...
Closes #76
2022-02-26 13:21:40 -03:00
Salvador E. Tropea
36581d8608
Added support for mirror and fields_autoplaced (KiCad v6 schematic)
...
- Not documented
Fixes #155
2022-02-24 13:51:11 -03:00
Salvador E. Tropea
1a5e562d14
Updated copyright year
2022-02-24 12:59:44 -03:00
Salvador E. Tropea
3237b7fb7f
Added more debug information to fil_var_rename_kicost.py
2022-02-24 12:59:07 -03:00
Salvador E. Tropea
26a6db4e65
Fixed KiCad 6 schematic component instance not updated
...
Fixes #157
2022-02-24 12:54:39 -03:00
Salvador E. Tropea
1dbaf67cea
Fixed KiCad v6 field rename
...
- The code created v5 fields
Fixes #158
2022-02-24 12:16:35 -03:00
Salvador E. Tropea
3f7b4dc4c8
Fixed nightly setup.
...
- GS imported pcbnew before __main__ configured the paths.
- As a result we always loaded the regular KiCad.
2022-02-24 10:57:52 -03:00
Salvador E. Tropea
7c4341a86a
Removed debug file (out_gerber.py.debug)
2022-02-21 12:11:51 -03:00
Salvador E. Tropea
17911fe136
Allow strings in globals.copper_thickness
2022-02-21 09:38:11 -03:00
Salvador E. Tropea
d9d80e5710
Fixed the C402 fix
2022-02-17 19:54:44 -03:00
Salvador E. Tropea
338a0cc3d4
Fixed B007 Loop control variable 'i' not used within the loop body.
2022-02-17 19:10:47 -03:00
Salvador E. Tropea
0ab3fb410c
Fixed(?) YTT204 `sys.version_info.minor` compared to integer
2022-02-17 18:54:43 -03:00
Salvador E. Tropea
1731e889b1
Fixed D301 Use r""" if any backslashes in a docstring
2022-02-17 18:48:50 -03:00
Salvador E. Tropea
c3b229ba0c
Fixed D300 Use """triple double quotes"""
2022-02-17 18:47:27 -03:00
Salvador E. Tropea
d7e0cc2936
Fixed last patch
2022-02-17 18:44:34 -03:00
Salvador E. Tropea
f26ab6ede8
Fixed B006 Do not use mutable data structures for argument defaults.
2022-02-17 16:45:10 -03:00
Salvador E. Tropea
15b2075c96
Fixed B011 Do not call assert False
2022-02-17 16:37:01 -03:00
Salvador E. Tropea
c8d131fe11
Fixed C416 Unnecessary list comprehension - rewrite using list().
2022-02-17 16:32:16 -03:00
Salvador E. Tropea
f0c581d144
Fixed C405 Unnecessary list literal - rewrite as a set literal.
2022-02-17 16:31:30 -03:00
Salvador E. Tropea
c11627f56d
Fixed C402 Unnecessary generator - rewrite as a dict comprehension.
2022-02-17 16:07:17 -03:00
Salvador E. Tropea
9082a7ec69
Fixed C413 Unnecessary list call around sorted().
2022-02-17 16:04:13 -03:00
Salvador E. Tropea
ebc6458948
Fixed schematic: Paper orientation was discarded on v5 files.
...
Fixes #150
2022-02-17 12:40:29 -03:00
Salvador E. Tropea
174bd44a09
Changed: The `source` path for `compress` now has pattern expansion
...
Fixes #152
2022-02-17 10:56:11 -03:00
Salvador E. Tropea
6281a40335
Fixed spelling
2022-02-16 19:56:04 -03:00
Salvador E. Tropea
751f093de9
Removed extra "pass" statements
2022-02-16 19:04:44 -03:00
Salvador E. Tropea
5fb64472db
Adjusted the generated YAML example to be more coherent
...
- Fixed list on list indentation
- No extra EOL at EOF
- No trailing spaces on some examples
2022-02-16 18:28:05 -03:00
Salvador E. Tropea
7781582962
Made executable some scripts
2022-02-16 17:39:18 -03:00
Salvador E. Tropea
3047ab3031
Fixed the YAML example, wrongly quoted string
2022-02-16 17:29:48 -03:00
Salvador E. Tropea
b2ab00f6cb
Added global *units* option
...
Solves the KiCad 6 dimensions issue. See #146
2022-02-14 15:42:54 -03:00
Salvador E. Tropea
ccbb8a6060
Adapted two tests to the new details
...
- New pcbnew import in gs.py
- New return value for _get_columns()
2022-02-14 14:49:16 -03:00
Salvador E. Tropea
d3ad786dd5
Fixed extra columns added by default
2022-02-14 14:19:56 -03:00
Salvador E. Tropea
5d2d0a4195
Added MacroFab XYRS support
...
- Internal BoM options:
- `angle_positive`
- `csv.hide_header`
- `footprint_populate_values`
- `footprint_type_values`
- `units` mils
- Columns:
- `Footprint Type`
- `Footprint Populate`
- `Footprint X-Size`
- `Footprint Y-Size`
2022-02-14 13:49:56 -03:00
Salvador E. Tropea
d7430499d2
Removed coverage exclusions for KiCad 6 code
2022-02-11 12:58:39 -03:00
Salvador E. Tropea
71c77e89ce
Fixed bom generation when no PCB is available.
2022-02-11 12:16:34 -03:00
Salvador E. Tropea
edbe29740b
Internal BoM: XYRS support
...
- Now the `bom` output can generate files like `position`
2022-02-11 11:45:43 -03:00
Salvador E. Tropea
ed4ff70033
Internal BoM: two other options for the sorting criteria.
2022-02-11 11:04:21 -03:00
Salvador E. Tropea
644f6d1fda
Internal BoM: Added footprint X, Y, rotation and side columns
...
- First step towards XYRS support
2022-02-11 11:01:14 -03:00
Salvador E. Tropea
ae0fdd74ee
More deterministic Board View output
...
- More things sorted
2022-02-07 13:26:58 -03:00
Salvador E. Tropea
fac1c21282
Fixed flake8 errors
2022-01-29 16:33:32 -03:00
Salvador E. Tropea
400d06f9b3
Adjusted error messages and crossed comp generation.
...
- Also the name of the member for lib_name
2022-01-29 16:16:39 -03:00
Salvador E. Tropea
3b7b200d4f
Merge branch 'master' of https://github.com/Atmelfan/KiBot into Atmelfan-master
2022-01-29 15:16:48 -03:00
Salvador E. Tropea
8c3bb74eb7
Upgraded to mcpyrate 3.6.0 (last release)
2022-01-29 14:38:00 -03:00
Gustav Palmqvist
70fdb9c617
Handle lib_name in symbol instance
2022-01-27 23:16:54 +01:00
Salvador E. Tropea
d629afcf92
Added support for the controlled impedance flag in KiCad 6
2022-01-18 16:06:17 -03:00
Salvador E. Tropea
b73a2e51d4
Added stackup support to the report
2022-01-18 15:51:55 -03:00
Salvador E. Tropea
b6b42cc9bf
Fixed flake8 details
2022-01-18 13:42:23 -03:00
Salvador E. Tropea
7a4c3468fa
Added copper_thickness option
...
- Now we get some defaults from KiCad 6 stackup
2022-01-17 18:50:21 -03:00
Salvador E. Tropea
1d1abf0ce4
Fixed flake8 detail
2022-01-17 18:09:41 -03:00
Salvador E. Tropea
f4d6568753
Added error message if we can't detect KiCad version
2022-01-17 18:08:49 -03:00
Salvador E. Tropea
46d5d9ad65
Added support for different top/bottom PCB colors
...
- Solder mask
- Silk screen
2022-01-17 16:02:09 -03:00
Salvador E. Tropea
204fb985fe
Simplified the global GS options transfer
2022-01-17 12:16:25 -03:00
Salvador E. Tropea
514cc949b6
Added support for edge_connector, castellated_pads and edge_plating
2022-01-16 19:13:20 -03:00
Salvador E. Tropea
da1da26983
Added check for the pcb_file (bogus during some tests)
2022-01-16 18:19:42 -03:00
Salvador E. Tropea
4d6b47edd0
Fixed missing check for kicad_pcb/setup/stackup iterator
2022-01-16 15:19:04 -03:00
Salvador E. Tropea
33da0f9e87
Added support for KiCad 6 copper finish option.
2022-01-16 13:24:10 -03:00
Salvador E. Tropea
a82a07bced
Fixed: replace %I by '' for cases where %I doesn apply.
2022-01-16 00:34:05 -03:00
Salvador E. Tropea
278de8fb16
Added report generation (for design house)
...
Related to #93
2022-01-15 15:47:48 -03:00
Salvador E. Tropea
4d5220006f
Changed the default output pattern
...
- Now includes the `output_id` (%I)
2022-01-15 15:45:28 -03:00
Salvador E. Tropea
a2f5da14ab
Now the global PCB detail vars control the default colors
...
- Used by rednder_3d and pcbdraw outputs.
2022-01-14 13:42:35 -03:00
Salvador E. Tropea
4bba7e9a9a
Added global options to define the PCB details.
2022-01-14 13:42:04 -03:00
Salvador E. Tropea
8676f28f3a
Fixed problems when using a hidden config file
...
- Found when using an output that needs the SCH, not specifying the
SCH and more than one SCH was found.
Closes #138
2022-01-14 10:32:45 -03:00
Salvador E. Tropea
926d6eb24c
Added support for `--subst-models` option for KiCad 6's kicad2step.
...
Closes #137
2022-01-13 19:51:59 -03:00
Salvador E. Tropea
256876a1bd
Added support for the magic KICAD6_*_DIR environment variables
...
Related to #135
2022-01-10 20:50:53 -03:00
Salvador E. Tropea
95cb65c987
Added KiCad 6 support for the BoardView output
2022-01-10 20:49:36 -03:00
Salvador E. Tropea
24ba23d203
Separated YAML tests that makes reference to SCH files
...
- Avoiding KiCad 5 and 6 mixes
2022-01-10 20:48:11 -03:00
Salvador E. Tropea
8a4064a544
Added KiCad 6 native symbols default dir
2022-01-07 17:49:33 -03:00
Salvador E. Tropea
dadcd8a543
Added support for `bus_alias` [KiCad 6]
...
- Not documented in the file format
Closes #133
2022-01-07 12:01:17 -03:00
Salvador E. Tropea
e2147f40ee
Added fields update to the QR stuff
...
- Footprints are now virtual
- Fixed: Modules used the SCH text
- Fixed: Wrong KiCad 6 SCHs (not copied from bogus ones)
2022-01-06 14:25:09 -03:00
Salvador E. Tropea
a5052b49e4
Patch to fix new alias attributes in Python 3.10
...
- From @brathis
- Seems to be ok for Python 3.9
2022-01-06 12:42:59 -03:00
Salvador E. Tropea
c213a02543
Removed file no longer used by mcpyrate
2022-01-06 12:14:38 -03:00
Salvador E. Tropea
93ee8c3acb
Updated mcpyrate to 3.5.4 (last available)
2022-01-06 12:10:06 -03:00
Salvador E. Tropea
34bea23e06
Merge pull request #129 from rleh/patch/v6_sch
...
KiCad 6: Catch environment.vars==None case
2022-01-04 16:54:50 -03:00
Salvador E. Tropea
be59ee397e
Added support for KiCad 6 to the `update_qr` preflight.
...
Related to #93
2022-01-04 16:52:12 -03:00
Raphael Lehmann
7bdc1f511e
v6 config: Catch environment.vars==None case
2022-01-04 17:50:10 +01:00
Salvador E. Tropea
7992fd9888
Added preflight option to update the QR codes.
...
- Needed for s-expression files
- Not working for KiCad 6 (bug in the Python API)
2022-01-04 10:21:59 -03:00