Commit Graph

1526 Commits

Author SHA1 Message Date
Salvador E. Tropea e1ccc99563 [EasyEDA][Fixed] Problems with some step files
- With custom encodings, not UTF-8
- Now handled as binary objects
2023-12-20 12:27:39 -03:00
Salvador E. Tropea 97f67e5bca [DOCs][PCB Print] Added remainder about alpha channel
See #531
2023-12-20 10:28:10 -03:00
Salvador E. Tropea b432a64709 [Fabrication Templates] Move files to the archive
- Is the most common case, so now we move (instead of copy)
- Can be configured using _KIBOT_COMPRESS_MOVE
- Left the JLCPCB BoM and Position outside, they must be uploaded
  separately

Closes #537
2023-12-18 20:54:26 -03:00
Salvador E. Tropea c49c509523 [Worksheet] Avoid warnings for v20220228
- Seems to be fully supported
- We added plenty of undocumented stuff on 2022/04/15
- They still undocumented today

See #532
2023-12-18 19:09:19 -03:00
Salvador E. Tropea bf5e37bc13 [PCB Print][Fixed] Regression issue
- Reverts 8194760
- Adds 0972914f to the removed code
2023-12-18 19:03:09 -03:00
Salvador E. Tropea 0972914f08 [PCB Print][Fixed] Missing edge cuts in the list of visible layers
- When forced
- This is needed and helps to avoid hitting a bug in KiCad

Fixes #532
2023-12-18 18:48:03 -03:00
Salvador E. Tropea 8194760ff6 [PCB Print] Removed redundant code 2023-12-18 18:47:34 -03:00
Salvador E. Tropea 53aa79c29b [PCB Print] Avoid warnings about SHEETPATH
- Not used for PCBs
- KiCad defines it as empty

See #532
2023-12-18 18:46:05 -03:00
Salvador E. Tropea e72bbd08a3 [Blender Export] Removed the "experimental" warning 2023-12-18 18:45:12 -03:00
Salvador E. Tropea 6c336371bd [Diff][Fixed] Problems with `current` mode
- didn't apply global variants
- didn't honor KiCad native DNP flags, they need a filter
2023-12-18 10:36:51 -03:00
Salvador E. Tropea 4745baccc4 [ERC][KiCad 7][Fixed] Problems when creating a report without ext
- Workaround for KiCad 7 explicitly creating a different file

Fixes #529
2023-12-14 08:06:31 -03:00
Salvador E. Tropea f343df8512 [Copy Files][Project][Added] Page layout
See #491
2023-12-06 09:21:20 -03:00
Salvador E. Tropea 163027bff7 [Copy Files][Fixed] Excluded locally_edited from the targets 2023-12-06 09:20:39 -03:00
Salvador E. Tropea b91c24b28e Operations that copies the project now also copies the DRU
See #491
2023-12-06 08:21:25 -03:00
Salvador E. Tropea d9f0324e39 [QR Lib][Fixed] Bottom QRs should be mirrored in the Y axis 2023-12-06 07:52:36 -03:00
Salvador E. Tropea c60d420719 [Copy Files][Project][Fixed] Problems with locally edited syms
See #491
2023-12-05 12:39:30 -03:00
Salvador E. Tropea 02a23345dc [Fixed] GS.copy_project return value when no project
Introduced in last patch
2023-12-05 08:58:10 -03:00
Salvador E. Tropea e1cdfcc712 [QR lib][Fixed] Project options not preserved
i.e. set_text_variables failing
2023-12-05 08:42:27 -03:00
Salvador E. Tropea 110053dca1 Operations that copies the project now also copies the PRL 2023-12-05 08:40:14 -03:00
Salvador E. Tropea a8c865b921 [Global options][Added] `restore_project` now also restores the PRL 2023-12-05 08:20:49 -03:00
Salvador E. Tropea 83e15f8209 [QR Lib][Fixed] Interference with plot outputs
When used from the preflight the name of the file changed to the name
of a temporal, generating problems with the plot outputs, like
pcb_print
2023-12-05 08:20:09 -03:00
Salvador E. Tropea 2f432abc38 [QR Lib] Better attributes
- Footprints: now they are flagged with exclude from BoM and Pos, also
  with no court yard requirements for KiCad 7
