Skip to content

Instantly share code, notes, and snippets.

View Wuppdich's full-sized avatar
💭
i am new

Stella Wuppdich

💭
i am new
  • Germany
  • 08:44 (UTC +02:00)
View GitHub Profile
@Wuppdich
Wuppdich / 1-dataview-list-headings.js
Last active January 21, 2026 23:09
Obsidian dataview (dataviewjs): query headings
// returns a DataArray of DataArrays with all headings in each file
dv.pages().map(page => this.app.metadataCache.getCache(page.file.path).headings)
@Wuppdich
Wuppdich / Quixel Megascans Asset Pack Importer.py
Created October 30, 2024 23:04
Quixel megascans asset pack importer for blender
# QUIXEL MEGASCAN ASSET PACK IMPORTER
# run this script in blender
#
# 1. opens a filebrowser and asks for a folder. then searches the given directory and recursively all subdirectories for files.
# 2. for each folder with files:
# 1. attempts to import .fbx. if there is none, adds plane primitive as mesh.
# 2. if applicable, cleans up .fbx import, removing empties, applying transforms etc.
# 3. uses NodeWrangler texture import for Principled BSDF Node
# 4. adds object to its own collection and excludes it from the scene (otherwise your computer might stall rendering dozens of high-rez meshes)
# NOTE: NodeWrangler and FBX Import Plugin must be enabled