Salvador E. Tropea
5bb63e6624
Added YAML sample to detect zone refills
2022-09-16 10:14:11 -03:00
Salvador E. Tropea
e49cbc2b93
[Global Ops] Added mechanism to give more priority to local globals.
...
- `imported_global_has_less_priority` in the KiBot section
Related to #291
2022-09-15 12:51:25 -03:00
Salvador E. Tropea
488f2dcbc2
[Global options] Now the global `dir` option also applies to the preflights
...
- Can be disabled using `use_dir_for_preflights`.
Closes #292
2022-09-15 09:33:57 -03:00
Salvador E. Tropea
d01943ed87
Added support for 3D models aliases
...
- Also a global option to define them in the KiBot configuration
Related to #261
2022-09-14 09:38:47 -03:00
Salvador E. Tropea
418b74b2f3
Environment and text variables now can be used as 3D model aliases.
...
- Environment and text variables expansion is now recursive.
So in `${VAR}` the *VAR* can contain `${OTHER_VAR}`
Related to #261
2022-09-14 07:30:13 -03:00
Salvador E. Tropea
23d46b9a10
[Fixed] --define wasn't allowed for --list
...
- So people couldn't use definitions and use --list
Fixes #288
2022-09-14 06:45:17 -03:00
Salvador E. Tropea
199bb9441f
[Tests] Included missing YAML file
2022-09-13 13:55:32 -03:00
Salvador E. Tropea
4cbb7a3405
[Fixed] 2D PCB processing didn't show in 3D targets
...
- I.e. solder paste not removed in the 3D render.
Related to #270
2022-09-13 11:32:27 -03:00
Salvador E. Tropea
6f2c4ccf24
[Globals] Added options to control which stuff is changed on PCB variants
...
- cross_footprints_for_dnp
- remove_adhesive_for_dnp
- remove_solder_paste_for_dnp
- hide_excluded (default value)
Related to #270
2022-09-13 10:44:07 -03:00
Salvador E. Tropea
661677608e
[Internal BoM] Added CSV aggregate
...
Related to #248
2022-09-13 09:25:14 -03:00
Salvador E. Tropea
1f1a56e5ac
Added support for changing text variables with variants
...
- During outputs creation.
- Option `set_text_variables_before_output`.
Related to #233
2022-09-12 13:35:40 -03:00
Salvador E. Tropea
9a70f2e141
New output copy_files
...
Closes #279
2022-09-12 10:39:44 -03:00
Salvador E. Tropea
70a2788df0
[Render 3D] Added options to control render aspects
...
- To disable some technical layers
- To control the silkscreen clipping
Closes #282
2022-09-12 08:25:32 -03:00
Salvador E. Tropea
e871efe4bd
[Diff] Option to use variant's file_id for the link
...
- Also changed None by Current/FILE
2022-09-09 13:09:56 -03:00
Salvador E. Tropea
6cf6b08450
[SCH Variant] Added option to change the title
...
- Similar to PCB Variant
2022-09-09 12:51:51 -03:00
Salvador E. Tropea
f615790ddc
[Diff] Added schematic variants compare
...
Closes #278
2022-09-09 11:36:48 -03:00
Salvador E. Tropea
0a817bfc60
[Diff] Added two mechanisms to compare PCB variants in one output
...
- Taking pairs
- Using a reference
Related to #278
2022-09-09 10:57:36 -03:00
Salvador E. Tropea
584ef5354b
[Diff] Added mechanism to compare using a variant
...
Related to #278
2022-09-09 09:42:06 -03:00
Salvador E. Tropea
2111eaf6d2
[PCB Variant] Options for title and conditional project copy
2022-09-09 09:08:26 -03:00
Salvador E. Tropea
4dc93da42b
[PCB Variant] Implemented the 3D filtering
...
- The PCB filtering code was moved to make it, some errors could be
introduced
2022-09-09 08:57:05 -03:00
Salvador E. Tropea
241eca63ff
[PCB Print] Added option to customize the page numbers
...
Related to #283
2022-09-08 07:24:56 -03:00
Salvador E. Tropea
f156a23f3f
[Info] Added environment vars, KiBot paths and KiAuto info.
2022-09-07 12:45:56 -03:00
Salvador E. Tropea
e34d4a01e0
[Diff] Added option to force the checkouts
2022-09-05 13:48:14 -03:00
Salvador E. Tropea
01536726a1
New output "Info": collects info about the environment.
...
Related to #209
2022-09-05 09:07:08 -03:00
Salvador E. Tropea
e9e4225b16
[Diff] Added option to copy instead of link
...
Closes #272
2022-09-02 07:16:16 -03:00
Salvador E. Tropea
cabf14ec07
[Diff][Fixed] Always comparing the PCB
...
- Added regression test
Fixes #273
2022-09-02 07:03:57 -03:00
Salvador E. Tropea
e431b42625
[Test] Added naive test for the symlink compression
2022-08-31 13:38:29 -03:00
Salvador E. Tropea
10ee73feeb
[Diff] Added option to create a link to the output
...
- This link contains the git hashes involved in the comparison.
Related to #265
2022-08-31 08:47:15 -03:00
Salvador E. Tropea
464b72e8f1
New output to compute differences between PCBs and SCHs.
...
Fixes INTI-CMNB/KiAuto#14
2022-08-25 13:02:02 -03:00
Salvador E. Tropea
85538b0b27
[Global options] Restore the project at exit
...
Related to #250
2022-08-19 09:39:25 -03:00
Salvador E. Tropea
292105b6f8
[Tests] Added test for --dont-stop
2022-08-12 11:17:23 -03:00
Salvador E. Tropea
83c7d10ba0
[Tests] Added regression test for KiCad 6 nested zones
2022-08-12 10:44:23 -03:00
Salvador E. Tropea
c5a6d894c9
[DRC] Added Workaround for problems with DRC exclusions
...
- Global option: `drc_exclusions_workaround`
- KiCad bug [11562](https://gitlab.com/kicad/code/kicad/-/issues/11562 )
Fixes INTI-CMNB/KiAuto#26
2022-08-10 14:01:32 -03:00
Salvador E. Tropea
b5fc7e8c55
[Report] Fixed converted file wasn't stored at `dir`
...
Closes #238
2022-07-25 11:40:24 -03:00
Salvador E. Tropea
30f708db0e
[Tests] More changed related to parallel tests
...
- Warning 8 filtered for test_sch_missing_1
2022-07-25 11:16:49 -03:00
Salvador E. Tropea
0e7121dc3d
Now configuration sections are parsed in a fixed order
...
- This allows a predictable behavior, the YAML is converted to a dict,
so you can't trust in the order of the keys.
- It avoids misstakes
- Allows using %V/v in preflights, even if globals are declared latter.
Fixes #234
2022-07-21 13:11:24 -03:00
Salvador E. Tropea
5a8391ca59
[Tests] Migrated qr_lib_1 to pcb_print (faster)
2022-07-14 18:53:41 -03:00
Salvador E. Tropea
d52fd87076
[Tests] More adjusts to allow parallel run
2022-07-14 17:47:53 -03:00
Salvador E. Tropea
ba7bebd980
[Position] Added an error message for wrong file names
...
- If a user asks for separated files and doesn't use %i to
differentiate the names now we inform it as an error.
Related to #222
2022-07-13 11:33:43 -03:00
Salvador E. Tropea
a8a4c2ad9a
[Tests] More adjusts to test_sch_missing_filtered filters
...
- Reason: Now tests are run in parallel, so we can catch a temporal
KiCad configuration created by a parallel job.
2022-07-13 06:49:22 -03:00
Salvador E. Tropea
4245709e3d
[Tests] Adjusted the filters for test_sch_missing_filtered
...
- Not sure why needed, but these warnings are logic
2022-07-13 06:29:03 -03:00
Salvador E. Tropea
3e05ab8b6a
[Import] Preflights now can be imported
...
- Also fixed the filters and variants configuration, now delayed.
Fixes #221
Related to #181
2022-07-12 13:39:43 -03:00
Salvador E. Tropea
6c118b73fa
Imports can be nested now
...
- import stuff that was imported ...
- Is the first approach, works for a simple case
Related to #218
2022-07-12 10:55:00 -03:00
Salvador E. Tropea
486fabd321
Added merge and translate field tests for KiCost
2022-06-13 11:18:33 -03:00
Salvador E. Tropea
e6cfe15dd0
PDFUnite: added warnings and errors about missing input files
...
- Also simplified the create_pdf.py error handling.
- We are not catching I/O errors, they are fatal and should be
catched at a higher level.
- We already check the input files and create the output dir.
- Added tests
2022-06-13 08:56:25 -03:00
Salvador E. Tropea
06bb47ea05
pcb_print: fixed frame page orientation in GUI mode.
2022-06-12 15:37:00 -03:00
Salvador E. Tropea
db3bf471ea
Add support for `globals` instead of `global`
2022-06-12 11:40:07 -03:00
Salvador E. Tropea
35c7286229
Added test for gloabl environment vars
2022-06-12 11:30:44 -03:00
Salvador E. Tropea
e0fa00f68b
Added pdfunite test with source and external tool
2022-06-12 10:27:29 -03:00
Salvador E. Tropea
1b2616b19f
Added simnple test for Specs (XLSX BoM)
2022-06-10 12:46:59 -03:00
Salvador E. Tropea
358b7f4e44
Added more pcb_print tests
2022-06-10 11:28:33 -03:00
Salvador E. Tropea
b57a29ddee
Added more pc_print test cases
2022-06-10 07:55:07 -03:00
Salvador E. Tropea
d91e98a495
Added simple test for monochrome print
2022-06-09 13:53:58 -03:00
Salvador E. Tropea
9a090012a6
Added more options to test pcb_print features
2022-06-09 13:01:25 -03:00
Salvador E. Tropea
7776e4cdaf
Added simple SVG print test
2022-06-09 11:42:35 -03:00
Salvador E. Tropea
59718bdfdf
Added missing YAML test files
...
- For the netlist tests
2022-06-09 06:24:49 -03:00
Salvador E. Tropea
043ee382d3
Implemented output priorities
...
- By default `qr_lib` is high priority and `navigate_results`/
`compress` are low priority.
- Priorities can be configured.
- A command line option disables it.
2022-06-07 13:57:32 -03:00
Salvador E. Tropea
bb6e962f3d
Internal BoM: Added customizable extra info after the title
...
Closes #199
2022-05-20 19:08:20 -03:00
Salvador E. Tropea
23d3d76d94
Added Pattern and text variables expansion on internal BoM title
...
Closes #198
2022-05-20 07:30:29 -03:00
Salvador E. Tropea
23e632303d
Fixed problems with KiCost using internal variants
...
- The XML didn't remove `variant` field properly (lack of lower)
- THe XML didn't support UTF-8
2022-05-18 15:59:38 -03:00
Salvador E. Tropea
e54d7a6a1e
Moved the text vars test to ibom_text_vars.kibot.yaml
...
- To avoiud testing interference
Related to #161
2022-04-23 15:28:28 -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
f4638fdc66
Added background image to pcb_print
...
- Enables the use of watermarks
2022-04-23 08:48:32 -03:00
Salvador E. Tropea
857b8b974e
Added pcb_print options to control the background
2022-04-23 07:46:04 -03:00
Salvador E. Tropea
bca090b685
Added `realistic_solder_mask` to `pcb_print`
...
- Prints the solder mask in a human understandable way
2022-04-22 14:05:41 -03:00
Salvador E. Tropea
5a87249ce3
Added example of DRC warning filter
2022-04-19 15:30:31 -03:00
Salvador E. Tropea
ffc32d6672
Added worksheet example with images.
2022-04-16 16:46:04 -03:00
Salvador E. Tropea
4b341a7a92
Added internal plot of the worksheet to pcb_print
...
- Also renamed some options to make it simpler (sorry)
2022-04-16 15:09:19 -03:00
Salvador E. Tropea
dfcb837fbc
Added the extend of extended output example
2022-04-14 11:11:55 -03:00
Salvador E. Tropea
460ddc6a59
Added holes color configuration to pcb_print
2022-04-12 15:53:34 -03:00
Salvador E. Tropea
b7b9b70ac3
Added PNG, EPS and PS outputs to pcb_print.
2022-04-12 15:43:53 -03:00
Salvador E. Tropea
1507300fe4
Added option to generate a better frame on pcb_print (KiCad 6)
...
- Also documented more details about pcb_print.
2022-04-11 19:02:26 -03:00
Salvador E. Tropea
4e659c3ddd
Added support for SVG to `pcb_print`
...
- And now is much faster because all the processing is done using
SVGs and we generate PDFs only during the last step.
2022-04-11 17:24:39 -03:00
Salvador E. Tropea
510279a0a3
Added support for frame to `pcb_print` on KiCad 5
...
- This is tricky because plot API doesn't support it.
So we use `pcbnew_do` to generate an SVG and then we make a
vectorized PDF from it.
2022-04-11 12:40:39 -03:00
Salvador E. Tropea
15b32c82d9
Adapted report_simple_1 to the new use of PDFs
2022-04-09 15:55:28 -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
3752bcb53e
Finished adding all the plot options to `pcb_print`
...
- Now is you can get most of the good things from both: print and plot
in the same output.
- Is usually much faster than `pdf_pcb_print`
2022-04-08 15:01:10 -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
900be375e9
Added a first approach to Board2Pdf support.
2022-04-05 16:36:02 -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
3c13ae1ccb
Added KiCad 6 color themes to PDF/SVG PCB Print
2022-03-28 15:37:52 -03:00
Salvador E. Tropea
5940e7bcd6
Fixed missing BoardViewOptions.get_targets
...
Fixes #167
2022-03-24 14:05:48 -03:00
Salvador E. Tropea
7e2e844a4b
Added a preflight option to save the PCB with refilled zones.
...
Closes #165
2022-03-24 13:30:18 -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
688d637f6c
Added regression test for #164
2022-03-17 18:40:25 -03:00
Salvador E. Tropea
6b6d22afa8
Added report conversion using pandoc
2022-03-17 12:13:51 -03:00
Salvador E. Tropea
b9fa99a4a0
Excluded lib_symbol_issues in ERC tests
...
- It misteriously started to interfere
2022-03-15 20:38:42 -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
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
0c0c6ffd62
New output to join PDFs.
...
Closes #156
2022-03-03 16:13:00 -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
31d6ec7a25
Removed extra NL at EOF
2022-03-02 18:10:11 -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
17911fe136
Allow strings in globals.copper_thickness
2022-02-21 09:38:11 -03:00