Salvador E. Tropea
97dd675a6d
[PcbDraw] A `remap_components` option with better type checks
...
- The old option was simpler, but you could put anything there
2022-10-18 13:37:37 -03:00
Salvador E. Tropea
087b1aabe3
[PcbDraw] Added resistor remap and flip options
2022-10-18 13:16:43 -03:00
Salvador E. Tropea
f78f8b3064
[PcbDraw] Added solder paste removal
2022-10-18 11:38:29 -03:00
Salvador E. Tropea
268e1ef2f7
[PcbDraw] Added support for the outline width
2022-10-18 11:34:12 -03:00
Salvador E. Tropea
00cea42cda
[PcbDraw] Added support for image margin
2022-10-18 11:27:11 -03:00
Salvador E. Tropea
bb6b0c6141
[PcbDraw] Replaced `unit` code
...
- So we have only one units conversion
- I think the only difference is that KiBot code currently supports
the locales decimal point
2022-10-18 09:57:56 -03:00
Salvador E. Tropea
838129e69c
[PcbDraw] Embedded the PcbDraw.plot code
...
- Now PcbDraw is not a dependency of out_pcbdraw.py
2022-10-17 12:58:06 -03:00
Salvador E. Tropea
e733ba54c4
Adapted reference files to KiCad 6.0.8
2022-10-14 10:42:09 -03:00
Salvador E. Tropea
80b034120e
[Tests] Adapted KiDiff rereference for KiCad 5
2022-10-14 10:33:28 -03:00
Salvador E. Tropea
25d9806b47
[Diff] Added option to compare only the first schematic page.
...
- So now the default is to compare all the schematic pages.
Closes #319
2022-10-14 10:25:37 -03:00
Salvador E. Tropea
a337028007
[Internal BoM] Added some basic support for "Exclude from BoM" flag
...
Related to #316
2022-10-11 11:46:00 -03:00
Salvador E. Tropea
1106708a6d
[Fixed][Position] Wrong side classification
...
- When the side column wasn't the last column
Closes #313
2022-10-06 08:59:15 -03:00
Salvador E. Tropea
925d3596dd
New filter `field_modify`
...
- Also added `pre_transform` shortcut.
2022-10-03 13:11:01 -03:00
Salvador E. Tropea
a9d5b8cd58
New filter `urlify` to convert URLs in fields to HTML links
...
Closes #311
2022-09-30 11:28:21 -03:00
Salvador E. Tropea
1d0c2307c5
[Tests] Compare 100% height of PcbDraw images
...
- Also added some tollerance, with this v1.0.0 is passing the tests.
2022-09-29 10:47:06 -03:00
Salvador E. Tropea
54b7cfb2a7
[Test] More image tollerances
2022-09-23 12:50:31 -03:00
Salvador E. Tropea
20f324087f
[Tests] Marked test_drc_filter_2 as slow
2022-09-23 12:33:22 -03:00
Salvador E. Tropea
51193541f0
[Test] More compare tollerances
2022-09-23 10:05:00 -03:00
Salvador E. Tropea
3f4448ffce
[Tests] More image tollerance
2022-09-23 09:55:46 -03:00
Salvador E. Tropea
1b597043f5
[Tests] Added same tollerance to all diff checks
2022-09-23 09:49:53 -03:00
Salvador E. Tropea
8392f468ae
[Tests] Added some tollerance to img compare for non Debian
2022-09-23 09:43:57 -03:00
Salvador E. Tropea
b989d1aaa3
[Tests] Fixed condition in last patch
2022-09-23 09:39:54 -03:00
Salvador E. Tropea
80d69acaa6
[Tests] Avoid comparing the text in diffs when not Debian
2022-09-23 09:35:57 -03:00
Salvador E. Tropea
1f7cff4fe8
[Tests] Delay the get_path patch, needed by Python 3.10
2022-09-23 08:41:31 -03:00
Salvador E. Tropea
aba02e083c
[Tests] Look for coverage3 if python3-coverage isn't installed
2022-09-23 07:27:46 -03:00
Salvador E. Tropea
1042edbb0e
[Update_XML] Correct error when using wrong value
2022-09-21 12:41:30 -03:00
Salvador E. Tropea
58b7958899
[Update_XML] Now you can check PCB and schematic parity
...
Related to #297
2022-09-21 11:33:26 -03:00
Salvador E. Tropea
6eaa09beea
[Tests] Added test for --no-warn
2022-09-21 08:31:10 -03:00
Salvador E. Tropea
82229e126d
[Copy_Files] Made 3D models use the project path as base
...
- To avoid problems when KiCad is running from other place
2022-09-21 08:00:58 -03:00
Salvador E. Tropea
e2fdf87d6b
[Copy_Files] Now you can copy the 3D models
...
- Also save a PCB modified to use them
- Changed the syntax so we can copy other stuff
2022-09-20 13:13:12 -03:00
Salvador E. Tropea
599ddcfc5b
Added YAML example to check zones with repo
2022-09-16 10:14:53 -03:00
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
76742bb69f
[Fixed] Problems when aggregating a CSV without footprint
...
See #248
2022-09-15 06:34:17 -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
08a0628eff
Added some basic preprocessing
...
- Now you can parametrize the YAML config.
Related to #233 and #243
2022-09-13 13:31:25 -03:00
Salvador E. Tropea
5f6bfa0b62
[Tests] Adjusted the 3D render references
2022-09-13 12:45:45 -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
877695378c
[Fixed][Diff] Link name for git diffs
...
- Also adapted file test to new name
2022-09-09 13:30:27 -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
42aa142a56
[Report] Added support for Eurocircuits drill adjust to fix small OARs.
...
Closes #227
2022-09-08 11:37:58 -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
6354ccdd7d
[Diff] More changes to the link name
...
- Adding the tag to branches
2022-09-07 10:52:51 -03:00
Salvador E. Tropea
3684889060
[PCB Print] Changed the conversion strategy
...
- Now we can control the resolution
- Added option for this
Related to #259
2022-09-07 08:40:18 -03:00
Salvador E. Tropea
fe9bf9e18b
[Tests][Diff] Added link check
2022-09-06 09:18:10 -03:00
Salvador E. Tropea
e34d4a01e0
[Diff] Added option to force the checkouts
2022-09-05 13:48:14 -03:00
Salvador E. Tropea
a4abb65ef3
[Diff] Added support for stashing submodules
...
Related to #265
2022-09-05 13:35:04 -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
1ff365b572
[Tests] Moved the schematic diff to the slow tests
2022-09-02 07:48:04 -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
d8d8552883
[Diff] Now the %i is diff_pcb for the PCB and diff_sch for the sch
...
Related to #265
2022-09-01 14:13:28 -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
6b344a094b
[Diff][Fixed] Problems when no changes to stash
...
- "git stash push" always returns 0, even if nothing was stashed.
- But "git stash pop" returns 1 if nothing stashed.
- So now we check using "git stash list".
Related to #265
2022-08-31 07:50:09 -03:00
Salvador E. Tropea
d0caf5b8fd
[Tests] Fixed problems when a test using git failed
...
- We didn't restore the working dir
2022-08-25 13:38:57 -03:00
Salvador E. Tropea
5bf773a070
[Tests] Fixed problems in systems where git isn't configured
2022-08-25 13:38:23 -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
13e5485fe8
[Tests] Adapted the powe annotate reference
...
- Now the change is propagated to the lib symbol. This is OK, KiCad
also changes the symbol lib values, they are just defaults.
2022-08-12 09:35:04 -03:00
Salvador E. Tropea
553d47f533
[BoM] Added support for text variables expansion
...
- Is done using a filter, the expansion is done at the end, but
the filter can be applied at any point in the filter/variant
chain.
Fixes #247
2022-08-12 09:09:09 -03:00
Salvador E. Tropea
9be29307be
[Tests] Modified the logs to print a command that we can copy and paste
2022-08-11 09:27:39 -03:00
Salvador E. Tropea
75afab0d40
[Test] Fixed drc filters tests cases
...
- Added silk_over_copper exclusion
- Skipped test_drc_filter_2 for KiCad 5 (is for KiCad 6)
2022-08-10 18:39:43 -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
528a58afe1
[Tests] Fixed missing GS.ki* in kiconf_init.py
2022-08-01 18:54:28 -03:00
Salvador E. Tropea
6c7e0cebe0
Now GS.ki5() and GS.ki6() are just GS.ki5 and GS.ki6
...
- The version doesn't change during execution ;-)
2022-07-31 17:45:55 -03:00
Salvador E. Tropea
adcd77a821
[Experiment] Trying to figure out why KiAuto isn't using the interposer
2022-07-30 12:48:31 -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
a3bf56c39a
Adapted test SCH references
...
- Now we keep title block entries, even if they are " "
This is how KiCad behaves
2022-07-21 13:46:27 -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
061ed0488e
[Tests] Separated kicad2step, pcbnew and eeschema tests
2022-07-14 19:23:28 -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
97fbdef5c8
[Tests] Updated results after OAR fix.
2022-07-14 17:18:18 -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
7f29fa1ecd
[Tests] Fixed test_import_7
...
- It used a test case that didn't really pass the DRC
2022-07-13 09:25:02 -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
4765121e3f
[Tests] ImageMagick available again
2022-07-13 06:32:11 -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
73c72ecb62
[Tests] Fixed test_import_8
...
- Removed the ligth_control project
2022-07-12 14:03:17 -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