hannesdelbeke / unimenu

easy consistent menus across apps: unreal, blender, maya, krita, substance painter, Katana, marmoset, 3ds max, cry-engine, FreeCAD, Hero, Nuke, Qt,...
https://github.com/hannesdelbeke/unimenu/wiki/features-overview
Apache License 2.0
83 stars 8 forks source link

prettier marmoset #10

Closed hannesdelbeke closed 1 year ago

hannesdelbeke commented 1 year ago

setup

currently you need to create a plugin in the plugin folder. refresh, or restart marmoset then go to the menu and run your plugin. with commandline args this could be run on startup

image

improvement

when running the plugin, you see a window with the menu

image

the window can be more "menu-like" with smarter layouts

image

might even be better to replace the dropdown layout with a normal button. and spawn buttons underneath when clicked

sample plugin

setup the env run config setup (reload is usefull for dev purposes)

import sys
sys.path.append(r'C:\Users\hanne\OneDrive\Documents\repos\openmenu')
sys.path.append(r'path to my yaml module installation')  # yaml

cfg = r"C:\Users\hanne\OneDrive\Documents\repos\openmenu\samples\config.json"
import openmenu
import openmenu.core as c

import openmenu.marmoset as b
from importlib import reload
reload(b)
reload(c)
reload(openmenu)

openmenu.config_setup(cfg)
hannesdelbeke commented 1 year ago

closing since marmoset is a bit shit, and super low priority. feel free to reopen when needed again