Commit Graph

68 Commits

Author SHA1 Message Date
Salvador E. Tropea 6f7d425ee1 [flake8] Fixed reported issues 2024-01-05 09:33:42 -03:00
Salvador E. Tropea 3cd644d19d [Blender export][Added] Support for pcb2blender 2.7
- Solder mask and silk screen color
- PCB finish
- PCB thickness
2023-10-11 13:08:10 -03:00
Salvador E. Tropea 2ed0622a8b [Blender Export] Better light and with more options 2023-04-24 11:17:12 -03:00
Salvador E. Tropea 124fc8e7b5 [Added] Expansion pattern **%M**
- Directory where the pcb/sch resides. Only the last component
  i.e. /a/b/c/name.kicad_pcb -> c

Closes #421
2023-04-15 19:18:26 -03:00
Salvador E. Tropea 895d852ed2 [Cosmetic] unkown -> unknown 2023-03-28 11:22:19 -03:00
Salvador E. Tropea f3645d3264 [3D] Added options to control the resistors tolerance
- `field_tolerance` field/s to look for resistor tolerance.
- `default_resistor_tolerance` which tolerance to use when none found.
2023-03-21 09:57:22 -03:00
Salvador E. Tropea 1c8042dd1e [Fixed] KiCad units must be integers 2023-02-10 10:10:53 -03:00
Salvador E. Tropea 4db3788830 [LCSC field] Fixed the detection
- Randomly confused the reference
2023-01-31 13:00:58 -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 de1bdb6cf7 [Patterns expansion] Added %C5 to %C9 to the list of detected 2023-01-12 18:34:18 -03:00
Salvador E. Tropea 7fc02734b8 [Tests][Fixed] Missing fix in optionable 2023-01-10 15:11:05 -03:00
Salvador E. Tropea 42f5dcd8d6 [SVG][Added] Options to limit the view box to the used area. 2023-01-05 19:29:31 -03:00
Salvador E. Tropea b8dff52fa3 [sub-PCBs] Implemented the rectangle separation
- Notably faster
2022-12-27 12:37:33 -03:00
Salvador E. Tropea cd89f8b235 [KiBoM][Fixed] Its variants has nothing to do with KiBot 2022-12-22 13:41:01 -03:00
Salvador E. Tropea b4fa74e774 [Fixed] Missing sub-PCB name resolve for pre-flights 2022-12-22 13:00:20 -03:00
Salvador E. Tropea b2b528e4ec [Fixed] Some times we need %V, %v, %S before full config
- So now we solve the variant on-the-fly
2022-12-22 12:40:12 -03:00
Salvador E. Tropea 6790ccc547 [% patterns] Added %S to get the sub-PCB name 2022-12-22 10:11:46 -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 509f74fd31 [KiKit Present] Implemented various modes 2022-12-04 19:50:29 -03:00
Salvador E. Tropea adcdd5fde9 Suggest closer option
When using an invalid option and we list the availables
2022-12-03 18:33:20 -03:00
Salvador E. Tropea d935ce17b7 [Stencil*] Added PNG preview for the 3D model 2022-12-02 08:41: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 425840059c [Panelize] Added mechanism to extend defined options. 2022-11-30 17:01:40 -03:00
Salvador E. Tropea dbea3ca183 [BoM][Added] Option to link to Mouser site. 2022-11-07 10:50:58 -03:00
Salvador E. Tropea 81ce2004d5 [Render_3D] Added option to auto-crop the resulting PNG 2022-10-30 14:35:18 -03:00
Salvador E. Tropea 491c598afb [iBoM] Added support for the `offset_back_rotation` option 2022-10-24 12:58:36 -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 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 9d7e3b91f4 Removed debug message 2022-07-21 13:46:09 -03:00
Salvador E. Tropea b9bd5368c9 Now %V/%v can be expanded in preflights
Related to #234
2022-07-21 13:07:24 -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 ef98248b32 Centralized all drill_marks stuff
- Now we reuse code from drill_marks.py
- Added the options validation
- Updated the help
2022-06-10 07:39:27 -03:00
Salvador E. Tropea 54dd130e4f Highlighted the most relevant options 2022-06-08 08:37:30 -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 01c015eb27 Simplified the global vars handling
- The main class also applies the command line options
- Is more clear how defaults are handled
- Also added global config for the 3D field name
2022-04-28 14:49:28 -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 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 b2ab00f6cb Added global *units* option
Solves the KiCad 6 dimensions issue. See #146
2022-02-14 15:42:54 -03:00
Salvador E. Tropea a82a07bced Fixed: replace %I by '' for cases where %I doesn apply. 2022-01-16 00:34:05 -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 1eefdeb5a3 Added support for upto 9 comment lines (KiCad 6) 2021-12-31 11:43:03 -03:00
Salvador E. Tropea 9417b61478 Moved all loggers to the same domain.
- To fix the warnings count
2021-12-30 11:09:36 -03:00
Diego Capusotto 3eb82bc86d Changed: The `%d/%sd/%bd` expansion patterns are now affected by the global `date_format`.
- Can be disabled using `date_reformat: false`.
- Related to #121
2021-12-15 17:15:49 -03:00
Diego Capusotto 318f0993bf Now `disable_run_by_default` can be defined as true
- To avoid repeating the name of the parent output
- Related to #121
2021-12-14 20:44:37 -03:00
Diego Capusotto e2599731f7 Added `output_id` output option to be expanded by %I 2021-12-14 16:19:49 -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 a503c5fdc6 Added global options to control the date format. 2021-12-01 14:59:36 -03:00
Salvador E. Tropea 95135c8c56 New expansion patterns and out_dir from global section.
- Also added expansion in out_dir
- Related to #116
2021-11-30 19:12:14 -03:00
Salvador E. Tropea b0e615fbed Fixed debug print for levels > 3
- In the expands when the object didn't have a parent
2021-11-25 11:28:58 -03:00