Skip to content

Instantly share code, notes, and snippets.

@JacquesLucke
JacquesLucke / auto_load.py
Last active November 18, 2024 05:50
Utility to (un)register all classes in a Blender addon.
import os
import bpy
import sys
import typing
import inspect
import pkgutil
import importlib
from pathlib import Path
__all__ = (
@jirihnidek
jirihnidek / example_mesh_changes.py
Created November 24, 2014 21:04
Blender Python API example: detection of changes in mesh object (edit mode)
import bpy
def cb_scene_update(context):
"""
"""
edit_obj = bpy.context.edit_object
if edit_obj is not None and edit_obj.is_updated_data is True:
print(edit_obj)
@gitaarik
gitaarik / git_submodules.md
Last active June 21, 2025 04:43
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.