Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am adamk2003 on github.
  • I am adamski2003 (https://keybase.io/adamski2003) on keybase.
  • I have a public key ASD53w7Ak8RY4s-jnK44p7uaDS9928ePtpanvaOeZExmkgo

To claim this, I am signing this object:

import os
import shutil
import bpy
basedir = 'E:\! TOTK' # base dir, other dirs are relative to this
dirs = ['modelsAndTextures'] # input dirs
fbxdir = 'FBX' # output dir
faileddir = 'FBX-failed' # FBX files should get moved here if an error happens after the file was created (unlikely)
blenddir = 'Blend' # the script will create a .blend file and drop it here in case it fails to export the fbx file