Skip to content

Instantly share code, notes, and snippets.

View Gus-The-Forklift-Driver's full-sized avatar
💭
VROOM VROOM

Benoit Hubert Gus-The-Forklift-Driver

💭
VROOM VROOM
View GitHub Profile
@Gus-The-Forklift-Driver
Gus-The-Forklift-Driver / viz_toggle_outliner.py
Created September 16, 2024 12:56
A quick and dirty Blender addon to toggle visibility / render visibility of objects selected in the ouliner. Tested with Blender 4.2.1 LTS
import bpy
bl_info = {
"name": "viz toggle outliner",
"author": "SmonkingSheep",
"description": "",
"blender": (4, 2, 0),
"version": (0, 0, 2),
"location": "",
"warning": "",
@Gus-The-Forklift-Driver
Gus-The-Forklift-Driver / blender_import_script.py
Created March 13, 2023 17:06
Export houdini packed geo to blender
import math
import bpy
from mathutils import *
D = bpy.data
C = bpy.context
print('=====START====')
with open('./locations.csv', 'r') as file:
@Gus-The-Forklift-Driver
Gus-The-Forklift-Driver / crawler.py
Last active February 25, 2023 13:00
craw within folder to load all files matching the regex
import os
import re
import bpy
root = './'
def use_regex(input_text):
pattern = re.compile(r".+_LOD5\.fbx", re.IGNORECASE)
return bool(pattern.match(input_text))