[Bf-committers] Alembic Export Apply modifier

Sybren A. Stüvel sybren at stuvel.eu
Tue Nov 21 11:13:20 CET 2017

Hi Michael,

On 21/11/17 10:44, Michael DELAPORTE wrote:
> In the bpy.ops.alembic_export, there is an option to apply_subdiv but it would be great to have a use_mesh_modifiers like in the OBJ exporter.

What would that do that the exporter doesn't do at this moment?

The decision to apply subdiv or not is rather unique, in that Alembic
actually supports a schema that indicates "this mesh should be
subdivided". You can thus choose to export the non-subdivided mesh, and
have it re-subdivided upon import. This makes the Alembic file much
smaller, and allows for fast subdivision methods like OpenSubDiv. All
other modifiers (when enabled for rendering) are applied before writing
the mesh to the Alembic file.

> And is there a reason for the alembic export to be located in the bpy.ops.wm.alembic_export instead of bpy.ops.export_scene.abc like other exporters?

Historical; this was part of the patch given to use by DwarfLabs [1]. My
guess is that they mimicked the Collada exporter, which is
bpy.ops.wm.collada_export [2].

[1] https://developer.blender.org/D1783


Sybren A. Stüvel


More information about the Bf-committers mailing list