Salvador E. Tropea
72a2c71ddb
Added test for PCB paper size stuff
2022-06-12 12:17:23 -03:00
Salvador E. Tropea
358b7f4e44
Added more pcb_print tests
2022-06-10 11:28:33 -03:00
Salvador E. Tropea
304428b2c4
Adapted some tests
...
- The title block of some test_v5 sheets was removed
- The SVG reference for test_v5 seems to be unstable
2022-06-10 10:07:45 -03:00
Salvador E. Tropea
2ccb61ee2b
Added more KiCad SCH tests
...
- Qubic bezier
- Alternate pin
- Convert (DeMorgan)
- fields_autoplaced
- Bitmap scale
- Paper "user" & orientation
2022-06-10 09:33:15 -03:00
Salvador E. Tropea
d79c495e35
Added title block expansions to light_control example
...
- Works with iBoM 2.4.1-2
Related to #161
2022-04-23 15:29:41 -03:00
Salvador E. Tropea
a5df9baf80
Also added `date` example to variables test
...
Related to #161
2022-04-23 14:51:32 -03:00
Salvador E. Tropea
8bed2595ff
Added small naive test to check if iBoM can get text variables
...
Related to #161
2022-04-23 14:44:00 -03:00
Salvador E. Tropea
7ac654523d
Added support for KiCad 6 pin alternates
...
- Another undocumented feature
Fixes #193
2022-04-21 15:09:33 -03:00
Salvador E. Tropea
ff41012e84
Changes in how we compute the drill sizes in the report
...
- New global variable `extra_pth_drill` defines how much the drill will
be enlarged for plated holes.
- Removed all *_1* report values.
- Added *_real* report values. They are the asjusted drill values.
- Now we compute Eurocircuits Drill Class using all the real drill
sizes.
- Documented all global variables/options.
- Added command line option to list all global options.
- Adjusted the report templates and thei references.
Related to #164
2022-04-20 12:57:52 -03:00
Salvador E. Tropea
5a87249ce3
Added example of DRC warning filter
2022-04-19 15:30:31 -03:00
Salvador E. Tropea
8dab92cbd7
Added schematic with DeMorgan conversion
2022-04-18 09:23:38 -03:00
Salvador E. Tropea
ea1460e6b9
Added black drill holes to the `pcb_print` output
...
- Disabled the frame ref for KiCad 5. Doesn't work.
- Changed reports to use these PDFs. They are vector graphics.
2022-04-08 19:33:21 -03:00
Salvador E. Tropea
b48a9e5ab0
Fixed (KiCad 6) traces not visible in 3D render
...
Fixes #177
2022-04-07 15:44:22 -03:00
Salvador E. Tropea
26ebfab294
Added missing test project
2022-04-04 18:34:48 -03:00
Salvador E. Tropea
9e1f645c31
Fixed problems when using page layout files with relative paths.
...
Fixes #174
2022-04-04 18:02:31 -03:00
Salvador E. Tropea
bb0f86ae61
Fixed KiCad 6 text variables not expanded in `render_3d` output
...
- We must copy the project file to the temporal dir
Fixes #173
2022-04-02 12:14:56 -03:00
Salvador E. Tropea
dad1f91439
Added: text vars expansion for 3D model paths
...
Closes #172
2022-03-31 14:58:39 -03:00
Salvador E. Tropea
372fad5d28
Fixed 3D problems to download 3D models for native KiCad 6 files.
...
- Not seen on files imported from KiCad 5
Fixes #171
2022-03-31 12:11:52 -03:00
Salvador E. Tropea
b4ff830c7d
Fixed drill problems with regular vias
2022-03-25 08:39:58 -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
688d637f6c
Added regression test for #164
2022-03-17 18:40:25 -03:00
Salvador E. Tropea
4b6885283a
Added new test files for the set_text_variables test
2022-03-13 14:31:14 -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
ebc6458948
Fixed schematic: Paper orientation was discarded on v5 files.
...
Fixes #150
2022-02-17 12:40:29 -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
23c8eae16b
Added a dimension to the simple_2layer.kicad_pcb
...
Related to #142
2022-02-09 17:26:03 -03:00
Salvador E. Tropea
c700eeff45
Added Manufacturer and P/N to the light control example.
2022-02-09 16:19:46 -03:00
Salvador E. Tropea
db6cf3dace
Added Board View test
2022-02-07 13:27:56 -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
d629afcf92
Added support for the controlled impedance flag in KiCad 6
2022-01-18 16:06:17 -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
514cc949b6
Added support for edge_connector, castellated_pads and edge_plating
2022-01-16 19:13:20 -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
52df7e85b3
Fixed missing project for light control
...
- In KiCad 6 some importants settings were moved to the project.
I.e. the clearance
2022-01-16 01:02:18 -03:00
Salvador E. Tropea
792572149b
Updated test_bom_ok
...
- The XML netlist was out of sync.
2022-01-07 12:58:09 -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
f1b46daf6c
Added missing KiCad 6 test file for datasheet download
2022-01-06 14:18:07 -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
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
Salvador E. Tropea
5017f7e078
Added QR codes generation: symbols and footprints.
...
Related to #93
2022-01-03 12:35:33 -03:00
Salvador E. Tropea
6d939bbdbe
Added datasheets downloader
...
Closes #119
2021-12-29 15:20:54 -03:00
Salvador E. Tropea
057f8688da
Added support for STEP generation using KiCad 6
...
- Uses a new KiAuto release (1.6.0) to workaround KiCad 6 limitation
- Updated the tests
- Updated the board samples, another "limitation" in KiCad 6 (no longer
looks for .step files when the model is a .wrl)
2021-12-28 17:44:36 -03:00
Salvador E. Tropea
118c81120b
Added KiCad v6 PCB for iBoM tests
2021-12-28 10:38:17 -03:00
Salvador E. Tropea
115c8b6913
Adapted YAML and SCH error tests to KiCad 6 RC1
...
- Most SCH test are disabled because this is another parser.
2021-12-27 14:10:02 -03:00
Diego Capusotto
3c4c2f0e15
Adapted the test_print_sch.py tests to KiCad v6
2021-12-21 13:07:02 -03:00
Diego Capusotto
89094aac9b
Added board examples in KiCad 6 fromat for test_print_pdf
2021-12-18 18:36:22 -03:00
Diego Capusotto
c20f8b9ddd
Added empty title block to KiCad 6 deeper and sub-sheet examples
...
- Needed for the SCH replace test.
- In KiCad 6 the title block is optional in the file.
2021-12-18 16:56:53 -03:00
Diego Capusotto
60ab8356d9
Updated the XML netslist for KiCad 6 bom test
2021-12-18 16:56:05 -03:00
Diego Capusotto
82a62f29ce
Added board tests in KiCad 6 format for test_preflight
2021-12-18 16:54:56 -03:00
Diego Capusotto
092644264e
Added the v6 versions of the board tests needed by test_position
2021-12-17 18:20:27 -03:00
Diego Capusotto
cb5b6690c0
Added the test files used by test_pdf.py
2021-12-17 17:29:30 -03:00
Diego Capusotto
58851d2532
Updated simple_2layer test board to v6
2021-12-17 17:28:54 -03:00
Diego Capusotto
908c48b8c7
Updated v6 version of good-project (HPGL pen diameter changed)
2021-12-17 17:20:48 -03:00
Diego Capusotto
c6ea908bdd
Added v6 files needed for test_misc* tests
2021-12-17 17:20:16 -03:00
Diego Capusotto
9ab8e1f80a
Updated the KiCad v6 version of the "bom" schematic
...
- Now has a title block used for the tests.
2021-12-17 17:04:57 -03:00
Diego Capusotto
bed617f72f
Added v6 versions of the files needed by test_kicost.py
2021-12-17 16:15:02 -03:00
Diego Capusotto
55c063bbab
Copied the date for kibom-variant_kicost.xml test
...
- KiCost uses it
2021-12-17 16:14:18 -03:00
Diego Capusotto
fc6ebb153b
Added KiCad v6 versions of the files used by test_int_bom.py
2021-12-17 16:06:08 -03:00
Diego Capusotto
2c936b8c64
KiCad v6: added kibom-variante test case
2021-12-17 13:48:14 -03:00
Diego Capusotto
e733ce1289
KiCad v6: Adapted kibom-variant_3 test to the new format.
2021-12-17 12:18:00 -03:00
Diego Capusotto
01090aa64a
KiCad v6: Updated 3Rs.kicad_pcb
2021-12-17 12:10:32 -03:00
Diego Capusotto
1e9ed89f75
KiCad v6: Updated bom.kicad_sch and bom.xml
2021-12-17 11:47:11 -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
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
71c7150baa
Added support for \n and \t to text* options of join
...
Related to #108
2021-12-14 17:45:10 -03:00
Salvador E. Tropea
f9239349af
Added title block to the light control test case
2021-12-03 15:53:31 -03:00
Salvador E. Tropea
f3ea2e8024
Adapted test cases to the new sheet detection and example change
2021-12-03 15:50:32 -03:00
Salvador E. Tropea
9fffeddaff
Added a text replace tag to test_v5.sch
2021-12-03 12:28:45 -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
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
088027c174
Fixed problems with schematic fields containing double quotes.
...
- Fixes #98
2021-11-15 12:50:22 -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
f74cfb37ac
Fixed dates for the merge*.sch tests.
2021-05-25 20:47:05 -03:00
Salvador E. Tropea
3bdae8507a
Added suppport for multiprojects to the internal KiCost.
...
- Also changes the KitSpace queries format to be more readable.
2021-05-25 18:02:22 -03:00
Salvador E. Tropea
0dc8817bfb
Fixed KiCost test (because now KiCost works better)
2021-05-11 12:33:48 -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
e22e1db49a
Added support for width, style and color in "wire notes"
...
Fixes #70
2021-04-22 12:33:13 -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
8fba0d9909
Added `erc_warnings` option to consider ERC warnings as errors.
2021-02-24 12:34:49 -03:00
Salvador E. Tropea
80b7510c80
Made the JLCPCB position example more clear and easier to reuse.
2021-02-12 11:08:09 -03:00
Salvador E. Tropea
d97ca18590
Added test for rotation filter in the bottom side.
2021-02-03 17:13:12 -03:00
Salvador E. Tropea
602f0dd261
Added a STEP test using a model that is inside our tree.
...
Ensures all models will be found.
2021-02-03 11:26:37 -03:00
Salvador E. Tropea
0b3891d942
Added tests for bogus 3D model and another shipped.
2021-02-03 11:12:24 -03:00
Salvador E. Tropea
2bbbebf43a
Added test for schematic with company name in merged BoM tests.
2021-02-02 12:13:33 -03:00
Salvador E. Tropea
84470bbc11
Added first makefile generation test
2021-01-28 12:43:01 -03:00
Salvador E. Tropea
f279e7319e
Added test for a BoM from multiple projects.
2021-01-27 11:51:26 -03:00
Salvador E. Tropea
15474ae4d7
Now you can consolidate more than one project in one BoM.
...
The basic idea comes from pimpmykicadbom by Anton Savov (@antto)
2021-01-21 14:43:47 -03:00
Salvador E. Tropea
4a3e7faace
Added a new filter used to rotate footprints.
...
Used to generate position files for some manufacturers like JLC.
Also in this patch:
- Now position files are naturally sorted (R10 after R9, not after R1)
- Position files in CSV format quotes only the columns that could
contain an space. Just like KiCad does.
- Fixed: Generic filter `include_only` option worked only when debug
enabled.
2020-12-28 18:26:27 -03:00
Salvador E. Tropea
9f8ecff5d1
Added support to rename fields matching the variant to value.
2020-12-23 12:11:39 -03:00
Salvador E. Tropea
986f0c7157
KiBoM variants: support to field overwrite according to variant
2020-12-18 15:39:58 -03:00