Skip to content

Instantly share code, notes, and snippets.

View kuchipaku_light.py
bl_info = {
"name": "Kuchi Paku Light",
"author": "ds54e",
"version": (1, 1, 1),
"blender": (2, 80, 0),
"location": "View3D > Sidebar > KPL",
"description": "Generate Kuchi-Paku animations from the sound sequences in the VSE",
"warning": "",
"doc_url": "",
"category": "Animation",
@ZoomTen
ZoomTen / Node Tricks (Olive 0.2.x).md
Last active Jul 25, 2021
Sick Node Tricks - or, how to reproduce common effects using the node editor.
View Node Tricks (Olive 0.2.x).md

General Tips and Tricks

  • Think of clip nodes as containers!
    • You can plug in an arbitrary composite node and make them "instances" of said node

Common Node Configurations

Drop shadow (TinglesMagicWords)

A simple drop shadow effect, assuming you have a solid color and transparent clip such as text.

@Celeborn2BeAlive
Celeborn2BeAlive / build_otio_wheel.sh
Created May 20, 2020
Shell script to build a wheel of OpenTimelineIO 0.12.1
View build_otio_wheel.sh
#!/bin/bash
# This script generate a wheel for OpenTimelineIO in dist folder
# We need it has a patch to install otio 0.12.1 in Windows Blender because it requires compilation
# This wheel should be distributed with code that depends on otio 0.12.1 and installed using Blender's python -m pip
# You need python (3.7.*) and Visual Studio 2017+
CURRENT_DIR=`dirname $0`
ROOT_DIR=$CURRENT_DIR/
View otio_to_ffmpeg.py
import subprocess
import sys
import os
import json
import shutil
import requests
import opentimelineio as otio
@alchem0x2A
alchem0x2A / blender_snippet_2.8x_1.org
Created Sep 15, 2019
New python snippets Blender 2.8x
View blender_snippet_2.8x_1.org
@ethanaeris
ethanaeris / fastlandscape2_8.py
Last active Oct 3, 2021
Fast Landscape for Blender 2.8
View fastlandscape2_8.py
# -*- coding: utf-8 -*-
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@hedgehog90
hedgehog90 / get_anim_datas
Created Mar 31, 2019
a helpful function for finding most of the animation datas used in a context or scene
View get_anim_datas
def get_anim_datas(context=None):
if context is None: context = bpy.context
found = set()
materials = set()
textures = set()
def found_add(o):
if o is None: raise Exception()
found.add(o)
found_add(context.scene)
@ethanaeris
ethanaeris / Pie_workspaces.py
Last active Mar 26, 2021
Pie Workspaced Addon for Blender 2.8. A quick way to switch between workspaces
View Pie_workspaces.py
# -*- coding: utf-8 -*-
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@tamask
tamask / log.py
Created Aug 8, 2018
Route system output (stdout/stderr) of Blender to the app console (put in scripts/startup)
View log.py
import os
import sys
import bpy
output = None
input = None
info = None
error = None
write = None
@AzureDVBB
AzureDVBB / basic_ui_documented.py
Last active Oct 15, 2021
A commented template for making simple UI in blender using the bpy python API
View basic_ui_documented.py
#import the bpy module to access blender API
import bpy
#WARNING: this is written and tested for blender 2.79
#blender 2.8 and newer will likely have a different python API
#create a property group, this is REALLY needed so that operators
#AND the UI can access, display and expose it to the user to change
#in here we will have all properties(variables) that is neccessary
class CustomPropertyGroup(bpy.types.PropertyGroup):