Commit Graph

941 Commits

Author SHA1 Message Date
Salvador E. Tropea b24f3b4e3b [PcbDraw] Added extension to temporal files
- More clear
- PcbDraw 1.0.0 doesn't support files without extension
  Is this a Windows legacy?!
2022-09-29 10:45:37 -03:00
Salvador E. Tropea 63b4c526f8 Fixed missing XYRS information for components with multiple units
Closes #306
2022-09-29 07:54:32 -03:00
Salvador E. Tropea 92c4d4f15d [DOCs][Fixed] Default values for KiBoM variant filters
Closes #303
2022-09-27 13:49:35 -03:00
Salvador E. Tropea ee967235e6 [Fixed] KiCad 5 "assert "lower <= upper" failed in Clamp()"
Closes #304
2022-09-27 13:26:35 -03:00
Salvador E. Tropea 9c1d32fac3 [Debug] Added place where we use run_command 2022-09-27 11:01:44 -03:00
Salvador E. Tropea 5d6362f620 [Install checker] Added preliminar help for Arch Linux packages
- Not yet tested
2022-09-24 20:06:08 -03:00
Salvador E. Tropea 7acf971b55 [PCB_Print] Changed scale strategy to make it more similar to old
- Rounding the scale
2022-09-23 12:48:10 -03:00
Salvador E. Tropea 518d533887 [Fixed] Python 3.10 "Decimal" issue 2022-09-23 12:38:49 -03:00
Salvador E. Tropea 7ed371cd50 [Pcb_Print] RSVG 2.54 seems to solve scale issues
- So now we adjust the scale according to the resulting size,
  instead of assuming RSVG will do it always wrong.
2022-09-23 12:34:54 -03:00
Salvador E. Tropea 4f0e0cc9cf [Diff] Avoid warnings about no PDF reader 2022-09-23 09:47:41 -03:00
Salvador E. Tropea d5c398e04e [Dependencies] Avoid trying to remove older python versions
- Older packages could be installed at system level, so we will fail.
  Also: we don't want to remove what the user has, just have a better
  version.
2022-09-23 08:10:32 -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 7238539a29 [CLI] Fixed the -w option
- Missing member in simple filter

Related to #296
2022-09-21 08:21:53 -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 dff7d9d299 [3D models] More flexible about relative dirs
- When solving a relative path accept it to be relative to the
  PCB or relative to the current working directory.
2022-09-20 13:42:06 -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 39eabd996f [Schematic v5] Better error message when mixing v5/6 files
Related to #298
2022-09-20 09:18:25 -03:00
Salvador E. Tropea 49b21c8e93 [DOCs] Made the filters for ERC/DRC vs globals more clear
- Now the KiBot ones doesn't mention KiCad versions
- If the user uses Wxxx for the `error` in the KiBot ones we filter xxx
- Added text to clarify how to get rid of W058 warnings
- Also now we report warning counts when all filtered

Related to #214
2022-09-16 10:16:20 -03:00
Salvador E. Tropea 098b38c462 [DOCs] Documented the error level for diff fail 2022-09-16 09:24:47 -03:00
Salvador E. Tropea 751e8e8c2f Removed debug messages in run_drc/run_erc 2022-09-16 08:45:27 -03:00
Salvador E. Tropea 67175dcbd9 Now the error about differences bigger than the threshold is more clear
- KiBot also returns a distinct error level.
2022-09-16 08:41:15 -03:00
Salvador E. Tropea e273d615f2 Fixed -w implementation issues
- Crash when not used
2022-09-16 08:13:10 -03:00
Salvador E. Tropea 252f10e8f3 Added command line option to specify warnings to be excluded.
- Useful for warnings issued before applying the global options
  (i.e during import).

Fixes #296
2022-09-16 07:48:22 -03:00
Salvador E. Tropea a8e48031c8 [Diff] Added mechanism to specify the PCB/Schematic in memory
- Now this is the default

Closes #295
2022-09-16 07:07:43 -03:00
Salvador E. Tropea de4daddc52 Assigned a number to the experimetal warning about missing refs
Related to #248
2022-09-16 06:21:24 -03:00
Salvador E. Tropea 0cf25c3295 Allow empty references in the generic filter
Related to #248
2022-09-16 06:17:34 -03:00
Salvador E. Tropea 4f54712a94 Added experimental option to accept CSV files without reference. 2022-09-15 14:05:24 -03:00
Salvador E. Tropea 5c825151b0 [Import] Global options are now "merged"
Close #291
2022-09-15 13:27:54 -03:00
Salvador E. Tropea 06152348ff Report unknown stuff in kibot/kiplot section 2022-09-15 12:57:00 -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 74d8b57830 Moved the BaseVariants import to the place where we use it
- Seems to solve macros issues
2022-09-15 07:38:57 -03:00
Salvador E. Tropea 3e03228b7b [DOCs] Added help about the variant options
- Generated by a new command line `--help-variants`

Related to #257
2022-09-15 07:13:33 -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 e4ee39eadf [DOCs] Added details about what poor means regarding to worksheet
Related to #233
2022-09-14 13:33:38 -03:00
Salvador E. Tropea d51791f197 Added a warning whe we download 3D models 2022-09-14 10:58:05 -03:00
Salvador E. Tropea 446364fb32 [Fixed] Download datasheet abort on connection error
- Now it isn't fatal
- This is PR #290 applied to master

Closes #289
2022-09-14 10:45:06 -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 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 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 87ce073e77 [Fixed][BoM] CSV detection 2022-09-13 11:01:57 -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