diff --git a/Fange_Pipeline/__init__.py b/Fange_Pipeline/__init__.py index 373392d..f7e1338 100644 --- a/Fange_Pipeline/__init__.py +++ b/Fange_Pipeline/__init__.py @@ -1,10 +1,16 @@ import bpy -from .ui.export import GRAOU_PT_panel -from .operators.outline import ConfigBlendScene +# UI and Interface +from .ui.asset import GRAOU_PT_asset +from .ui.export import GRAOU_PT_export +from .ui.icon import GRAOU_PT_thumbnail +from .ui.setup import GRAOU_PT_setup +# All operators from .operators.exports import ExportForFange +from .operators.outline import ConfigBlendScene from .operators.misc import MakeBasicCollision from .operators.lighting import ConfigLighting +# Preferences and properties from .preference import GRAOU_AddonPreference from .properties.main import FangeProperties @@ -24,7 +30,7 @@ modules_class = [ # Main operators property ExportForFange, MakeBasicCollision, ConfigBlendScene, ConfigLighting, # UI - GRAOU_PT_panel, + GRAOU_PT_asset, GRAOU_PT_export, GRAOU_PT_thumbnail, GRAOU_PT_setup, # Preference GRAOU_AddonPreference, FangeProperties ] diff --git a/Fange_Pipeline/ui/asset.py b/Fange_Pipeline/ui/asset.py new file mode 100644 index 0000000..b09910f --- /dev/null +++ b/Fange_Pipeline/ui/asset.py @@ -0,0 +1,14 @@ +import bpy + + +class GRAOU_PT_asset(bpy.types.Panel): + bl_idname = 'GRAOU_PT_asset' + bl_space_type = 'VIEW_3D' + bl_region_type = 'UI' + bl_label = 'Generate Assets' + bl_category = 'Graou Studio' + + def draw(self, context): + layout = self.layout + + layout.label(text='Asset:') diff --git a/Fange_Pipeline/ui/export.py b/Fange_Pipeline/ui/export.py index 382a88e..1a3021f 100644 --- a/Fange_Pipeline/ui/export.py +++ b/Fange_Pipeline/ui/export.py @@ -15,11 +15,11 @@ import bpy # pcoll.load(name.upper(), entry.path, "IMAGE") -class GRAOU_PT_panel(bpy.types.Panel): +class GRAOU_PT_export(bpy.types.Panel): bl_idname = 'GRAOU_PT_MAIN' bl_space_type = 'VIEW_3D' bl_region_type = 'UI' - bl_label = 'Pipeline' + bl_label = 'Export' bl_category = 'Graou Studio' def draw(self, context): diff --git a/Fange_Pipeline/ui/icon.py b/Fange_Pipeline/ui/icon.py new file mode 100644 index 0000000..c1fba31 --- /dev/null +++ b/Fange_Pipeline/ui/icon.py @@ -0,0 +1,14 @@ +import bpy + + +class GRAOU_PT_thumbnail(bpy.types.Panel): + bl_idname = 'GRAOU_PT_thumbnail' + bl_space_type = 'VIEW_3D' + bl_region_type = 'UI' + bl_label = 'Thumbnail' + bl_category = 'Graou Studio' + + def draw(self, context): + layout = self.layout + + layout.label(text='Thumbnail:') diff --git a/Fange_Pipeline/ui/setup.py b/Fange_Pipeline/ui/setup.py new file mode 100644 index 0000000..fa2d895 --- /dev/null +++ b/Fange_Pipeline/ui/setup.py @@ -0,0 +1,14 @@ +import bpy + + +class GRAOU_PT_setup(bpy.types.Panel): + bl_idname = 'GRAOU_PT_setup' + bl_space_type = 'VIEW_3D' + bl_region_type = 'UI' + bl_label = 'Setup Pipeline' + bl_category = 'Graou Studio' + + def draw(self, context): + layout = self.layout + + layout.label(text='Main Config:')