Skip to content

Instantly share code, notes, and snippets.

View CakeLancelot's full-sized avatar

CakeLancelot

View GitHub Profile
import bpy
from bpy_extras.io_utils import ExportHelper
from bpy.types import Operator
from bpy.props import StringProperty
class SaveAsOperator(Operator, ExportHelper):
"""Open a file browser to specify a file to save"""
bl_idname = "wm.save_as_file"
bl_label = "Export FBX (sep. animations)"
filename_ext = ".fbx"
from flask import Flask, request
app = Flask(__name__)
import sqlite3
import sys
header = "SUCCESS"
# Opens database in read-only mode
# Checking same thread disabled for now, which is fine since we never modify anything