Commit Graph

39 Commits

Author SHA1 Message Date
Salvador E. Tropea 653b585c29 [Navigate Results][Workaround] Rotate PS icons
For some (unknown) reason ImageMagick convert is rotating PS files
generated by KiCad, even when they look OK in viewers.
So we get rotated icons that represent PS files. This was always
true for Navigate Results, but I thought it will be fixed.
This workaround compensates the rotation.
2024-02-02 07:28:54 -03:00
Salvador E. Tropea a1c0dd6c2b New internal category "any related"
- Navigate results and KiCanvas needs a PCB and/or schematic
- Are related to both, but one is enough
2024-01-30 09:42:46 -03:00
Salvador E. Tropea 742a8c155e [Navigate Results][Fixed] No need for a PCB 2024-01-30 08:14:53 -03:00
Salvador E. Tropea 4219980c95 [Navigate Results][Fixed] Icons provided by the output
- Weren't copied to the destination
2024-01-29 11:04:31 -03:00
Salvador E. Tropea f9e372f638 [KiRi][Fixed] Navigate results content
- Now we can filter what the user sees, not all targets
- Now we can show a custom icon

Fixes #570
2024-01-25 09:27:43 -03:00
Salvador E. Tropea 39e9d5c28c [Fixed] Line commented for tests 2024-01-05 08:34:32 -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 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
Salvador E. Tropea f486fb34b9 [Navigate_Results][Added] Option to skip outs with run_by_default: false 2023-06-14 07:01:43 -03:00
Salvador E. Tropea b0a2c7af88 [Navigate Results] Added blender icons
- Also moved pads information to an "Auxiliar" section
2023-01-20 14:19:25 -03:00
Salvador E. Tropea fafd5d2f6d New VRML output 2022-12-17 20:55:09 -03:00
Salvador E. Tropea eb4514f570 [Navigate Results] Added CSS and Folders 2022-12-05 21:24:30 -03:00
Salvador E. Tropea ae84edf1fc [Navigate Results] Added icon association for PCB/SCH files 2022-12-03 21:19:43 -03:00
Salvador E. Tropea 8c72fc23c9 [Navigate Results] Added support for compress output 2022-12-02 13:26:49 -03:00
Salvador E. Tropea bd9d2ec7b7 [Navigate results][Fixed] Exception when no outputs 2022-12-02 09:33:43 -03:00
Salvador E. Tropea 4dcc566395 [Navigate Results] Added STL and SCAD icons 2022-12-02 09:09:24 -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 560ce80c7d [Debug] Logged executed command in a cut & paste friendly way
Closes #269
2022-09-02 08:49:39 -03: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 65d4143ec1 Now we try to download some tools when missing
- Currently only a few targets are available
- Rar, ImageMagick, RSVG Tools and git have some support
2022-06-19 19:17:38 -03:00
Salvador E. Tropea 9db0615382 Fixed check for imageable 2022-06-14 14:30:55 -03:00
Salvador E. Tropea 6a8fe5010c Fixed warning messages in navigate_results 2022-06-14 13:11:29 -03:00
Salvador E. Tropea 5beabb129b Avoid generating a simple icon for a category when a tool is missing 2022-06-14 10:49:40 -03:00
Salvador E. Tropea fb6e2ff2de Fixed problems when generating navigate_results before outputs 2022-06-09 10:35:42 -03:00
Salvador E. Tropea c7a340f687 Added compress output to the navigate_results 2022-06-08 11:29:49 -03:00
Salvador E. Tropea 54dd130e4f Highlighted the most relevant options 2022-06-08 08:37:30 -03:00
Salvador E. Tropea 043ee382d3 Implemented output priorities
- By default `qr_lib` is high priority and `navigate_results`/
  `compress` are low priority.
- Priorities can be configured.
- A command line option disables it.
2022-06-07 13:57:32 -03:00
Salvador E. Tropea 156cd22fff Fixed the categories caption text 2022-06-06 13:16:49 -03:00
Salvador E. Tropea c8f4df5aa7 Added configurable categories
- Also allow to mix categories and outputs on the same page
2022-06-06 13:01:17 -03:00
Salvador E. Tropea 35247dfa72 navigate_results: Now categories can be represented by output previews 2022-06-01 13:36:59 -03:00
Salvador E. Tropea ae5dea0762 navigate_results: Added outputs preview instead of just icons 2022-06-01 12:56:37 -03:00
Salvador E. Tropea 1663412698 navigate_results: generate PNGs for icons
- Faster load
- Smaller size
- But takes more time to generate
2022-05-29 16:37:15 -03:00
Salvador E. Tropea 6611925c17 navigate_results: centered when only 1 result 2022-05-29 15:05:49 -03:00
Salvador E. Tropea 1b318f0da4 navigate_results: made generated HTML compliant
- Added some missing alt attributes
- Added DOCTYPE
- Added language
- Added title
- Made tables regular (all same amount of td)
2022-05-29 13:41:53 -03:00
Salvador E. Tropea 8c8f9a7a4b navigate_results: added the KiBot version used to generate the pages 2022-05-29 13:00:27 -03:00
Salvador E. Tropea 4008cf68b1 navigate_results: added icon to the pages 2022-05-29 12:51:55 -03:00
Salvador E. Tropea bf4ad7f3b9 navigate_results: moved the style to a separated file 2022-05-29 11:32:24 -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