Hi Seb i believe your looking for the M3dView API command and also look at Ray casting using one of the Intersect commands to get the Start position in 3d Space eg MfnMesh.intersect(). you can get direction from the M3dview. then you have to look at the whole tool Context thing..but mel Paint tools context is probably a lot easier. i guess though using the standard Movie tool and SoftSelection or "b" is really what your trying to achive but it be nice to have just in the paint tools.

john

Chad Vernon wrote:
Yes it is possible, I created one. I used a Qt event filter installed on the viewport in order to get a mouse move callback so I could draw the brush whenever the mouse moves. Then you need to keep track of mouse deltas and such and calculate the proper vertex offsets in screen space projected into world space.

On Sat, Jun 11, 2011 at 3:57 PM, Sebastian Schoellhammer <[email protected] <mailto:[email protected]>> wrote:

    Hello,

    it always bugged me that there is no move brush in the Sculpt
    Geometry tool.

    Looking into it though, making a custom one doesn't look too
    trivial though. :/
    Is it even possible? It would be hard to get the direction of the
    move I suppose..

    Has anybody tried?

    Seb
-- view archives: http://groups.google.com/group/python_inside_maya
    change your subscription settings:
    http://groups.google.com/group/python_inside_maya/subscribe


--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to