Exporting Blender’s 3D Curves

Matt writes:

Over the last few weeks at the studio I’ve been working in Blender alongside 3DS Max and I’ve needed to export 3D bézier curve (spline) data between the two apps.

So with no ready made options, I tried an idea – I read up on MaxScript and made a Python script for Blender that takes the curve data and and uses it to generate a MaxScript, that when run inside 3DS Max will generate the same curve using the MaxScript API. There are a few advantages to this, there’s a very fine level of control and you can easily export every feature that’s supported by both Blender and Max, without worrying if an intermediary format supports those specific features too. However there are drawbacks – it’s a pain to use since you have to open up and run a MaxScript each time, rather than just importing a file. I’d rather support an existing standard format, so it’s more widely useful for other people than just me.


It’s my first exporter and I didn’t use any fancy XML libraries, so it may be rough (although it gets the job done fine).

Also, please be aware that the script

needs a current CVS build. It’s using a new internal python function that ideasman just made recently.

He’s open to any suggestions on how to improve the script and I’m sure the community will come through with some helpful ideas.

Get more details at Matt’s website.
The script is available, here.

Advertisement