Skip to content

Instantly share code, notes, and snippets.

View sschoellhammer's full-sized avatar

Sebastian Schoellhammer sschoellhammer

View GitHub Profile
import hou
import viewerstate.utils as su
class State(object):
MSG = "LMB to add points to the construction plane."
def __init__(self, state_name, scene_viewer):
self.state_name = state_name
self.scene_viewer = scene_viewer
import threading
import time
class ThreadedLoader(threading.Thread):
def __init__(self):
self.__is_loading = False
threading.Thread.__init__(self)
@persistent
import bpy
import bmesh
class ModalIslandSelectionOperator(bpy.types.Operator):
bl_idname = "wm.modal_island_selection_operator"
bl_label = "Modal Island Operator"
def execute(self, context):