Blender Import/export Script
I should create a python script for Blender that imports obj and exports obj removing all texture sections. I never used blender, is there a good tutorial for scratch the surface a
Solution 1:
The blender python api website includes several tutorials to learn using python in blender. You can find details of the obj importer and exporter options. The obj import/export is handled by a python addon that is included with blender.
You could start with something as simple as -
import bpy,osfor f inos.listdir('/path/to/use'):
bpy.ops.import_scene.obj(filepath=f)
bpy.ops.export_scene.obj(filepath=f,use_materials=False)
If you need more help, blender has it's own SE site that is better for blender specific scripting.
Post a Comment for "Blender Import/export Script"