Commit Graph

76 Commits

Author SHA1 Message Date
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 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 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 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 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 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 31cf802b89 [KiCad 7] Added global option to use KiCad to cross components 2023-03-09 09:34:25 -03:00
Salvador E. Tropea 6801dfc7e2 [KiCad 7] Added some support for DNP flag
- Copied to internal `fitted`
- Can remove 3D models even when no filter/variant is applied
2023-03-08 13:13:37 -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 3ddca189f2 [Schematic][KiCad 7][Added] Support for do_not_autoplace and show_name
- New field (properties) options
2023-02-17 11:19:06 -03:00
Salvador E. Tropea 12dbd16983 [Schematic][KiCad 7][Added] Support for arc, circle, rectangle and text_box 2023-02-17 10:15:53 -03:00
Salvador E. Tropea b97c180d15 [Fixed] Symbol instances in sub-sheets 2023-02-10 10:15:33 -03:00
Salvador E. Tropea 0b748e1d9d [Added] Basic support reading and writing v7 schematics 2023-02-10 09:12:59 -03:00
Salvador E. Tropea ebabc0b37b [Windows] Fixed problems with os.rename
- Now using os.replace
- It removes the target if already there
2022-12-26 08:02:14 -03:00
Salvador E. Tropea 5e3404949d [Stack-up][Fixed] Problems when using more than one dielectric
Fixes #328
2022-11-10 18:09:00 -03:00
Salvador E. Tropea 72cae7c787 Changes to write v6 schematics more similar to prior versions 2022-10-11 13:09:49 -03:00
Salvador E. Tropea a337028007 [Internal BoM] Added some basic support for "Exclude from BoM" flag
Related to #316
2022-10-11 11:46:00 -03:00
Salvador E. Tropea d28ecfd8c4 [Schematic v6][Fixed] Autoplace fields could be lost in variants. 2022-10-11 10:06:00 -03:00
Salvador E. Tropea 193632ff65 [Fixed] Sch v6 sub-sheet issues
- When saving a sub-sheet that was edited as a standalone sheet
- In this case we have symbo instances, but they weren't
  processed, so we can't look for filter modifications.

Closes #307
2022-09-29 13:45:00 -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 6cf6b08450 [SCH Variant] Added option to change the title
- Similar to PCB Variant
2022-09-09 12:51:51 -03:00
Salvador E. Tropea fcdedad360 [SCH][KiCad 6][Fixed] Instance data partially applied
- The component instance information was applied to the component,
  but not to the "basic" fields.
2022-08-12 09:03:31 -03:00
Salvador E. Tropea 1b9c734401 [KiCad 6 SCH] Fixed problems with title block on variants
- The title block wasn't saved if the title wasn't defined.
- In the first versions of v6 it was stored empy, now skipped.
2022-07-21 12:58:46 -03:00
Salvador E. Tropea 42503a909a [SCH][Print] A global option to cross components without a body.
- Only for KiCad 6

Closes #219
2022-07-12 08:44:05 -03:00
Salvador E. Tropea 68c96385d3 [KiCad 6][Variants] Fixed problems crossing alternative drawings
- Units with DeMorgan alternative drawing got only one crossed

Related to #219
2022-07-12 07:39:15 -03:00
Salvador E. Tropea 3d520c9830 KiCad v6 SCH: Fixed the gr_curve support
- Is wrongly documented
- Not used by the available symbols
- Not implemented in the GUI
- You can manually use it
2022-06-10 09:31:44 -03:00
Salvador E. Tropea 7ac654523d Added support for KiCad 6 pin alternates
- Another undocumented feature

Fixes #193
2022-04-21 15:09:33 -03:00
Salvador E. Tropea 9207140c6d Added support for undocumented "convert" schematic option
- KiCad 6
- Used for DeMorgan convert
Fixes #188
2022-04-17 09:50:43 -03:00
Salvador E. Tropea 4b341a7a92 Added internal plot of the worksheet to pcb_print
- Also renamed some options to make it simpler (sorry)
2022-04-16 15:09:19 -03:00
Salvador E. Tropea 73b4196e46 Fixed problems with imported sub-sheets
- We must avoid processing the sheet and symbol instances of them
Fixes #178
2022-04-07 13:23:25 -03:00
Salvador E. Tropea 637a6917c0 Fixed KiCad 6 problems with empty title block items
- The saved SCH wasn't usable if company, rev, title, etc.
  were absent in the original file.
2022-03-26 12:33:08 -03:00
Salvador E. Tropea 45e670c11f More early text var expansions
Fixes #163
2022-03-15 20:26:18 -03:00