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 [2] https://docs.blender.org/api/current/bpy.ops.wm.html#bpy.ops.wm.collada_export Cheers, -- Sybren A. Stüvel https://stuvelfoto.nl/ https://stuvel.eu/ _______________________________________________ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers