LOGIK_PORTAL_v7.0.1
--:--:--  ·  SYS:OK  ·  CONN:ACTIVE  
$ cat logik_portal.py

LOGIK
PORTAL_

v7.0.1  ·  FLAME 2025.1+

Share Python Scripts, Batch Setups, Inference Nodes, and Logik Matchboxes from within Flame.

autodesk flame python matchboxes batch setups inference nodes

Logik Portal is a Python script for Autodesk Flame that acts as a hub for sharing python scripts, matchboxes, batch setups, and inference nodes. Once installed the Logik Portal will be accessible from Flame Main Menu → Logik → Logik Portal

Python scripts install to /opt/Autodesk/shared/python or a user-defined location. Matchboxes get installed into a LOGIK directory in a user-defined location.

Install from the terminal using the curl command below (downloads and installs Logik Portal to /opt/Autodesk/shared/python in one step), or download the zip and copy the logik_portal folder into: /opt/Autodesk/shared/python

Once installed, launch from: Flame Main Menu → Logik → Logik Portal

CURL INSTALL curl -s https://logik-portal.com/install.php?folder=logik_portal | bash
LOADING...
Flame Version2025.1+
PlatformRocky Linux  ·  MacOS
InternetRequired
LicenceGNU General Public License v3.0 (GPL-3.0)
v7.0.1
01.04.26
  • Fixed window sizing issue
v7.0.0
12.16.25
  • Updated to PyFlameLib v5.0.0
  • Removed PySide2 support
  • Matchboxes now pulled from GitHub instead of FTP server
  • Python scripts now pulled from GitHub instead of FTP server
  • Fixed issue with scripts not showing in locally installed list without a properly formatted header docstring
v6.5.1
10.20.25
  • Fixed issues with inference upload/download window
v6.5.0
03.16.25
  • Updated to PyFlameLib v4.3.0
v6.4.0
01.09.25
  • Added configurable Python script install path — defaults to /opt/Autodesk/shared/python
  • Fixed: matchbox loading wrong script when names were similar
v6.3.0
01.04.25
  • Updated to PyFlameLib v4.0.0
  • SCRIPT_PATH now uses absolute path — supports alternative install locations
  • Now requires Flame 2023.2+
v6.2.0
08.31.24
  • Added disclaimer when downloading inference nodes
  • Added notice for inference node submitters to include open-source model links
  • Fixed misc bugs
v6.1.0
08.16.24
  • Added search to Python scripts, batch setups, and inference nodes tabs
  • User warned to save work before self-updating the Portal from within Flame
v6.0.0
08.03.24
  • Added Inference Nodes tab
  • Updated to PyFlameLib v3.0.0
  • Removed Archive tab
  • Fixed matchbox and Autodesk scripts install issues
v5.9.0
03.05.24
  • Script list now shows min/max Flame version columns
  • Incompatible scripts greyed out and non-installable
v5.8.0 – v5.0
2022 – 2023
  • Sort by year, semantic versioning, UI/PySide updates, progress windows, search added to matchbox tab, portal opens to last-used tab
v4.x – v1.0
2020 – 2021
  • Full early history on GitHub

Stay up to date with the latest script updates. Subscribe to receive a digest when scripts are added or updated. Choose daily or weekly delivery — emails are only ever sent when there’s something new.

SUBSCRIBE
$ ls ./scripts/

SCRIPTS_

SCRIPTS  ·  AUTODESK FLAME

Python scripts for Autodesk Flame. Browse descriptions, menus, and update history. Click any script to view details.

autodesk flame python
// SCRIPTS
LOADING...
SELECT A SCRIPT


Share a Python script with the community. You can submit a single python script (.py) file or a folder containing your script and any supporting files. Read the submission guidelines before you submit.


// TYPE
Single File (.py)
Single File (.py)
Folder
Drag .py file here
or
BROWSE
SCRIPT
// script submitted successfully.
VALIDATION_ERRORS
$ import pyflame

PyFlame_

v5.3.0  ·  FLAME 2025.1+  ·  PYTHON 3.11  ·  PYSIDE6

A Python library for Autodesk Flame.

autodesk flame python library pyside6 qt widgets

PyFlame is a Python library containing a set of custom Qt widgets for Autodesk Flame — all styled to match Flame's native UI — along with layout helpers, window classes, a config system, and utility functions for script development.

The library file should be renamed per-script to pyflame_lib_<script_name>.py and placed in the script's lib/ folder, avoiding version conflicts when multiple scripts coexist in the Flame Python folder. It requires the Montserrat font family (included in assets/fonts/) to render correctly. These fonts are included in the PyFlame library.

Flame Version2025.1+
Python Version3.11
Qt BindingPySide6
PlatformRocky Linux  ·  MacOS
Version5.3.0  ·  Updated 03.13.26
LicenceGNU General Public License v3.0 (GPL-3.0)

All scripts using PyFlame must follow this layout. Rename the library file per-script to avoid conflicts when multiple scripts are installed simultaneously.

The script folder, script name, and library file name must all be the same.

Folder structure:

script_folder/
 ├── main_script.py
 ├── lib/
 │   └── pyflame_lib_<script_name>.py
 │   └── README.md              # optional
 │   └── CHANGELOG.md           # optional
 └── assets/
      └── fonts/
          └── Montserrat-Regular.ttf
          └── Montserrat-Light.ttf
          └── Montserrat-Thin.ttf


Example folder structure for script named "rename_shots":

