Skip to content

shango/glbNinja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glbNinja

A simple Maya addon that lets you import GLB 3D files straight into your scene. No fuss, no command line, just drag and drop.

Install

  1. Download or clone this folder so you have install_glbNinja.py, glbNinja.py, and the lib/ folder all in the same place.
  2. Open Maya.
  3. Drag install_glbNinja.py into the Maya viewport.

That's it. You'll see a small glbN button appear on your shelf.

Usage

  1. Click the glbN shelf button. The glbNinja window will open.
  2. Drag your .glb files into the window, or click + Add Files to browse for them.
  3. Select a file from the list and hit Import to bring it into your scene.

There's a built-in 3D preview so you can check your model before importing, and a handful of settings if you need to tweak scale or axis orientation. Most of the time the defaults just work.

Features

3D Viewer

  • Real-time textured preview of your GLB before importing
  • Orbit, pan, and zoom with your mouse
  • One-click Front, Side, and Top views
  • Wireframe toggle
  • Fit-to-view button so you never lose your model

Importing

  • Drag and drop files straight into the window
  • Import one file, a few, or the whole list at once
  • Automatic GLB-to-OBJ conversion with full material and texture support
  • Node transforms and hierarchies are preserved so everything lands in the right place
  • Batch progress bar with per-file status

Settings

  • Scale factor to resize on import
  • Y-Up or Z-Up axis
  • UV flip toggle
  • Vertex welding with adjustable tolerance
  • Auto-center on world origin
  • Create a display layer per file to keep things organized
  • Custom namespace prefix
  • Option to keep the intermediate OBJ files if you need them

Presets

  • Save your favorite settings as named presets
  • Load or delete presets from the menu
  • Reset everything back to defaults any time

File Info

  • See vertex count, triangle count, mesh count, materials, and file size at a glance
  • Alternating row colors and tooltips with full file paths

Log

  • Timestamped log of everything that happens during import
  • Copy the whole log to your clipboard for troubleshooting

Other Niceties

  • Recent files menu so you can quickly re-import something
  • Right-click context menu on the file list (remove, open containing folder, clear all)
  • Dark themed UI that fits right in with Maya
  • Works with PySide6 and PySide2
  • Keyboard shortcuts: Ctrl+O to open, Ctrl+W to close

About

glbNinja is a free Maya addon that imports GLB files directly into your scene, no Blender round-trips, no online converters, no FBX middleman. Drag the installer into Maya once, and you're set.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors