The short answer is: yes, it could be, but you wouldn't want to (unless
it's purely as an educational sort of exercise, or a prototype, etc).

The reason is that deformers are one of those things that you really want
to be fast.  They can operate on meshes with a huge number of verts, and
you can have a lot of deformers all chained together... and python is, by
it's nature, orders of magnitude slower than C++.

However - if you're undeterred, and what you're looking for is just how to
write a deformer in python in general, you can check out the yTwistNode,
which is implemented in c++ AND python.  This can help you learn how to
"translate" from c++ to python, as most of the documentation, examples, etc
you will find will be in c++.

On Fri, Sep 19, 2014 at 12:50 PM, <[email protected]> wrote:

> Hey there,
>
> i was wondering if the shrink wrap deformer in maya can be scripted in
> python.
>
> ive been looking everywhere online and i cant find anything about it.
>
> could anyone help me pleeasee,
>
>
> thanks,
> Sam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/16bdcc7d-e934-4951-bc1a-94050172bbe6%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAAssL7YtE7ju%2BGndxfpzKayfP98BKXYAm-Ayh1LKPiCAdAzx3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to