1
$\begingroup$

I animated curve with hook modifiers. I created hook at each bezier point of a curve and keyframe animated location, rotation and scale of those hooks.

Now i need to export this animated curve out of blender.

Unfortunately i don't see a way how to do it.

I spend 2 weeks animating many many curves in given scene only to find out that i don't know how to export them. It never occurred to me it may be not trivial task to export resulting animation.

I attach scene with my animated curve in it. Please help me if know a way.

Here is the scene: https://drive.google.com/file/d/1r8lP5_ExmW1PKlGmXTx8g79-7mmjgcbl/view?usp=sharing

$\endgroup$
  • 1
    $\begingroup$ Where do you want to export the animation to? $\endgroup$ – sambler Dec 5 '17 at 10:04
  • $\begingroup$ It's trivial to export the curves, if all you need is a CSV file with numbers. When asking about exporting, it's vital to mention what format or application you want to export to. $\endgroup$ – dr. Sybren Mar 4 '18 at 21:43
1
$\begingroup$

Unfortunately this does not bode well for you. The problem seems three fold:

  1. As far as I know there are currently no addons or exporters that can export Bezier Curves out of Blender. Most exchange formats I know support mesh data only anyway, they don't even have a concept of Bezier Curve, so to the best of my knowledge, non of the provided exporter addons can even write Bezier Curve data directly without explicit conversion to mesh first.

  2. Exporting animations is hard, few file formats support animation data because it is hard to standardize, the exceptions I know here are Collada and FBX, and perhaps some other "cache based" formats like Alembic and similar.

  3. Even those file formats that do support animations are frequently very limited in the type of data that can be exported. Mostly rigging and armature methods are supported, and even those often encounter issues and incompatibilities. Deformation based animations, morphing, shape keys, modifiers, and/or generated data like simulations, physics, fluids, etc, including hooks, are most likely not part of the small subset of animation techniques that can be exported.

So what options do you have? Not many.

  1. Converting (a copy) of your animated bezier curve into a mesh and exporting that instead may alleviate some of the issues, but I can't see it going very far beyond conversion, you still need to export a deformation animation and that can be troublesome.

  2. Exporting as an SVG file There is one third party addon SVG Export Script that exports the viewport as an SVG file. There is this one particular setting called Bezier Overlay that allows exporting Bezier Curve objects as SVG paths directly. It is obviously limited to 2D curves (because SVG is an illustration image format) and it probably doesn't support deformation animations anyway. I believe it can export animations as a sequence of independent SVG files but nothing more.

  3. Exporting hook animation only Depending on where you are exporting to (which you never state), what you intend to do with said animation, and the capabilities of the destination software, you may be able to get away with exporting only the hook positions, and rebuild your curve elsewhere from that info.

$\endgroup$
  • $\begingroup$ In the end the solution we found was making a complex (for me atleast, our rigging guy come up with the idea) rig construction for each curve, rigging each curve, and exporting those new rigged curves as alembics. There is no simple solution as far as i concerned, so you are right. $\endgroup$ – Ivan Kartofanov Mar 15 '18 at 16:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.