Salvador E. Tropea
e64b3864b4
Unified the "run_command" mechanism
...
- Now most code calls kiplot.run_command
2024-01-08 11:25:48 -03:00
Salvador E. Tropea
190dc0a389
Unified the exit point for errors running external commands
2024-01-05 12:52:46 -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
b8db64e6e7
Cosmetic comment change
...
Environment variable in ``
2023-11-16 11:16:16 -03:00
Salvador E. Tropea
67ae12bf1d
Made shlex.join use optional
...
Introduced in Python 3.8
2023-08-08 11:19:47 -03:00
Salvador E. Tropea
0fa7b92039
[Quick-Start] No longer use dedicated templates
...
- Now we use the internal templates
- This is because now they can be configured
2023-06-14 13:24:08 -03:00
Flaviu Tamas
60db7e2719
Fix type error
...
Uses duck-typing for the test instead of requiring the type be one of a few specific instances. This fixes the following error I get with kicad v7.0.4: `TypeError: float() argument must be a string or a real number, not 'VECTOR2I'`
2023-05-28 12:20:23 -04:00
Salvador E. Tropea
976e6af932
[KiCad 8] Adapated to the new class reported by footprint drawings
...
- Now that all drawings are PCB_SHAPE, the GetClass doesn't report
MGRAPHIC anymore.
2023-04-11 10:02:58 -03:00
Salvador E. Tropea
659e23ae32
[Report] Added warnings and counters for buried and micro vias
...
- Also added a mechanism to disable them for KiCad 7 which no longer
provides this option.
2023-02-23 08:40:40 -03:00
Salvador E. Tropea
aeeba4f006
[Report][KiCad 7] Blind/Micro vias doesn't seem to be available
2023-02-13 11:17:17 -03:00
Salvador E. Tropea
ebbfbb7b62
[KiCad 7] Solved UI_PER_MM and UI_PER_MILS changes
2023-02-09 08:47:21 -03:00
Salvador E. Tropea
8506fb78db
[Report][Fixed] Computed size
...
- When using circles and some arcs in the PCB edge
Closes #375
2023-01-25 11:05:01 -03:00
Salvador E. Tropea
47bdc26154
[Report][Added] Expansion for KiCad text variables and environment variables
2023-01-19 21:05:32 -03:00
Salvador E. Tropea
c4d9a26d20
[DOCs][Dependencies] Suggest to install texlive for Pandoc
...
- In #264 we see that texlive is needed in some cases.
- Looking at texlive-latex-base I see the fonts aren't installed.
2022-11-23 15:24:23 -03:00
Salvador E. Tropea
e42ab5e6be
[Report] Removed warning for drill tool missmatch
...
- When an NPTH hole with drill size == pad size is found and its
diameter isn't standard.
- We verified KiCad doesn't really generate a pad in this case.
See #326
2022-11-08 14:13:08 -03:00
Salvador E. Tropea
c2cd439bb6
[Report][Fixed] Problems for NPTH holes with some sizes
...
- When using NPTH holes with sizes that doesn't correspond to
real drill tools. It generated bogus reports about wrong OARs.
Close #326
2022-11-05 15:48:13 -03:00
Salvador E. Tropea
8ec4d481c0
[Package] Moved all resources to a central place
...
- All KiBot resources are now under kibot/resources
- PcbDraw resources are now in kibot/resources/pcbdraw
- All resources can be loaded relative to the script or from
/usr/share/kibot
- The Debian package installs the resources in /usr/share/kibot
- The Python manifest includes all resources
- PcbDraw is now detected as a Python package
2022-10-19 13:05:56 -03:00
Salvador E. Tropea
5d6362f620
[Install checker] Added preliminar help for Arch Linux packages
...
- Not yet tested
2022-09-24 20:06:08 -03:00
Salvador E. Tropea
42aa142a56
[Report] Added support for Eurocircuits drill adjust to fix small OARs.
...
Closes #227
2022-09-08 11:37:58 -03:00
Salvador E. Tropea
560ce80c7d
[Debug] Logged executed command in a cut & paste friendly way
...
Closes #269
2022-09-02 08:49:39 -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
b5fc7e8c55
[Report] Fixed converted file wasn't stored at `dir`
...
Closes #238
2022-07-25 11:40:24 -03:00
Henning Kleen
b4ed680d9c
fix OAR calculation for design report
2022-07-14 15:56:40 +02:00
Salvador E. Tropea
139ee82bdc
Documented the added features.
2022-07-11 12:41:23 -03:00
Henning Kleen
209248ae8d
also expand environment variables in design report template path
2022-07-11 15:22:43 +02:00
Salvador E. Tropea
0a8481dadf
Now the dependencies are YAML specs in docstrings
...
- They document the dependencies and constructs them
2022-07-05 12:43:49 -03:00
Salvador E. Tropea
54dd130e4f
Highlighted the most relevant options
2022-06-08 08:37:30 -03:00
Salvador E. Tropea
684b996ced
Added `navigate_results` output
...
- It generates web pages to navigate all generated outputs by category
2022-05-27 13:38:32 -03:00
Salvador E. Tropea
fb082fcbb3
Added `kibot-check` tool to check the installation
2022-05-20 13:26:41 -03:00
Salvador E. Tropea
ca861fc21e
Added dependency collection mechanism
...
- Currently used to better document the dependencies
2022-05-19 08:47:06 -03:00
Salvador E. Tropea
ae380726b2
Fixed problems in reports when no vias
2022-04-28 14:07:28 -03:00
Salvador E. Tropea
9b18c5300a
Fixed KiCad 5 uses ZONE_CONTAINERS and not ZONES
...
Note: The previous commit included fixes for out_report
- Zones unfilled after output generation
- Pads unconditionally gained rpinted copper layers
2022-04-26 10:21:14 -03:00
Salvador E. Tropea
56030c5dc9
Added the first stepof the new `--quick-start` option
...
- Should be a way to quickly start using KiBot without any config
2022-04-26 09:51:14 -03:00
Salvador E. Tropea
9bc172861d
Some details on `report` output
...
- New template `full_svg` to be used with the SVGs
- `pcb_print` SVGs now include the `sheet` value in the figure
description.
- Added _ASCII to filter >= Unicode in `simple` template.
2022-04-26 09:26:44 -03:00
Salvador E. Tropea
58dc329b31
Added a report option to indicate our Eurocircuits target
...
- If not met we show a warning explaining the violation
Related to #164
2022-04-21 15:59:46 -03:00
Salvador E. Tropea
9f037e569f
Added global option `drill_size_increment`
...
- Now we can round the drill sizes
- Added a context for drill tools (adjusted and rounded)
- Added a context for oval holes
Related to #164
2022-04-21 10:30:24 -03:00
Salvador E. Tropea
fee5bce881
Added warnings for ridiculous OAR values on pads
...
Related to #164
2022-04-20 20:38:14 -03:00
Salvador E. Tropea
372a387b00
Fixed the OAR computation in reports
...
- Must use the real drill size.
Related to #164
2022-04-20 20:06:29 -03:00
Salvador E. Tropea
0fce90b8d2
Fixed typo in out_report
2022-04-20 18:58:12 -03:00
Salvador E. Tropea
c17683317c
Fixed typos in out_report
...
Related to #164
2022-04-20 13:49:48 -03:00
Salvador E. Tropea
ff41012e84
Changes in how we compute the drill sizes in the report
...
- New global variable `extra_pth_drill` defines how much the drill will
be enlarged for plated holes.
- Removed all *_1* report values.
- Added *_real* report values. They are the asjusted drill values.
- Now we compute Eurocircuits Drill Class using all the real drill
sizes.
- Documented all global variables/options.
- Added command line option to list all global options.
- Adjusted the report templates and thei references.
Related to #164
2022-04-20 12:57:52 -03:00
Salvador E. Tropea
ea1460e6b9
Added black drill holes to the `pcb_print` output
...
- Disabled the frame ref for KiCad 5. Doesn't work.
- Changed reports to use these PDFs. They are vector graphics.
2022-04-08 19:33:21 -03:00
Salvador E. Tropea
afc499e055
Added support for Pandoc 2.2.1
...
- Used on Debian 10.x
- Doesn't support "--to pdf", but can generate PDFs ...
2022-03-17 14:42:51 -03:00
Salvador E. Tropea
6b6d22afa8
Added report conversion using pandoc
2022-03-17 12:13:51 -03:00
Salvador E. Tropea
17df40319c
When meassuring the PCB size now we also look in footprints
...
- They can contain PCB edges
Related to #164
2022-03-17 10:59:47 -03:00
Salvador E. Tropea
aeaabaf062
Added report contexts to expand individual layers
2022-03-03 14:27:06 -03:00
Salvador E. Tropea
562e36d6f5
Added output to print PCB layers in SVG format
...
- Also added support for them in the reports
- Changed the full report to use them
2022-03-03 13:13:46 -03:00
Salvador E. Tropea
49962cafb8
Added some basic layer and schematic inclusion in reports.
...
- Related to #93
2022-03-02 18:17:42 -03:00
Salvador E. Tropea
9082a7ec69
Fixed C413 Unnecessary list call around sorted().
2022-02-17 16:04:13 -03:00
Salvador E. Tropea
d629afcf92
Added support for the controlled impedance flag in KiCad 6
2022-01-18 16:06:17 -03:00