This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.") |