[Bf-python] BMesh python api proposal.

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Feb 22 20:18:23 CET 2012


Hi,

It's a bit inconvenient to do this, but it's still just two lines of
code to create and delete the datablock. What are you expecting the
function obj.get_visible_derived_mesh(scene) to do different? Be more
efficient, have some extra functionality?

I don't expect derived mesh stuff will change here.

Brecht.

On Wed, Feb 22, 2012 at 6:54 PM, Dima Glibitsky <dima.glib at gmail.com> wrote:
> A related question: would it be possible to have a "shortcut" access
> to the derived mesh used for rendering? Currently the only way is to
> call obj.to_mesh(scene, apply_modifiers=True, settings='PREVIEW'),
> which creates a new datablock.
>
> It would be useful to have something like this:
> obj.get_visible_derived_mesh(scene) -- returns the Derived Mesh object
> (without creating new ID block)
>
> ...By the way, will derived meshes be considered another kind of ID
> blocks, or will they get status similar to Vector/Matrix objects?
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python



More information about the Bf-python mailing list