Skip to content

hannesdelbeke/buttonizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buttonizer

A tool to launch py commands from configs.

  • Right click on the buttons to edit & delete the commands.
  • Left click a button to run the python command store inside
import buttonizer.main
widget = buttonizer.main.show()

Load YAML into buttons. Can be reused for any command

- name: 1 + 1
  category: Math
  command: "print(1+1)"

- name: 2 x 5
  category: Math
  command: "print(2*5)"

Sample use case

  • load blender file
  • import a FBX
  • export from substance to a folder

requires

Python modules:

  • Pyside2
  • PyYaml

env var

BUTTONIZER_CONFIG_DIRS path(s) to config folder(s), spliit by ;

setup

  • install the required packages in your python environment
  • check if the ui loads, run python code: import buttonizer
  • if this works, set up your own configs
    • either modify the included config.yaml (easiest to start, but limited)
    • or set BUTTONIZER_CONFIG_DIRS env var the path of your config folder. e.g. point it to a folder on dropbox or version control

similar projects

About

qt widget to launch py commands from configs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages