This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from weakref import WeakValueDictionary | |
import gc | |
objs = WeakValueDictionary() | |
class Registered: | |
def __init__(self): | |
objs[id(self)] = self | |
def __del__(self): | |
del objs[id(self)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Depends on psd-tools pygltflib | |
from psd_tools import PSDImage | |
import pygltflib | |
from pygltflib import GLTF2 | |
import sys | |
import os | |
import numpy as np | |
OlderNewer