Commit Graph

228 Commits

Author SHA1 Message Date
Salvador E. Tropea 1c24cbdb3b [Schematic][KiCad 8] Save BMP data as strings
KiCad 8 can load "symbols", but it makes things more regular
2024-03-07 10:59:17 -03:00
Salvador E. Tropea 643638dbca [Schematic][KiCad 8][Fixed] The hide attribute was stored as string
Also unified the code to make it simpler
2024-03-07 09:10:09 -03:00
Salvador E. Tropea e0bc3ab774 [Schematic][KiCad 8][Added] More support for the new format
- UUIDs can also be symbols (not all migrated to strings)
- Bitmap data are now strings
- Text boxes can also be marked as not for simulation
2024-03-07 08:38:02 -03:00
Salvador E. Tropea ff6f67ae2c [Schematic][KiCad 8][Added] Support for bold/italic as yes/no
Should fix the bold/italic issue in #587
2024-03-06 13:42:42 -03:00
Salvador E. Tropea e19629406f [Schematic][Kicad 8] Some support to load v20231120 2024-02-17 15:57:29 -03:00
Salvador E. Tropea 82532ffab0 [Schematic v6][Fixed] Targets
- We always collected the v5 targets
- Detect flat hierarchy
2024-01-30 08:19:04 -03:00
Salvador E. Tropea e47124ea51 [Schematic v6][Fixed] Issues saving deep nested sheets
- When using sub-dirs relative to a sheet in a sub-dir
2024-01-26 13:43:49 -03:00
Salvador E. Tropea 9c074e0bb9 [Schematic v6] Create sub-dirs when saving subsheets
- Even KiCad fails to do it
2024-01-26 13:00:38 -03:00
Salvador E. Tropea 6f7d425ee1 [flake8] Fixed reported issues 2024-01-05 09:33:42 -03:00
Salvador E. Tropea d7392d59ec [Fixed] Spell errors 2024-01-05 09:09:58 -03:00
Salvador E. Tropea 7ec3a1379c Unified some errors details
- Non-critical errors will stop when using -W
- More stack traces on error
- More centralized exit
2024-01-04 13:58:13 -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 f343df8512 [Copy Files][Project][Added] Page layout
See #491
2023-12-06 09:21: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 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
Salvador E. Tropea 76f168fb45 [SCH][Added] Save of unit_name attribute 2023-11-06 13:27:29 -03:00
ac 54c8c4d3ee Unit name handler added for v6_sch module. 2023-11-06 13:14:25 -03:00
Salvador E. Tropea 49973b49cb [Flake8] Small changes suggested by flake8 5.0.4 2023-08-11 13:33:54 -03:00
Salvador E. Tropea 73097d7963 Dropped Python 2.x support in included libs
There is no point in having it and complicates the compatibility
detection.
2023-08-08 12:27:06 -03:00
Salvador E. Tropea 055e832670 [BoM][Added] Support for ${field} expansion
Closes #471
2023-07-31 11:15:37 -03:00
Salvador E. Tropea 7ff35563e6 [Fixed] Rotated text in worksheet for KiCad 7
Fixes #466
2023-07-21 19:43:21 -03:00
Salvador E. Tropea 6f8586e8cb [Worksheet] Fixed rotated polygons 2023-07-21 09:35:02 -03:00
Salvador E. Tropea 997a5945b8 [V6 Schematic][Fixed] Force / on sheet paths for Windows
- Related to #452
2023-06-21 11:15:04 -03:00
Salvador E. Tropea 16a265f633 [Schematic v6][Fixed] bitmap scale and lib_name not saved
Fixes #451
2023-06-15 08:15:02 -03:00
Salvador E. Tropea bfc7acc647 [Fixed] KiCad user template directory autodetection for KiCad 7+ 2023-06-01 13:00:54 -03:00
Salvador E. Tropea a02999d50a [Diff][Schematic][Fixed] Project not copied to variant
- Any info related to the project wasn't applied.

