diff --git a/docs/images/icon_sources/file_blend.svg b/docs/images/icon_sources/file_blend.svg new file mode 100644 index 00000000..e40068d9 --- /dev/null +++ b/docs/images/icon_sources/file_blend.svg @@ -0,0 +1,141 @@ + + + + + + + + + + image/svg+xml + + svg_file + + + + + + + + + + + + + + + svg_file + + + + + + + + + + + blend + + diff --git a/docs/images/icon_sources/file_pcb3d.svg b/docs/images/icon_sources/file_pcb3d.svg new file mode 100644 index 00000000..ce7494ee --- /dev/null +++ b/docs/images/icon_sources/file_pcb3d.svg @@ -0,0 +1,141 @@ + + + + + + + + + + image/svg+xml + + svg_file + + + + + + + + + + + + + + + svg_file + + + + + + + + + + + pcb3d + + diff --git a/kibot/out_navigate_results.py b/kibot/out_navigate_results.py index e0e02806..c1b52d13 100644 --- a/kibot/out_navigate_results.py +++ b/kibot/out_navigate_results.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2022 Salvador E. Tropea -# Copyright (c) 2022 Instituto Nacional de Tecnología Industrial +# Copyright (c) 2022-2023 Salvador E. Tropea +# Copyright (c) 2022-2023 Instituto Nacional de Tecnología Industrial # License: GPL-3.0 # Project: KiBot (formerly KiPlot) # The Assembly image is a composition from Pixlok and oNline Web Fonts @@ -46,7 +46,8 @@ CAT_IMAGE = {'PCB': 'pcbnew', 'BoM': 'bom', '3D': '3d', 'gerber': 'gerber', - 'drill': 'load_drill'} + 'drill': 'load_drill', + 'Auxiliar': 'repair'} EXT_IMAGE = {'gbr': 'file_gbr', 'gtl': 'file_gbr', 'gtp': 'file_gbr', @@ -91,7 +92,9 @@ EXT_IMAGE = {'gbr': 'file_gbr', 'zip': 'file_zip', 'kicad_pcb': 'pcbnew', 'sch': 'eeschema', - 'kicad_sch': 'eeschema'} + 'kicad_sch': 'eeschema', + 'blend': 'file_blend', + 'pcb3d': 'file_pcb3d'} for i in range(31): n = str(i) EXT_IMAGE['gl'+n] = 'file_gbr' diff --git a/kibot/out_pcb2blender_tools.py b/kibot/out_pcb2blender_tools.py index d560fda2..c283f095 100644 --- a/kibot/out_pcb2blender_tools.py +++ b/kibot/out_pcb2blender_tools.py @@ -287,7 +287,7 @@ class PCB2Blender_Tools(BaseOutput): # noqa: F821 The tools in this output are used by internal templates used to generate PCB3D files. """ def __init__(self): super().__init__() - self._category = 'PCB/3D' + self._category = 'PCB/3D/Auxiliar' with document: self.options = PCB2Blender_ToolsOptions """ *[dict] Options for the `pcb2blender_tools` output """ diff --git a/kibot/resources/images/file_blend.svg b/kibot/resources/images/file_blend.svg new file mode 100644 index 00000000..b3c30146 --- /dev/null +++ b/kibot/resources/images/file_blend.svg @@ -0,0 +1,117 @@ + + + + + + + image/svg+xml + + svg_file + + + + + + + + + + + + + + + svg_file + + + + + + + + + + + + + + + + + + + diff --git a/kibot/resources/images/file_pcb3d.svg b/kibot/resources/images/file_pcb3d.svg new file mode 100644 index 00000000..92ee3dae --- /dev/null +++ b/kibot/resources/images/file_pcb3d.svg @@ -0,0 +1,117 @@ + + + + + + + image/svg+xml + + svg_file + + + + + + + + + + + + + + + svg_file + + + + + + + + + + + + + + + + + + + diff --git a/tests/yaml_samples/blender_export_1.kibot.yaml b/tests/yaml_samples/blender_export_1.kibot.yaml index 6c32cf4d..77188bc2 100644 --- a/tests/yaml_samples/blender_export_1.kibot.yaml +++ b/tests/yaml_samples/blender_export_1.kibot.yaml @@ -28,3 +28,8 @@ outputs: outputs: - type: blender - type: render + + - name: 'navigate' + comment: "Browse the results" + type: navigate_results + run_by_default: false