rename_shots/
 ├── rename_shots.py
 ├── lib/
 │   └── pyflame_lib_rename_shots.py
 │   └── README.md              # optional
 │   └── CHANGELOG.md           # optional
 └── assets/
      └── fonts/
          └── Montserrat-Regular.ttf
          └── Montserrat-Light.ttf
          └── Montserrat-Thin.ttf

Import everything from the library into the script's namespace. Use PyFlameFunctions via the pyflame object and instantiate widgets directly by class name.

# Import everything from the library
from lib.pyflame_lib_my_script import *

# Use PyFlameFunctions via the pyflame object
pyflame.print("Script loaded")
flame_version = pyflame.get_flame_version()

# Instantiate widgets directly
window = PyFlameWindow(title='My Script', width=500, height=400)
button = PyFlamePushButton(text='Run', connect=my_function)
menu = PyFlameMenu(text='Options', menu_options=['A', 'B', 'C'])
window.show()
// WIDGET CLASSES
PyFlameButtonCustom Qt Flame button widget
PyFlameEntryCustom Qt Flame entry field — replaces PyFlameLineEdit
PyFlameEntryFileBrowserEntry field that opens Flame File Browser on click
PyFlameLabelCustom Qt Flame label widget
PyFlameListWidgetCustom Qt Flame list widget
PyFlamePushButtonCustom Qt Flame push button
PyFlameMenuCustom Qt Flame menu — replaces PyFlamePushButtonMenu
PyFlameColorMenuPush button with colour menu — replaces PyFlamePushButtonColorMenu
PyFlameTokenMenuCustom Qt Flame token menu — replaces PyFlameTokenPushButton
PyFlameSliderCustom Qt Flame numerical slider
PyFlameTableCustom Qt Flame table widget
PyFlameTabWidgetCustom Qt Flame tab widget
PyFlameTextEditCustom Qt Flame text edit widget
PyFlameTextBrowserCustom Qt Flame text browser widget
PyFlameTreeWidgetCustom Qt Flame tree widget
PyFlameButtonGroupGroups PyFlameButton types for mutually exclusive toggling
PyFlameProgressBarWidgetCustom Qt Flame progress bar widget
PyFlameHorizontalLineCustom Qt horizontal line divider widget
PyFlameVerticalLineCustom Qt vertical line divider widget
// LAYOUT CLASSES
PyFlameGridLayoutCustom Qt grid layout
PyFlameHBoxLayoutCustom Qt horizontal box layout
PyFlameVBoxLayoutCustom Qt vertical box layout
// WINDOW CLASSES
PyFlameWindowBase Flame Qt window — container for all script UIs
PyFlameMessageWindowFlame message dialog window
PyFlamePasswordWindowFlame password input window
PyFlameProgressWindowFlame progress indicator window
PyFlameInputDialogFlame Qt input dialog window
// UTILITY CLASSES
PyFlameConfigCreate, load, and save script config files

Click any widget to see its description, parameters, and a usage example.

// SELECT WIDGET
SELECT A WIDGET

All utility functions are accessed through the pyflame object after importing the library.

pyflame.printPrint message to terminal and Flame message area
pyflame.print_dictCleanly print nested dicts with indentation to terminal
pyflame.print_jsonCleanly print JSON data to terminal with proper indentation
pyflame.print_listPrint a list of items to terminal and Flame message area
pyflame.print_titlePrint script title to terminal
pyflame.get_flame_versionGet the current version of Flame
pyflame.file_browserOpen Flame file browser or Qt file browser window
pyflame.copy_to_clipboardCopy text to clipboard using Qt
pyflame.create_file_system_foldersCreate folders in the file system from a folder structure
pyflame.create_media_panel_foldersCreate folders in the Flame media panel
pyflame.create_media_panel_librariesCreate libraries with folders in the media panel
pyflame.resolve_tokensResolve strings containing Flame tokens
pyflame.resolve_shot_nameResolve shot name from string
pyflame.shot_name_from_clipGet shot name from a Flame clip object
pyflame.find_by_tagSearch Flame object's contained objects by tags
pyflame.set_shot_taggingTag Flame objects with shot name tag
pyflame.move_to_shot_folderMove a clip to a shot folder in the Media Panel
pyflame.get_export_preset_namesGet export preset names from Shared and Project paths
pyflame.get_export_preset_versionGet export preset version
pyflame.update_export_presetUpdate export preset version
pyflame.convert_export_preset_name_to_pathConvert export preset name to file path
pyflame.open_in_finderOpen a path in the system Finder
pyflame.refresh_hooksRefresh Flame Python hooks
pyflame.verify_script_installVerify script is installed correctly with required files
pyflame.python_package_local_installInstall Python packages bundled with a script
pyflame.generate_unique_node_namesGenerate unique node names from a list of existing names
pyflame.iterate_nameReturn a unique name by iterating through a name list
pyflame.create_temp_folderCreate a temporary folder in the script folder
pyflame.cleanup_temp_folderClear the contents of the temporary folder
pyflame.untarUntar a tar file
pyflame.get_flame_python_packages_pathGet path to the Flame Python packages folder
pyflame.raise_type_errorRaise a type error with traceback to Flame and terminal
pyflame.raise_value_errorRaise a value error with traceback to Flame and terminal
$ whoami

CONTACT_

Get in touch for questions, bug reports, script submissions, or general feedback about Logik Portal or PyFlame.

Have a question, bug report, feature request, or want to submit a script to the Logik Portal community? Use the form to get in touch.

For bug reports please include Script Name, Script Version, Flame version, OS, and a minimal reproducible example.