Skip to main content

Batch process blend files

Project description

Batch Blender export

Exports a folder full of Blender files to OBJ format. Defaults: selected object only, triangulate faces, export normals and UVs, Y-Up

Usage

batchExportObj.py [-h] --input INPUT --output OUTPUT
                         [--blender BLENDER] [--scale SCALE]

required arguments:
  --input INPUT, -i INPUT
                        path to a folder containing .blend files
  --output OUTPUT, -o OUTPUT
                        path to the folder to output converted files to.

optional arguments:
  -h, --help            show this help message and exit
  --blender BLENDER, -b BLENDER
                        path to the Blender command line tool. Defaults to /Ap
                        plications/Blender/blender.app/Contents/MacOS/blender
  --scale SCALE         amount to scale the geometry by

Example

./batchExportObj.py --input ../Blender/lopoly --output ../ARModeller/LoPoly --scale 0.02

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BlenderBatchExporter-0.4.tar.gz (2.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page