Skip to content

Instantly share code, notes, and snippets.

@bitinn
bitinn / bitinn.py
Last active January 29, 2026 09:53
Blender keymap for busy Maya / Unity / Substance Designer users
# version: 1.0.1
# latest source: https://gist.github.com/bitinn/22f6fefe026d8d9e83468864edb8f835
import bpy
import os
def kmi_props_setattr(kmi_props, attr, value):
try:
setattr(kmi_props, attr, value)
@Airyzz
Airyzz / sphere_packing.py
Created September 5, 2020 06:42
Blender Sphere Packing Generator
import bpy
from mathutils import *
import random
rad = 5
numSpheres = 5000
resolution = 0.1
spheres = list()
def dist(point1, point2):
@chez14
chez14 / proton.sh
Created November 1, 2020 10:50
Proton script to run non-Steam Apps on Linux. Supposedly you have to install Steam first (requires Steam account). Then put this to `/usr/bin/proton.sh` and add required file permissions.
#!/bin/bash
# Credits: https://pastebin.com/NJxfe8Ex
PROTON_VERSION="5.0"
PROTON_DIR=$HOME/.steam/steam/steamapps/common/Proton\ $PROTON_VERSION
RUNNING="$1"
if [ ! -f "$PROTON_DIR/proton" ] ; then
echo "Proton version $PROTON_VERSION not found!";