O'Reilly logo

Blender 2.49 Scripting by Michel J. Anders

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dazzle your boss—bar charts in Blender style

To prove that Blender is adaptable to many tasks besides the interactive creation of 3D graphics, we will show you how to import external data (a spreadsheet in CSV format) and automate the task of creating and rendering the 3D representation of a bar chart.

Dazzle your boss—bar charts in Blender style

The idea is to run Blender with arguments directing it to run a script that reads a .csv file, renders an image, and saves that image when finished. For this to be possible we need a way to call Blender with the correct parameters. We get to that script shortly, but first let's see how to pass parameters to Blender to make it run a Python script: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required