Skip to content

Instantly share code, notes, and snippets.

View FreshlyBrewedCode's full-sized avatar

Karl Möller FreshlyBrewedCode

View GitHub Profile
FreshlyBrewedCode /
Created May 12, 2021 13:45
Blender Auto Rig Hierarchy Operator
import bpy
from mathutils import Vector, Matrix
#Create the armature
def create_armature(object, collection):
armature_data =
armature =, armature_data)
armature.matrix_basis = object.matrix_basis
return armature
"asset" : {
"generator" : "Khronos glTF Blender I/O v1.3.48",
"version" : "2.0"
"scene" : 0,
"scenes" : [
"name" : "Scene",
"nodes" : [
FreshlyBrewedCode / SceneOverlayWindow.cs
Last active January 6, 2021 22:13
Unity Editor utility class to hack a native overlay window into the scene view.
using System;
using System.Reflection;
using UnityEditor;
using UnityEngine;
public class SceneOverlayWindow
private object sceneOverlayWindow;
private MethodInfo showWindow;
public UnityEngine.Object target;
FreshlyBrewedCode / commandbar.json
Last active May 6, 2021 01:31
Dark theme for the VSCode Kanba extension ( Screenshot in comments. The commandbar.json can be used with the vscode-commandbar extension ( to add a shortcut for the Kanban board to the status bar.
"skipTerminateQuickPick": true,
"skipSwitchToOutput": false,
"skipErrorMessage": true,
"commands": [
"text": "$(project) Kanban",
"tooltip": "Open Kanban Board",
"color": "white",
"command": "extension.kanban.openBoard",