Skip to content

Instantly share code, notes, and snippets.

View ecmjohnson's full-sized avatar

Erik ecmjohnson

View GitHub Profile
@ecmjohnson
ecmjohnson / dae_obj.py
Last active May 20, 2021 10:17 — forked from PierrickKoch/dae_obj.py
Batch convert Collada to Wavefront (.dae to .obj) using Blender
"""
Batch convert Collada to Wavefront (.dae to .obj) using Blender
usage: blender -b -P dae_obj.py -- ./in_dir/ ./out_dir/
"""
import sys
import os
import bpy # Blender Python API
def clear():
""" Clears the scene """