Re: [Maya-Python] socket communication in python with functions

2017-11-05 Thread T Obulesu
ction from many other python files (located in different paths) by creating an object. Here, This will not throw the error, "Port is already in use" since only one object is created and shared by other files, On Tuesday, 24 O ctober 2017 16:54:31 UTC+5:30, Justin Israel wrote: > > &g

Re: [Maya-Python] socket communication in python with functions

2017-10-24 Thread T Obulesu
On Tuesday, 24 October 2017 00:59:01 UTC+5:30, Justin Israel wrote: > > > > On Tue, Oct 24, 2017, 1:32 AM T Obulesu <obul...@gmail.com > > wrote: > >> >> This is how my code looks like: >> import socket >> import select >> >> class Cha

Re: [Maya-Python] socket communication in python with functions

2017-10-23 Thread T Obulesu
les located in different path. On Saturday, 21 October 2017 16:33:27 UTC+5:30, Justin Israel wrote: > > > > On Sat, Oct 21, 2017, 11:06 PM T Obulesu <obul...@gmail.com > > wrote: > >> Hi All, >> >> I'm new to python3 and scratching my head to write a prog

[Maya-Python] socket communication in python with functions

2017-10-21 Thread T Obulesu
Hi All, I'm new to python3 and scratching my head to write a program for this logic: classA.py Class A: # class for socket communication basic init method that initializes port, address, connection method send(message): # for sending any message through the

Re: [Maya-Python] Want to write a python code for sending and receiving frames over wifi/wlan0 using python

2017-10-12 Thread T Obulesu
using Ethernet cable. If this is the case, I wnat to change the port to the eth0 and send the packets On Thursday, 12 October 2017 15:43:14 UTC+5:30, Justin Israel wrote: > > > > On Thu, Oct 12, 2017, 9:10 PM T Obulesu <obul...@gmail.com > > wrote: > >> I want to

[Maya-Python] Want to write a python code for sending and receiving frames over wifi/wlan0 using python

2017-10-12 Thread T Obulesu
I want to send some frames defined by me{Example, [0x45,0x43,0x32]} to the raspberry pi from any machine(Desktop/Laptop/other raspberry pi). But I want to send those frames over wifi or use wlan0 using python3.4 Any suggestions? -- You received this message because you are subscribed to the

[Maya-Python] How Can I edit and update my .config (for my python application) file using WebSockets exactly like how we edit and update router .config file?

2017-07-18 Thread T Obulesu
I have my python application running on Raspberry Pi and it needs to be configured every time. Hence I want to access this .config file over online and configure it exactly like how we can configure our router, but I want to use only web sockets -- You received this message because you are

Re: [Maya-Python] Re: MPxData Within A Deformer Node

2012-05-02 Thread T. D. Smith
for efficiency- I don't know the details of what you're doing, but I think it's possible you might have bigger problems than that with efficiency. Sorry for the length of this message. I hope some of it at least is useful to you. Best T -- view archives: http://groups.google.com/group

[Maya-Python] Re: rotateManips

2012-04-27 Thread T. D. Smith
this to object-space mode, but I think the re-initialization might be a little hairy. Anyway, incomplete as this is, I hope it helps someone at some point ;). Best T -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group

[Maya-Python] Re: rotateManips

2012-04-26 Thread T. D. Smith
, and callbacks, maybe, to try to sort of replicate a custom manipulator. Makes me a bit uneasy, but it seems like the only reasonable thing for us to do at this point, short of just abandoning this idea. Thanks again for the confirmation. Best T -- view archives: http://groups.google.com/group

[Maya-Python] rotateManips

2012-04-25 Thread T. D. Smith
on the subject. Thanks T -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

[Maya-Python] Re: Which editor do you use?

2011-10-29 Thread T. D. Smith
On Oct 27, 10:35 pm, ArrantSquid arrantsq...@gmail.com wrote: Ha! I haven't heard that in a LONG time. Gonna tag our only emacs user with that in the morning. :) I've not tried emacs, but I've heard that it's fairly powerful. Vim does the job for me (almost literally sometimes with all the

[Maya-Python] Re: Which editor do you use?

2011-10-26 Thread T. D. Smith
Emacs, since it's my favorite OS. Too bad it doesn't have a decent text editor ;). One of these days I am going to have to learn to use the vi emulation for emacs, but... old habits die hard, and the Emacs key-bindings (well, my Emacs key-bindings) are burned into my fingers at this point. --

[Maya-Python] Re: What's faster, API(2) or native Python?

2011-10-20 Thread T. D. Smith
are expression nodes so slow? I'm pretty sure that using the GPU can't solve that, for instance. Best T -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

[Maya-Python] Re: python modules

2011-04-17 Thread T. D. Smith
On Apr 17, 4:27 pm, Jawabiscuit tradigi...@gmail.com wrote: This is interesting stuff!  Anyone have modules besides pickle they want to share about? Well, I would also recommend taking a look at a very Maya specific module called MRV. It is an extraordinary piece of work, that seems to have

[Maya-Python] Re: python modules

2011-04-17 Thread T. D. Smith
On Apr 15, 2:55 am, Chad Dombrova chad...@gmail.com wrote: this is getting a bit off topic, but if you're into ctypes, you should check out cython. it's a python-like language that allows you to write hybrid python and c code.  it can be used for about any conceivable purpose where

[Maya-Python] Re: Adding up child rotations

2011-03-21 Thread t
if the classic way will get you what you are looking for.     t nojun...@gmail.com hat am 21. März 2011 um 03:04 geschrieben: OK! Due to further research, it seems that matching rotations of different rotation orders is a mathmatical imposibility; http://en.wikipedia.org/wiki/Rotation_

[Maya-Python] Re: Adding up child rotations

2011-03-20 Thread t
OK! Due to further research, it seems that matching rotations of different rotation orders is a mathmatical imposibility; http://en.wikipedia.org/wiki/Rotation_(mathematics) So, the question now is; What would be the scripted plugin code to do 'relative' additive rotations on one transform from

[Maya-Python] Adding up child rotations

2011-03-19 Thread t
I'd like to add up all the child rotations of a hierarchy (with different rotation orders) and output them to the euler rotations of one node with a scripted python plugin. It would be similar to decomposing a world matrix, however it would take account of rotations over 180 degrees and different