Salvador E. Tropea
3707db83a9
[KiCad 7] Allow using KICAD6_ and KICAD7_
2023-02-24 14:01:12 -03:00
Salvador E. Tropea
e92da81882
[KiCad 7] Added KICAD7_* variables expansion
2023-02-09 09:29:06 -03:00
Salvador E. Tropea
7d597b3629
[KiCad 7] Added support for the version in sym-lib-table
2023-02-09 09:23:33 -03:00
Salvador E. Tropea
e2fdf87d6b
[Copy_Files] Now you can copy the 3D models
...
- Also save a PCB modified to use them
- Changed the syntax so we can copy other stuff
2022-09-20 13:13:12 -03:00
Salvador E. Tropea
d01943ed87
Added support for 3D models aliases
...
- Also a global option to define them in the KiBot configuration
Related to #261
2022-09-14 09:38:47 -03:00
Salvador E. Tropea
418b74b2f3
Environment and text variables now can be used as 3D model aliases.
...
- Environment and text variables expansion is now recursive.
So in `${VAR}` the *VAR* can contain `${OTHER_VAR}`
Related to #261
2022-09-14 07:30:13 -03:00
Salvador E. Tropea
2f37a5c6b4
[3D models] Various small details about missing models
...
- Fail to expand a VAR is reported once. Not for every model.
- Warnings no longer printed if the model is missing but we can
download it. It confuses people when the problem is solved.
- When we fail to expand a VAR and the result is "${VAR}..."
we tried to make it an absolute path creating a path that was
confusing. Now we keep the original name.
2022-09-07 14:15:31 -03:00
Salvador E. Tropea
6c7e0cebe0
Now GS.ki5() and GS.ki6() are just GS.ki5 and GS.ki6
...
- The version doesn't change during execution ;-)
2022-07-31 17:45:55 -03:00
Salvador E. Tropea
f31c62fbab
More KiCad environment vars adjusts
...
- KiCad 5 values promoted to KiCad 6 versions when using KiCad 6
2022-06-17 11:33:52 -03:00
Salvador E. Tropea
a750bb302c
Fixed problems expanding multiple KiCad variables in the same value.
2022-06-07 10:36:31 -03:00
Salvador E. Tropea
24d81f4756
Allow using KiCad 5 legacy env names even on KiCad 6
...
Related to #205
2022-06-01 09:14:23 -03:00
Salvador E. Tropea
d93d70541c
Better KiCad v6 environment variables handling
...
- more variables detected (KICAD6_3RDPARTY, KICAD_USER_TEMPLATE_DIR)
- native KiCad 6 names (KICAD6_* instead of KICAD_*)
- all exported to the environment, not just the core
Fixes #205
2022-05-30 13:00:23 -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
09cfa14896
Fixed problems when the project specified an empty wks (KiCad 5)
2022-04-11 14:50:17 -03:00
Salvador E. Tropea
235031b12c
Fixed missing increment in KiCad 5 wks copy
2022-04-04 18:35:14 -03:00
Salvador E. Tropea
9e1f645c31
Fixed problems when using page layout files with relative paths.
...
Fixes #174
2022-04-04 18:02:31 -03:00
Salvador E. Tropea
dad1f91439
Added: text vars expansion for 3D model paths
...
Closes #172
2022-03-31 14:58:39 -03:00
Salvador E. Tropea
15b2075c96
Fixed B011 Do not call assert False
2022-02-17 16:37:01 -03:00
Salvador E. Tropea
256876a1bd
Added support for the magic KICAD6_*_DIR environment variables
...
Related to #135
2022-01-10 20:50:53 -03:00
Salvador E. Tropea
8a4064a544
Added KiCad 6 native symbols default dir
2022-01-07 17:49:33 -03:00
Salvador E. Tropea
93ee8c3acb
Updated mcpyrate to 3.5.4 (last available)
2022-01-06 12:10:06 -03:00
Raphael Lehmann
7bdc1f511e
v6 config: Catch environment.vars==None case
2022-01-04 17:50:10 +01: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
babf622eca
Added support for KiCad v6 config in JSON format.
2021-12-27 14:11:37 -03:00
Salvador E. Tropea
a7bde6d01f
Added comment about the KISYS3DMOD patch
2021-10-14 13:29:55 -03:00
Salvador E. Tropea
79c4f75e7d
Added fallback for missing KiCad 3D models config.
...
Fixes #91
2021-10-14 13:22:01 -03:00
Salvador E. Tropea
af29f802c0
Switched from configfile.readfp to configfile.read_file for Python 3
2021-02-01 11:14:57 -03:00
Salvador E. Tropea
7422e9726c
Removed some "no cover" comments, clasified the rest
2021-02-01 08:53:24 -03:00
Salvador E. Tropea
3e06f43ee2
Best KiCad config path detection.
...
- Added GetSettingsManager() call (new)
- Added message about KiCad 5 bug (6989)
- Added comment about KICAD_CONFIG_HOME bug.
2021-01-11 12:51:46 -03:00
Salvador E. Tropea
45ac28a6bf
Added support for KICAD_CONFIG_HOME defined from inside KiCad
2021-01-08 12:47:15 -03:00
Salvador E. Tropea
b3e2d67871
Now we use KiCad to detect where is its configuration.
...
No more KiCad copycat code.
2021-01-06 13:49:24 -03:00
Salvador E. Tropea
c626f864f9
The step output now can download missing 3D models.
2020-12-30 15:22:00 -03:00
Salvador E. Tropea
c8e81a4668
Added numbers to all the warnings
2020-10-09 18:33:51 -03:00
SET
89914443f0
Renamed the kiplot module as kibot.
...
Also added src/kibot script.
Updated the documentation and Debian packaging.
The default extension for config files now is .kibot.yaml
2020-08-16 22:04:03 -03:00