Skip to content

Instantly share code, notes, and snippets.

@NikkosAM
NikkosAM / Export_MeshwithShapeKeys.py
Created August 4, 2025 15:55
Export Mesh with ShapesKeys - Blender 4.5
import bpy
# ——— CONFIGURE THIS ———
export_path = r"Y:\My Drive\Libraries\Escena Drive\STUDIO\Atrapados\3D\OBJ\Characters\Alex\Eyes\blendshape_export.fbx"
# ————————————————————
# 1) Get and validate the active object
obj = bpy.context.active_object
if not obj or obj.type != 'MESH':
raise RuntimeError("Please select an active mesh object before exporting.")