- Symbols: Excluded from simulation for KiCad 7
2023-12-05 08:20:01 -03:00
Salvador E. Tropea 20dd4f25d5 [DOCs][Added] drc_exclusions_workaround mention in DRC help
See #525
2023-12-04 07:34:09 -03:00
Salvador E. Tropea eb37077843 [Internal Templates][Added] _KIBOT_PLOT_FOOTPRINT_REFS/VALUES
For some reason JLCPCB has VALUES disabled, now the user can
choose it.

Closes #523
2023-11-30 06:36:20 -03:00
ac 3d16604f37 Base the `ori` path of a sheet off of the `ori` path of the parent sheet. 2023-11-25 21:09:36 +10:00
Salvador E. Tropea e686d9b6bb [Copy Files][Added] Mode to export the whole project
SCH, PCB, symbols, footprints, 3D models and project files

Closes #491
2023-11-24 09:09:17 -03:00
Salvador E. Tropea 46c1ff5dd1 [Copy Files][Fixed] Warnings when using the STEP and WRL files
The code tried to add their counterpart, that was already used,
generating a repetition
2023-11-23 10:50:33 -03:00
Salvador E. Tropea 2581c84d09 [Copy Files][Fixed] Missing KiConf initialization
Could make 3d_models copy fail to detect subdirs
2023-11-23 10:19:02 -03:00
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 623231be8d [Fixed] Missing implementation of include_components_from_pcb 2023-11-17 10:43:03 -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 8dbf37f479 [Globals][Added] include_components_from_pcb
To get the old behavior that ignores components that are only in the
PCB
2023-11-17 08:17:46 -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 a142a76585 [Fixed][KiCad 5] No footprint properties are available 2023-11-16 13:05:57 -03:00
Salvador E. Tropea cd447710ae [Templates][JLCPCB] Added DNF filter for the position
Used to exclude KiKit panel components

See #516
2023-11-16 12:35:17 -03:00
Salvador E. Tropea ff03417926 [Fixed] Missing data in components added from PCBs 2023-11-16 11:24:23 -03:00
Salvador E. Tropea b8db64e6e7 Cosmetic comment change
Environment variable in ``
2023-11-16 11:16:16 -03:00
Salvador E. Tropea a53f123939 [Variants and Filters] Include components from the PCB
When a component is in the PCB, but not in the schematic, it can be
now processed by the filters.
2023-11-16 09:01:10 -03:00
Salvador E. Tropea 91e6e14a88 [Position][Removed] exclude_strange_footprints option
- It doesn't allow granular control over what is excluded
- Another mechanism is needed
2023-11-16 08:49:58 -03:00
Salvador E. Tropea a2607450a1 [DOCs][Fixed] Typo in panelization output
From #517
2023-11-15 13:41:22 -03:00
Salvador E. Tropea 45c5d2c7eb [DOCs][Added] backticks to text replacement variables
This is based on the #517 PR, but applied to the source code
2023-11-15 13:39:54 -03:00
Salvador E. Tropea d06dbbdf78 Avoid warnings about KiKit auxiliary footprints
They will never be part of the schematic, even when they aren't marked
as excluded from the schematic
2023-11-15 12:51:40 -03:00
Salvador E. Tropea 37f8a7067c [Position][Added] Option to remove KiKit auxiliary footprints
- Enabled by default
- KiKit is failing to mark them properly

Solves #516
2023-11-15 12:47:33 -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 a398b7b0bc [Position][Fixed] Problems when using NET_NAME(n) for a value
Fixes #511
2023-11-08 10:13:32 -03:00