Skip to content

Instantly share code, notes, and snippets.

View stoobit's full-sized avatar

Till Brügmann stoobit

View GitHub Profile
@stoobit
stoobit / müslimatrix.swift
Created March 29, 2026 12:26
Die Mischung machts (Abitur 2016)
import Foundation
class Müslimatrix {
var kanten: [[Int]]
var knoten: [Knoten]
init(zutaten: [String]) {
self.knoten = zutaten.map { Knoten(bezeichner: $0) }
let zeile: [Int] = Array(repeating: 0, count: zutaten.count)
@stoobit
stoobit / blender.py
Last active March 29, 2026 12:27
A python script that converts models generated by SAM-3D-Body to the USDZ file format using blender.
import bpy
import os
import math
import shutil
# --- CONFIGURATION ---
SOURCE_FOLDER = "/Users/name/.../models_original/"
EXPORT_FOLDER = "/Users/name/.../usdz/"
OBJECTS_TO_KEEP = ["HumanMesh"]