Commit Graph

21 Commits

Author SHA1 Message Date
Salvador E. Tropea cbc196f37a [CLI][Added] Options to list rotation and offset adjusts
Mainly oriented for JLCPCB
2023-11-22 12:47:48 -03:00
Salvador E. Tropea a76b4771c4 [Rotation Filter][Added] rotations_and_offsets option
Implements a more flexible mechanism to select rotations and offsets.
So you can have two different rotations applied to the same footprint,
i.e. different components with the same footprint but different
orientation in the reel.
2023-11-17 10:46:59 -03:00
Salvador E. Tropea 1c5dc60e43 [Rotation Filter][Fixed] Double rotation
- From field and database
- Also added much more detailed debug information when using level >= 2
2023-11-17 08:55:15 -03:00
Salvador E. Tropea e49f6702ff [Rotation Filter][DOCs] Documented how angles and offsets are interpreted 2023-11-17 08:10:55 -03:00
Salvador E. Tropea 407f7b0508 [Rotation Filter][Fixed] Offset sign when using fields
To match the plugin we are using as reference
2023-11-17 07:45:51 -03:00
Salvador E. Tropea 05ca6f72bd [Rotation Filter][Added] Support for offsets
- In the database
- Specified in the YAML
2023-11-15 09:53:14 -03:00
Salvador E. Tropea 6b040af849 [Rotation Filter][Added] More comments about rotations 2023-11-15 07:26:14 -03:00
Salvador E. Tropea 96dcaa1c28 [Rotatio filter][Added] More rotations
From the current https://github.com/matthewlai/JLCKicadTools/blob/master/jlc_kicad_tools/cpl_rotations_db.csv
2023-11-14 13:37:47 -03:00
Salvador E. Tropea 08b1e5f7b8 [Rotation Filter] Fixes and extensions for JLCPCB
- Fixed the JLCPCB template to apply correct rotations to the bottom
  components
- Added options to specify rotations and offsets using fields
- Added an option to mirror the bottom rotation angles
- Needs verifications for the offset stuff

Related to #510
2023-11-14 11:07:12 -03:00
Salvador E. Tropea 5bffb57b73 [DOCs][Filters][Added] Descriptive name 2023-08-22 09:36:57 -03:00
Salvador E. Tropea 53088227d1 Moved comments in docstrings to comments
- To allow using the docstring of plug-ins for specs
2022-07-05 12:42:16 -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
Salvador E. Tropea a7bf1b080c Added skip_top and skip_bottom options to the rot_footprint filter. 2021-04-25 12:20:39 -03:00
Salvador E. Tropea 798fdc3e34 Updated help strings and reverted side match patch. 2021-04-25 12:06:43 -03:00
Frank Leon Rose 5c88dec5bc Use match_string for more selective power 2021-04-07 08:33:37 -04:00
Frank Leon Rose b946e519fb _top & _bottom select all components on a side 2021-04-05 22:15:22 -04:00
Frank Leon Rose 6e0deccdc1 Add invert_bottom parameter 2021-04-05 21:52:50 -04:00
Salvador E. Tropea 01291ebe63 Added field rename filter.
Including an internal version to emulate KiCost behavior.
2021-03-23 13:20:26 -03:00
Salvador E. Tropea 91dc9c5488 Added support for filters that adds/removes components.
- Intended for BoM transformations
- Also enhanced the support for filter chains
2021-03-19 19:20:53 -03:00
Salvador E. Tropea 1b48e614a7 Added pattern expansion in the `dir` option for outputs
Closes #58
2021-03-12 21:14:39 -03:00
Salvador E. Tropea 4a3e7faace Added a new filter used to rotate footprints.
Used to generate position files for some manufacturers like JLC.
Also in this patch:
- Now position files are naturally sorted (R10 after R9, not after R1)
- Position files in CSV format quotes only the columns that could
  contain an space. Just like KiCad does.
- Fixed: Generic filter `include_only` option worked only when debug
  enabled.
2020-12-28 18:26:27 -03:00