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 / 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))