Fixes #438
2023-05-16 13:28:51 -03:00
Salvador E. Tropea 61a8fe7885 [Filters][Added] `value_split`
- To extract information from the Value field and put it in separated
  fields. I.e. tolerance, voltage, etc.
2023-05-03 14:09:35 -03:00
Salvador E. Tropea 4e72af9761 [Added] OS environment expansion in ${VAR} 2023-04-28 13:46:58 -03:00
Salvador E. Tropea e4ba2d7d8a [v6/7 Schematic] Better error message when missing UUID 2023-04-28 11:00:51 -03:00
Salvador E. Tropea a05be2240e [v6/7 Schematic] Hierarchy expanded only if needed 2023-04-28 10:45:38 -03:00
Salvador E. Tropea 90f088863a [v6/v7 Schematic] Better error when we hit an UUID issue 2023-04-28 09:24:26 -03:00
Salvador E. Tropea 4992937cf5 [v6/v7 Schematic] Better handling of sub-sheet instances
- When a sub-sheet is the root of another hierarchy.
- We no longer discard the instances, unless expanding the hierarchy
- Also another step to separate the cross and hierarchy expansion
2023-04-28 09:22:15 -03:00
Salvador E. Tropea 42445e8294 [v6/v7 Schematic] Fixed error introduced in the crossed lib 2023-04-27 17:10:21 -03:00
Salvador E. Tropea 0f5d5c5381 [v6/7 Schematic] Separated the cross and hierarchy expansion
- At least logically
- They still tied, but can be separated
2023-04-27 16:39:32 -03:00
Salvador E. Tropea f6c358b829 [v6/7 Schematic] Added support for bogus "project"
- One of those things KiCad saves but does nothing.
2023-04-27 16:27:20 -03:00
Salvador E. Tropea f05b8bcf88 [v6/v7 Schematic] More debug info 2023-04-27 16:23:27 -03:00
Salvador E. Tropea fcf4871e38 [v6/v7 Schematic] Reworked the UUID mechanism
- Now we generate valid UUIDs for all things
- KiCad 6 support
- Better tests, forcing to reload the generated files
2023-04-27 15:06:29 -03:00
Salvador E. Tropea 6b9ab5f448 [v6/v7 Schematic] Allow loading files without UUIDs
- This is currently working only for v7, needs rework for v6
2023-04-26 08:41:13 -03:00
Salvador E. Tropea b2db4f33d0 [v6/7 Schematic][Fixed] Error in saved version
- Mixing save/load v6/v7 produced hybrids
2023-04-26 08:39:52 -03:00
Salvador E. Tropea 5a8c54fe44 [v6/7 Schematics][Fixed] Repeated UUIDs saved in variants
- Mostly oriented to v7
2023-04-25 11:17:43 -03:00
Salvador E. Tropea 0bed962565 [v6/7 Schematic][Fixed] Net Class Flags not saved 2023-04-25 11:12:56 -03:00
Salvador E. Tropea 17b861260b [v6/7 Schematic][Fixed] Text boxes mixed with common text
- Not really important because they got correctly saved anyways
2023-04-25 11:09:19 -03:00
Salvador E. Tropea d3f9a15739 [Added] Export KICADn_* environment variables for the older versions
- So you can use KICAD6_* variables on KiCad 7.
2023-04-21 11:30:48 -03:00
Salvador E. Tropea f8cc0e29bb Removed debug code 2023-04-18 11:25:12 -03:00
Salvador E. Tropea 3b0a26c7ab [Added] Support for netclass flags
Closes #418
2023-04-14 13:28:28 -03:00
Salvador E. Tropea e76a3b4e25 [Schematic files] Support for `exclude_from_sim` in texts 2023-04-13 11:22:24 -03:00
Salvador E. Tropea 4050936875 [KiCad Config] Give priority to KICAD_PATH 2023-04-13 11:21:35 -03:00
Salvador E. Tropea 58417e428d Merge branch 'dev' of https://github.com/INTI-CMNB/KiBot into dev 2023-04-04 13:50:58 -03:00