Commit Graph

126 Commits

Author SHA1 Message Date
Salvador E. Tropea f9c45899e4 [DOCs] Added various mentions about the `resources_dir` variable 2023-04-05 07:53:13 -03:00
Salvador E. Tropea 158f267eb5 Support for extra data in the Value field
- Currently we just use the tolerance for the 3D resistors
- Uses a port of the JavaScript Electro-Grammar
2023-03-30 12:39:36 -03:00
Salvador E. Tropea bb475ad75a [Any Layer] Enabled scaling for most plot outputs
- Only the gerber is excluded
- The new `individual_page_scaling` option is also available
- Now unknown options are treated as errors
2023-03-28 08:39:25 -03:00
Salvador E. Tropea 05105cdc9a [3D] colored 3D models for THT resistors 2023-03-20 14:26:09 -03:00
Salvador E. Tropea 2ebaea16ab Added errors and warnings about KiCad 7 bugs 2023-03-16 07:19:59 -03:00
Salvador E. Tropea 3e283c9906 Avoid courtyard warnings
- When the user explicitly said the component doesn't have it
  New on KiCad v7
2023-03-08 10:21:41 -03:00
Salvador E. Tropea 74a27b3036 [Config] More robust sym-lib-table parser
- Now loads on-the-fly (not needed for KiCad v6+)
- Uses s-expressions parser, no regex
- Can recreate the global table for KiCad v6+
2023-02-28 13:33:41 -03:00
Salvador E. Tropea 659e23ae32 [Report] Added warnings and counters for buried and micro vias
- Also added a mechanism to disable them for KiCad 7 which no longer
  provides this option.
2023-02-23 08:40:40 -03:00
Salvador E. Tropea 4a440078ae Moved all IU -> SVG stuff to GS 2023-02-15 10:07:49 -03:00
Salvador E. Tropea df085fa8bc Added mechanism to download 3D models from EasyEDA
- Using LCSC codes

Closes #380
2023-01-31 13:12:06 -03:00
Salvador E. Tropea c39d21f3cf [Global Options] Added field_lcsc_part: to select the LCSC/JLCPCB part field 2023-01-28 17:59:23 -03:00
Salvador E. Tropea e16086ca70 [Blender Export] Now can be used as renderer
- Tested with kikit_present and populate
- Also added `auto_crop`
2023-01-26 18:13:38 -03:00
Salvador E. Tropea f8eb021098 [SCH_Print] Added PS, DXF and HPGL formats 2023-01-12 00:30:38 -03:00
Salvador E. Tropea 54e4279c5f [PCB2Blender_tool] Added support for board definitions
- This is a sub-PCB mechanism
2023-01-06 19:14:43 -03:00
Salvador E. Tropea b2f5612b77 [Filters] Moved _only_smd to be truly internal
- Defined _only_tht and _only_virtual
- Simplified the internal filters generation
2023-01-05 17:52:02 -03:00
Salvador E. Tropea 17aacf8daf [Added] Support for `groups` of `outputs` 2023-01-04 08:38:21 -03:00
Salvador E. Tropea 1fdb8a6c4b Merge branch 'subpcb' into dev 2022-12-28 13:33:42 -03:00
Salvador E. Tropea c1f7b8dcff [Windows] Fixed use of /dev/null
- Now using os.devnull
Related to #325
2022-12-22 08:23:56 -03:00
Salvador E. Tropea da2d5f1001 [Variants] Added some limited support for `kikit separate` 2022-12-18 17:14:38 -03:00
Salvador E. Tropea 83684caf11 [KiKit Present] Implemented external mode and get_targets 2022-12-05 21:27:39 -03:00
Salvador E. Tropea 509f74fd31 [KiKit Present] Implemented various modes 2022-12-04 19:50:29 -03:00
Salvador E. Tropea f68855f4d8 [Stencil*] Added get_targets implementation 2022-12-01 13:59:24 -03:00
Salvador E. Tropea 2a46ab1cff [Stencil_3D] New output
- KiKit's "stencil createprinted"
2022-12-01 11:15:12 -03:00
Salvador E. Tropea 75ebc7a677 [Windows] Try to fix %X expansions
- They convert \ to / and remove :
- So we now avoid it on Windows
Related to #325
2022-12-01 07:36:53 -03:00
Salvador E. Tropea 99467d4d05 [Added] Panelize output
- First working version
2022-11-28 16:31:00 -03:00
Salvador E. Tropea 8933fdd681 [Render_3D] Better highlight
- Now we compute the component rotation
- The Bounding Box is computed using the court yard
2022-11-01 12:52:11 -03:00
Salvador E. Tropea ad2b4e48d1 [Fixed] The hide_stderr function when exception
- Needed a finally
2022-10-18 12:34:51 -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 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 63b4c526f8 Fixed missing XYRS information for components with multiple units
Closes #306
2022-09-29 07:54:32 -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 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 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 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 d51791f197 Added a warning whe we download 3D models 2022-09-14 10:58:05 -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 661677608e [Internal BoM] Added CSV aggregate
Related to #248
2022-09-13 09:25:14 -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 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
Henning Kleen 95f3ccb773 Update user agent string to pretend being a recent version of Firefox 2022-07-26 10:27:01 +02: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 0a8481dadf Now the dependencies are YAML specs in docstrings
- They document the dependencies and constructs them
2022-07-05 12:43:49 -03:00
Salvador E. Tropea f80480b31e [Dependencies] Added XLSXWriter auto-download 2022-07-01 11:27:44 -03:00
Salvador E. Tropea 166e927ca4 [Dependencies] Added missing pcb_print use of KiAuto 2022-06-30 09:30:27 -03:00
Salvador E. Tropea 48e5323be0 Added auto-download support for KiAuto. 2022-06-29 13:47:50 -03:00
Salvador E. Tropea 35e12bb3fc Added auto-download support for KiCost. 2022-06-29 11:35:52 -03:00
Salvador E. Tropea 6a1372c574 Added support for dependency download to pcbdraw 2022-06-28 13:19:06 -03:00
Salvador E. Tropea 65d4143ec1 Now we try to download some tools when missing
- Currently only a few targets are available
- Rar, ImageMagick, RSVG Tools and git have some support
2022-06-19 19:17:38 -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