> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
>
--
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan
1) Sending cmds to Maya directly from Eclipse? There was a plugin on
Creative Crash from Ron Bublitz to do this, but it didn't seem to work
for me (due I think to my too-new Eclipse version.) Is there another
way?
2) How thorough is the autocompletion supposed to be? I get cmd names
but no arglists showing up. Does it just do cmd names or should I be
getting arglists?
Thanks!
On 7/9/11, Sebastian Schoellhammer <sschoellha...@gmail.com> wrote:
> I'm using Wing at home and we have Eclipse / Pydev at work
>
On 10 July 2011 13:55, Emre Yilmaz <eyi...@pobox.com> wrote:
> 1) Sending cmds to Maya directly from Eclipse? There was a plugin on
> Creative Crash from Ron Bublitz to do this, but it didn't seem to work
> for me (due I think to my too-new Eclipse version.) Is there another
> way?
Same here - i tried to get it working, no dice. I think you're right
about it not being compatible with new Eclipse versions.
> 2) How thorough is the autocompletion supposed to be? I get cmd names
> but no arglists showing up. Does it just do cmd names or should I be
> getting arglists?
Not very thorough. It only has stubs for the names, but no arguments
(if you're using the pymel ones).
cheers,
chrisg
import socket
port = 2224
sendST = 'import maya.cmds as mc;mc.polySphere()'
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect(('127.0.0.1', port))
sock.settimeout(5)
sock.send(sendST)
import maya.cmds as mc
if mc.commandPort('localhost:2224', q = True) == 0:
mc.commandPort(name = 'localhost:7555', stp = 'python')
http://3desque.wordpress.com/2011/03/20/tomaya/
works for me
john
张宇 wrote:
> my eclipse works well. I'm using the Version: 3.7.0. I just know a
> little about how to send the commands to your maya, it's sample, here
> is the code
>
> import socket
> port = 2224
> sendST = 'import maya.cmds as mc;mc.polySphere()'
> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> sock.connect(('127.0.0.1', port))
> sock.settimeout(5)
> sock.send(sendST)
>
> and you also should to open the socket for python in your maya.
>
> import maya.cmds as mc
> if mc.commandPort('localhost:2224', q = True) == 0:
> mc.commandPort(name = 'localhost:7555', stp = 'python')
>
> Base on this code, you can send the command to your maya, you can have
> a try!
>
> 2011/7/10 Emre Yilmaz <eyi...@pobox.com <mailto:eyi...@pobox.com>>
>
> Since we're on the topic, I just started using Eclipse with Maya and
> ran into two confusions.
>
> 1) Sending cmds to Maya directly from Eclipse? There was a plugin on
> Creative Crash from Ron Bublitz to do this, but it didn't seem to work
> for me (due I think to my too-new Eclipse version.) Is there another
> way?
>
> 2) How thorough is the autocompletion supposed to be? I get cmd names
> but no arglists showing up. Does it just do cmd names or should I be
> getting arglists?
>
> Thanks!
>
> On 7/9/11, Sebastian Schoellhammer <sschoellha...@gmail.com
> <mailto:sschoellha...@gmail.com>> wrote:
> > I'm using Wing at home and we have Eclipse / Pydev at work
> >
> > --
> > 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
>
>
>
>
> --
> thatboy.me <http://thatboy.me>
> www.any-maker.com <http://www.any-maker.com>
On 7/9/11, Sebastian Schoellhammer <sschoellhammer.lists@gmail.com
<mailto:sschoellhammer.lists@gmail.com>> wrote:thatboy.me <http://thatboy.me>
> I'm using Wing at home and we have Eclipse / Pydev at work
>
> --
> 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
--
www.any-maker.com <http://www.any-maker.com>
--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
john
张宇 wrote:
> I want to add a question that which tool do you use to manage your
> codes?The best it can works both on mac and windows
>
> 2011/7/10 johnvdz <john.va...@gmail.com
> <mailto:john.va...@gmail.com>>
>
> here is a toMaya script for Eclipse...
>
>
> http://3desque.wordpress.com/2011/03/20/tomaya/
>
>
> works for me
>
> john
>
>
> 张宇 wrote:
>
> my eclipse works well. I'm using the Version: 3.7.0. I just
> know a little about how to send the commands to your maya,
> it's sample, here is the code
>
> import socket
> port = 2224
> sendST = 'import maya.cmds as mc;mc.polySphere()'
> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> sock.connect(('127.0.0.1', port))
> sock.settimeout(5)
> sock.send(sendST)
>
> and you also should to open the socket for python in your maya.
>
> import maya.cmds as mc
> if mc.commandPort('localhost:2224', q = True) == 0:
> mc.commandPort(name = 'localhost:7555', stp = 'python')
>
> Base on this code, you can send the command to your maya, you
> can have a try!
>
> 2011/7/10 Emre Yilmaz <eyi...@pobox.com
> <mailto:eyi...@pobox.com> <mailto:eyi...@pobox.com
> <mailto:eyi...@pobox.com>>>
>
>
> Since we're on the topic, I just started using Eclipse with
> Maya and
> ran into two confusions.
>
> 1) Sending cmds to Maya directly from Eclipse? There was a
> plugin on
> Creative Crash from Ron Bublitz to do this, but it didn't
> seem to work
> for me (due I think to my too-new Eclipse version.) Is
> there another
> way?
>
> 2) How thorough is the autocompletion supposed to be? I get
> cmd names
> but no arglists showing up. Does it just do cmd names or
> should I be
> getting arglists?
>
> Thanks!
>
> On 7/9/11, Sebastian Schoellhammer
> <sschoellha...@gmail.com
> <mailto:sschoellha...@gmail.com>
> <mailto:sschoellha...@gmail.com
> <mailto:sschoellha...@gmail.com>>> wrote:
> > I'm using Wing at home and we have Eclipse / Pydev at work
> >
> > --
> > 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
>
>
>
>
> --
> thatboy.me <http://thatboy.me> <http://thatboy.me>
> www.any-maker.com <http://www.any-maker.com>
> <http://www.any-maker.com>
>
> --
> 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
>
>
>
>
> --
> http://thatboy.me <http://thatboy.me>
I was expecting a tivail install for eclipse and pydev--but it turned
into a production as the
you tuve vids were pretty inaccurate. a bad omen
paul
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
its very well suited for python and they have mel add-on
yury
Wing + mercurial in general
Nano or gedit for trival touch ups
E. Ozgur Yilmaz
Lead Technical Director
Imaj Animation & VFX Studios
eoyilmaz.blogspot.com
Sent from my Galaxy S 2
I actually only use the Maya Script Editor for python API work. I never thought I`d say it, but it`s good enough for me since Maya 2011 : )
Best
Vas
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>
--
Sent from my mobile device
Vasilis papadiamantopoulos
Licenced Architect (TEE-TCG)
PhD Scholar in Architecture | AUTh GR
M Arch | UPenn USA
Dipl Arch Eng | AUTH GR
site: 33b Karavangeli St. | city: Kastoria | code: 52100 | country: Greece
tel/fax: +30.246.702.4171 | cell: +30.697.462.0005
e-mail: v...@varchs.com| web: www.varchs.com | skype: vp_varchs
please consider the environment before printing this e-mail
I've never felt a need to have the telnet commands to maya functionality working. I tried it once with low commitment and the script didnt work anymore and I didnt care enough to look onto it.
Whether I use eclipse+pydev, or coda, or whatever, I usually just have a small snippet in the maya script editor like this:
import myNewTool; reload(myNewTool); myNewTool.Run()
# or whatever launches my script
and I just select and hit return.
I used to have completion set up in eclipse, but that was only important to me when I was learning the api. Now, I just have the python commands reference page up and I look at it.
Though, using eclipse for autocompletion is really nice when you are developing pyqt apps for maya, since qt has way more classes and tons of constants and whatnot. So it is faster than drilling down through their api doc.
As with Jan, I also use Visual Studio with the PTVS integration. Generally I find it much cleaner and organised than eclipse.
I can't believe no one has mentioned Sublime Text 2 yet. It will blow your mind. :]
-Xav on his Gingerbread
Sublime is 'ok'. This same discussion just happened on the golang mailing list. Everyone thinks every editor is the best. Some people are hardcore vim. Some use fancier IDEs like eclipse.I personally felt sublime was lacking. But everyone has an opinion. This thread will go on forever.