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

BlenderBatchExporter-0.4-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page