Wacom tablet in Softimage

2013-07-11 Thread Xavier Lapointe
Hey guys,

does someone know where we could find the content of the article Luc-Eric
wrote a while ago?


   - Problems using Wacom tablets with Softimage? See Workaround for
   Problem with Wacom Tablets and
Softimagehttp://www.softimageblog.com/archives/546
   .

This link is dead unfortunately, and we have some issues at the moment with
Wacom on Linux with heavy scenes.

Any info of how to resolve freezes or lags would be really appreciated.

Thank you!

-- 
Xavier


Re: Wacom tablet in Softimage

2013-07-11 Thread Xavier Lapointe
Hm ... okay then. Thanks Luc-Eric


Re: Wacom tablet in Softimage

2013-07-11 Thread Xavier Lapointe
Oh don't get me wrong, it works perfectly most of the time. Just that we
have some memory intensive scenes atm and for some reasons it get stuck.
They get can unstuck by using the mouse, but still pretty annoying. I think
their next test will be disabling the pressure sensitivity and see if that
helps.

Cheers


Re: Soft 2014 in Linux is always-on-top?

2013-07-09 Thread Xavier Lapointe
I had that issue once in a while but wasn't consistent between working
sessions. Another one I had was the inability to resize the XSI window.
Reopening XSI would fix that though.
That thing disappeared with the new qfe.

Maybe just make sure of the usual thing.. 'always on top' isn't checked,
tried resetting your prefs or trash the mainwin folder if you haven't done
that already?


Re: Soft 2014 in Linux is always-on-top?

2013-07-09 Thread Xavier Lapointe
As far as I remember Alan is surrounded by animators. In order to
understand and control foreign species you have to behave like one!


Re: Soft 2014 in Linux is always-on-top?

2013-07-09 Thread Xavier Lapointe
Oh crap ...


Graphic Sequencer GetViewportSize issue

2013-07-08 Thread Xavier Lapointe
Hey guys,

I was wondering if anybody had issues with getting the right ViewPort size
when dealing with a custom layout in XSI?

We found that it would return the size of one of the 4 viewports even
though it would be maximized or resized. 1  or 2 workaround was to either
switch the layout and come back to the custom one, or go in Layout Edit
mode and exit. It might have triggered a refresh of some sort. The custom
layouts are nothing fancy.

Anyhow, a suitable workaround turn out to be using OpenGL itself (thanks
Christian):

Area viewportArea;
GLint viewport[4];
glGetIntegerv(GL_VIEWPORT, viewport);

viewportArea.offsetX = CValue(viewport[0]);
viewportArea.offsetY = CValue(viewport[1]);
viewportArea.sizeX = CValue(viewport[2]);
viewportArea.sizeY = CValue(viewport[3]);

.. but still wondering if it's a known issue or should send a repro case.

Cheers
-- 
Xavier


Re: LEGO - the Movie Trailer

2013-06-18 Thread Xavier Lapointe
:D


Re: unloading a plugin, recompiling and reloading it in softimage.

2013-06-03 Thread Xavier Lapointe
http://www.christophercrouzet.com/resources_CC_runOnce.php


Re: Slow Reading / Writing Envelope.Weights.Array

2013-05-31 Thread Xavier Lapointe
Or our lovely RunSnakeRun (cProfile like Bartosz mentioned):

http://www.vrplumber.com/programming/runsnakerun/


Re: Looking for Autodesk high-res logos

2013-05-29 Thread Xavier Lapointe
Have you tried drag n dropping a smaller version of the logos in
images.google.com? It'll search for similar images in all format .. maybe
you can get lucky (no pun intended) and find a higher res by tweaking the
search options.

Cheers


Re: PyQtForSoftimage: Input Method Hints working okay for QLineEdits?

2013-05-22 Thread Xavier Lapointe
Or you could use the QDoubleValidator?
http://pyqt.sourceforge.net/Docs/PyQt4/qdoublevalidator.html


Re: PyQtForSoftimage with PySide support

2013-05-18 Thread Xavier Lapointe
For windows binaries, this website is quite awesome:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyside

Haven't tried their installer though for Pyside, so no idea if it includes
Shiboken or not.


Re: WWD the 3D movie

2013-05-02 Thread Xavier Lapointe
One of your best client! :D


Re: WWD the 3D movie

2013-05-02 Thread Xavier Lapointe
Fair enough q:


Re: Saving Delta Objects as EMDL ?

2013-04-19 Thread Xavier Lapointe
Filter acquired.
Applying filter.
*Wooosh*


Re: Saving Delta Objects as EMDL ?

2013-04-18 Thread Xavier Lapointe
http://thedailywtf.com/


Re: [Pool] Any interest for a grease pencil tool?

2013-04-15 Thread Xavier Lapointe
http://www.indiegogo.com/ ?


On Tue, Apr 16, 2013 at 11:12 AM, Ahmidou Lyazidi ahmidou@gmail.comwrote:

 That's a good idea! Kickstarter is for US or UK resident only, what would
 be the best worldwide alternative?

 ---
 Ahmidou Lyazidi
 Director | TD | CG artist
 http://vimeo.com/ahmidou/videos


 2013/4/16 Raffaele Fragapane raffsxsil...@googlemail.com

 kickstart it for 10 bucks a pop for late delivery, 20 for early beta, and
 200 for a studio seat and you might pre-pay it, and gauge actual interest
 over lip service :)


 On Tue, Apr 16, 2013 at 5:08 AM, Prodeep Ghosh prodeepgh...@gmail.comwrote:

 Congratulations Ahmidou, pull out that golden egg quick, its pre-sold!:)



 On Mon, Apr 15, 2013 at 10:24 PM, Enrique Caballero 
 enriquecaball...@gmail.com wrote:

 seriously, please make it. im sick of hearing them complain about it.


 On Tue, Apr 16, 2013 at 12:52 AM, Enrique Caballero 
 enriquecaball...@gmail.com wrote:

 every animator at our studio has asked for it, if you make it, we
 would happily pay 50 bux a seat for it


 On Mon, Apr 15, 2013 at 1:26 PM, Ahmidou Lyazidi 
 ahmidou@gmail.com wrote:

 Thanks everyone for the links and the ideas!
 As Steven said, it's going to be a custom tool, the only element in
 the scene will be a blob and everything will be draw in openGl.
 It will probably be around 15$.
 Also I have have a Maya Artisan like paint almost working with undo (
 thanks Aloys and Felix for the tips). I'm trying to see how I can speed 
 up
 things now.
 This one will be free :)

 Cheers

 ---
 Ahmidou Lyazidi
 Director | TD | CG artist
 http://vimeo.com/ahmidou/videos


 2013/4/14 Steven Caron car...@gmail.com

 i think the one ahmidou is proposing would use the custom tool sdk.
 this means it wouldn't use curves in the scene like thiago's does.


 On Sat, Apr 13, 2013 at 4:47 PM, Toonafish ron...@toonafish.nlwrote:

 I think Thiago Costa already made one a while ago :
 http://thiagocosta.net/tc-**sketch-v11-grease-pencil-for-**xsi/http://thiagocosta.net/tc-sketch-v11-grease-pencil-for-xsi/







 --
 Prodeep Ghosh




 --
 Our users will know fear and cower before our software! Ship it! Ship it
 and let them flee like the dogs they are!





-- 
Xavier


Re: Custom Documentation

2013-04-13 Thread Xavier Lapointe
You can set the .Help attribute in your registration method (I think it's
.Help .. might be something else; look up the ppg examples)

reg.Help  = 'Path to your html help'


Re: Custom Documentation

2013-04-13 Thread Xavier Lapointe
AAAhhh, sorry Alok, just saw your reply. -__-


On Sun, Apr 14, 2013 at 12:03 PM, Xavier Lapointe
xl.mailingl...@gmail.comwrote:

 You can set the .Help attribute in your registration method (I think it's
 .Help .. might be something else; look up the ppg examples)

 reg.Help  = 'Path to your html help'




-- 
Xavier


Re: Custom Documentation

2013-04-13 Thread Xavier Lapointe
I don't have xsi in front of me, but you can have a look if you right
click/properties on your custom compound..


Re: Exocortex Species 1.6 Released

2013-04-11 Thread Xavier Lapointe
Mind the gap


Re: set raycast direction with a Null?

2013-04-09 Thread Xavier Lapointe
If Raff had been involved in the writing process, it would have been quite
interesting q:


On Wed, Apr 10, 2013 at 2:02 PM, Sam sbowl...@cox.net wrote:

 Thanks Raff. I understand about the problem with Piracy, but some of the
 players these guys come up with are truly terrible and make it very
 difficult to navigate the videos. That’s my only real concern with
 streaming, well, that and if my internet goes out in middle of me watching
 the video.  

 ** **

 I loved the visuals in Sucker Punch, but I did think the story could have
 been better. It is still worth watching, just for the amazing visuals.

 ** **

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *Raffaele Fragapane
 *Sent:* Monday, April 08, 2013 11:22 PM

 *To:* softimage@listproc.autodesk.com
 *Subject:* Re: set raycast direction with a Null?

 ** **

 You can get in touch with CGS to get confirmation, but I suspect they are
 streaming only.

 They had several workshops truly crippled by piracy, and since they moved
 to a new framework they actually did see a surge in sales and some
 workshops haven't appeared on the piratesphere at all, so I doubt they will
 revert that decision.
 I asked for mine to be downloadable actually, but as it's the same
 framework for everything it wasn't possible to make exception.

 The player is good though, it's a thin wrapper of Vimeo's, so is the
 hosting.

 Again, can't speak for them, but I'd be surprised if they were still
 downloadable (the originals were as I had control over the html pages
 wrapping them and I intentionally made the links solvable :) ).

 The dragon is from Zack Snyder's Sucker Punch. I was character supervisor
 on AL's work for it.
 The movie was meh, but you don't get to do dragons setting crowds in armor
 on fire on a collapsing bridge while chasing a refitted WW2 bomber
 everyday, so I can't complain for having worked on it :p

 ** **

 On Tue, Apr 9, 2013 at 3:08 PM, Sam sbowl...@cox.net wrote:

 Thanks for the pointers. Raff’s course looks very good (what’s the dragon
 from?). Is the CGsociety an online only course or can the videos be
 downloaded? CMIVFX really turned me off to online training. I find their
 video payer to be terrible and just can’t get myself to watch the two video
 I bought from them (which would be handy because they are both about ICE).
 

  

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *Andy Moorer
 *Sent:* Sunday, April 07, 2013 7:30 PM


 *To:* softimage@listproc.autodesk.com
 *Subject:* Re: set raycast direction with a Null?

  

  

 I guess my biggest problem is that I don’t know what I need to know, which
 makes it hard to find answers. I search the internet when I get stuck, but
 there seems to be little out there when it comes to my specific problems.
 Anyway, that Kahn Academy is very cool. I had never heard of it before, but
 it looks like it will be very useful.

  

 A little trig and linear algebra will take you quite a long way. By the
 way, he's too polite to point it out but Raff's CGsociety online technical
 direction with Python training has a very nice section on math.

 ** **

 BTW, this is the result of my ICE experiments (if anyone is interested in
 it). It’s similar to what was done in one of the Modo 7 videos.
 https://www.youtube.com/watch?v=NNXQn9KbIBQ 

 Sorry about the crappy quality, I have to experiment with my YouTube
 upload settings.

  

 Very nice!

  

 I urge you to post on Vimeo, and follow Alan's Softimage ice user's group
 there - it seems to have become the defacto place for Softimage folks to
 see and share and there is a rather impressive volume of ICE work there.**
 **




 --
 Our users will know fear and cower before our software! Ship it! Ship it
 and let them flee like the dogs they are!




-- 
Xavier


Re: New ww.Lagoa.com

2013-04-04 Thread Xavier Lapointe
I'll make sure to forward this. Thanks!




On Fri, Apr 5, 2013 at 4:18 PM, Thiago Costa thiagocost...@gmail.comwrote:

 Hi guys, good points. As Raff and Alan pointed out, these things are quite
 standard to operate the kind of service we do.

 Xavier, you didn't paste the full clause, it reads:
 As between You and Lagoa, Lagoa does not claim any rights to any
 Renderings or the intellectual property that You submit to Lagoa for the
 purpose of creating such Renderings,


 *For clarity: Lagoa makes no claim over the ownership of the content nor
 the Renderings; we agree that you are the owner of the content that you
 create.
 *In this section, we receive a license to use the data you submit to
 make, among other  things, the Renderings that we are promising to make in
 the agreement. Without this license, we might not have the right to create
 the Renderings using the data that you submit and the functions conducted
 by our servers. If you wanted us to display your Renderings (so that others
 could view your work), we could not do so without this license.

 To protect peoples interests, we also added that there are limits to what
 we can do with the Renderings you create. First, we cannot use the
 Renderings beyond the privacy settings that you have agreed to. If the
 content is made private for example we will not display it to anyone other
 than who you decide to give access to.

 Second – if you are not a paying customer – we can sublicense more
 broadly, but only for certain purposes (to promote Lagoa, Lagoa’s models,
 Lagoa’s services, or you) and only for a limited period of time. So it's
 quite clear what we do.

 In other words, we need this clause to operate our service.  We give some
 free storage and some free rendering, and the only way that we plan to use
 the content (created by our community) is to help the community itself to
 grow.  There are no hidden intentions here and we respect people's privacy.

 In fact we have some real costumers doing real work in the system – it's
 been awhile.  So it's not like this is a new attempt. It's something proven
 to work and for some really large companies.

 I hope that clarifies everything.

 thanks,

 -Thiago


 On 3 April 2013 17:38, Xavier Lapointe xl.mailingl...@gmail.com wrote:

 I would think it's worth clarifying, because some people seems to be
 interpreting the wrong way what it actually is.


 On Thu, Apr 4, 2013 at 8:09 AM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Even a simple service like Dropbox needs legal BS like that just so
 they can legally produce a thumbnail of a picture in your folders in the
 web view. They got in trouble a while back when someone saw their wording,
 but they clarified it later. (Lagoa should probably clarify their stance
 also.)



 On Wed, Apr 3, 2013 at 12:34 AM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

 I'm no expert in this so I was just forwarding the response ... from
 what you've just said it makes sense. And yes, I've no doubt on Thiago q :

 Cheers


 On Wed, Apr 3, 2013 at 3:04 PM, Raffaele Fragapane 
 raffsxsil...@googlemail.com wrote:

 It's pretty standard legal BS for any cloud service, without it they
 could be sued for holding onto the files they need to render for you with
 the back-end.
 I very, very seriously doubt Thiago plans to use without permission
 any of the material rendered through teamUp for promotion or sales, but 
 the
 gray area of cloud services requires some rather (overly) robust wording 
 on
 the fact they have rights on the information you provide.

 They don't acquire the IP or license for distribution in any form with
 that, those are the clauses you really have to watch out for. The former 
 is
 impossible (illegal) but constitutes vice of form, the latter can plant a
 sizeable penis firmly up your colon, especially if you're contracting.


 On Wed, Apr 3, 2013 at 2:49 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

 More specifically this paragraph:

 You hereby grant to Lagoa a non-exclusive, royalty free, paid up,
 worldwide, sublicensable (but only to affiliates of Lagoa) right and
 license to use the information that you submit as part of the Services to
 copy, create, make derivative works of, display, or publicly perform the
 Renderings or any component thereof, provided that Lagoa shall not
 use the Renderings beyond the Privacy Settings that You and Lagoa have
 agreed to as part of the Scope of Services, and provided, further,
 that the license to any Renderings you have created until such time as 
 you
 have paid Lagoa for use of the Services shall be irrevocable and freely
 sublicensable as long as such use of the Renderings is limited to the
 purposes of promoting Lagoa, Lagoa’s models, Lagoa’s services, or You, as
 the artist thereof, from the creation of such Renderings until the date
 that is six (6) months after the expiration or termination of your
 subscription to the Services.  You authorize Lagoa, on a royalty-free
 basis

Re: New ww.Lagoa.com

2013-04-03 Thread Xavier Lapointe
I would think it's worth clarifying, because some people seems to be
interpreting the wrong way what it actually is.


On Thu, Apr 4, 2013 at 8:09 AM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Even a simple service like Dropbox needs legal BS like that just so they
 can legally produce a thumbnail of a picture in your folders in the web
 view. They got in trouble a while back when someone saw their wording, but
 they clarified it later. (Lagoa should probably clarify their stance also.)



 On Wed, Apr 3, 2013 at 12:34 AM, Xavier Lapointe xl.mailingl...@gmail.com
  wrote:

 I'm no expert in this so I was just forwarding the response ... from what
 you've just said it makes sense. And yes, I've no doubt on Thiago q :

 Cheers


 On Wed, Apr 3, 2013 at 3:04 PM, Raffaele Fragapane 
 raffsxsil...@googlemail.com wrote:

 It's pretty standard legal BS for any cloud service, without it they
 could be sued for holding onto the files they need to render for you with
 the back-end.
 I very, very seriously doubt Thiago plans to use without permission any
 of the material rendered through teamUp for promotion or sales, but the
 gray area of cloud services requires some rather (overly) robust wording on
 the fact they have rights on the information you provide.

 They don't acquire the IP or license for distribution in any form with
 that, those are the clauses you really have to watch out for. The former is
 impossible (illegal) but constitutes vice of form, the latter can plant a
 sizeable penis firmly up your colon, especially if you're contracting.


 On Wed, Apr 3, 2013 at 2:49 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

 More specifically this paragraph:

 You hereby grant to Lagoa a non-exclusive, royalty free, paid up,
 worldwide, sublicensable (but only to affiliates of Lagoa) right and
 license to use the information that you submit as part of the Services to
 copy, create, make derivative works of, display, or publicly perform the
 Renderings or any component thereof, provided that Lagoa shall not use
 the Renderings beyond the Privacy Settings that You and Lagoa have agreed
 to as part of the Scope of Services, and provided, further, that the
 license to any Renderings you have created until such time as you have paid
 Lagoa for use of the Services shall be irrevocable and freely sublicensable
 as long as such use of the Renderings is limited to the purposes of
 promoting Lagoa, Lagoa’s models, Lagoa’s services, or You, as the artist
 thereof, from the creation of such Renderings until the date that is six
 (6) months after the expiration or termination of your subscription to the
 Services.  You authorize Lagoa, on a royalty-free basis, to use and exploit
 any aggregated data regarding your use of the Services along with
 aggregated data regarding others users’ use of the Services, so long as
 such use does not identify You.




 --
 Our users will know fear and cower before our software! Ship it! Ship it
 and let them flee like the dogs they are!




 --
 Xavier





-- 
Xavier


Re: Softimage (Linux) 2013 startup slowness, wth?

2013-04-03 Thread Xavier Lapointe
Or the environment is not the same and XSI is scanning the whole network
for workgroups (I've seen it happened). You can verify that by running an
strace on your pid.

Cheers


On Thu, Apr 4, 2013 at 3:08 AM, Angus Davidson angus.david...@wits.ac.zawrote:

  Hi Alan

  We had a similar problem a while ago. Linux Mint setup. In our case it
 was because sometimes our client machine was unable for some unknown reason
 to find the license server.  Eventually hard coding the ip address by way
 of putting it in the /etc/hosts file fixed it up..

  Unfortunately we never really resolved what was causing
 the network issues  as we were just doing some testing and reformatted the
 machine a month later.

  Perhaps try a traceroute on the license server to see if its coming up
 as it should.

  Kind regards

  Angus


  --
 *From:* Alan Fregtman [alan.fregt...@gmail.com]
 *Sent:* 03 April 2013 05:43 PM
 *To:* XSI Mailing List
 *Subject:* Softimage (Linux) 2013 startup slowness, wth?

   Hey guys,

  Does anyone know if anything changed in 2013 from 2012 that would cause
 ridiculous startup slowdowns?

  At work we have CentOS 6.3. In my particular box 2012 starts relatively
 fast, but 2013 hangs for a very VERY long time (20 minutes to several hours
 sometimes) before showing me a working UI. Both use the same workgroups.

  2013 is mostly idle while this happens. Little to no CPU usage. It's as
 if it's waiting for something.

  They reimaged my OS once and it briefly seemed fixed but the issue
 returned. On other computers I don't get such a drastic slowdown, so I'm
 inclined to think it's not something to do with my home folder. Also one
 time for kicks we updated everything (to CentOS 6.4 with all the updates)
 and then it was roughly the same speed between versions again. I could do
 this again but then I'm the only one who's updated and we're trying to keep
 boxes consistent.

  Also other people have logged on here and they too experience crazy slow
 startups, so it's not just my user.

  Anybody have any idea what sort of madness is messing with my 2013
 startup? What could be so different?!

  Any pointers appreciated.
 Cheers,

 -- Alan

  This communication is intended for the addressee only. It is 
 confidential. If you have received this communication in error, please notify 
 us immediately and destroy the original message. You may not copy or 
 disseminate this communication without the permission of the University. Only 
 authorised signatories are competent to enter into agreements on behalf of 
 the University and recipients are thus advised that the content of this 
 message may not be legally binding on the University and may contain the 
 personal views and opinions of the author, which are not necessarily the 
 views and opinions of The University of the Witwatersrand, Johannesburg. All 
 agreements between the University and outsiders are subject to South African 
 Law unless the University agrees in writing to the contrary. **




-- 
Xavier


Re: New ww.Lagoa.com

2013-04-02 Thread Xavier Lapointe
I'm no expert in this so I was just forwarding the response ... from what
you've just said it makes sense. And yes, I've no doubt on Thiago q :

Cheers


On Wed, Apr 3, 2013 at 3:04 PM, Raffaele Fragapane 
raffsxsil...@googlemail.com wrote:

 It's pretty standard legal BS for any cloud service, without it they could
 be sued for holding onto the files they need to render for you with the
 back-end.
 I very, very seriously doubt Thiago plans to use without permission any of
 the material rendered through teamUp for promotion or sales, but the gray
 area of cloud services requires some rather (overly) robust wording on the
 fact they have rights on the information you provide.

 They don't acquire the IP or license for distribution in any form with
 that, those are the clauses you really have to watch out for. The former is
 impossible (illegal) but constitutes vice of form, the latter can plant a
 sizeable penis firmly up your colon, especially if you're contracting.


 On Wed, Apr 3, 2013 at 2:49 PM, Xavier Lapointe 
 xl.mailingl...@gmail.comwrote:

 More specifically this paragraph:

 You hereby grant to Lagoa a non-exclusive, royalty free, paid up,
 worldwide, sublicensable (but only to affiliates of Lagoa) right and
 license to use the information that you submit as part of the Services to
 copy, create, make derivative works of, display, or publicly perform the
 Renderings or any component thereof, provided that Lagoa shall not use
 the Renderings beyond the Privacy Settings that You and Lagoa have agreed
 to as part of the Scope of Services, and provided, further, that the
 license to any Renderings you have created until such time as you have paid
 Lagoa for use of the Services shall be irrevocable and freely sublicensable
 as long as such use of the Renderings is limited to the purposes of
 promoting Lagoa, Lagoa’s models, Lagoa’s services, or You, as the artist
 thereof, from the creation of such Renderings until the date that is six
 (6) months after the expiration or termination of your subscription to the
 Services.  You authorize Lagoa, on a royalty-free basis, to use and exploit
 any aggregated data regarding your use of the Services along with
 aggregated data regarding others users’ use of the Services, so long as
 such use does not identify You.




 --
 Our users will know fear and cower before our software! Ship it! Ship it
 and let them flee like the dogs they are!




-- 
Xavier


Re: GridData crashing in PPG?

2013-03-14 Thread Xavier Lapointe
Until someone respond (if anyone had that issue) ... what kind of data do
you store in the GridData? Can you provide a snippet so we can try to
reproduce it? Does it happen on XSI 64bit (if you have it installed)?


Re: GridData crashing in PPG?

2013-03-14 Thread Xavier Lapointe
Alright, from there, can you log anything in the PPG OnClosed? If you can
reach that point, maybe you can manually check the data, or unset the
DataGrid data. Doesn't fix the bug, but might avoid a crash?

Good luck with that.


Re: Autodesk contest - all USA and Canada but not Quebec...

2013-02-20 Thread Xavier Lapointe
It would be a pain in the ass to deal with Lotto Quebec, because they would
need to get a percentage out of it, or something alike. Apple are going
through the same issue, as everybody who'd like to have Quebec citizen
participating.

Stupid law (PQ/PLQ are the same crap anyway on the long run when it comes
to legislation).


Re: Autodesk contest - all USA and Canada but not Quebec...

2013-02-20 Thread Xavier Lapointe
* Just mentioning Apple because it's another big player who don't really do
anything about it. Sucks to be us.


On Thu, Feb 21, 2013 at 12:40 PM, Xavier Lapointe
xl.mailingl...@gmail.comwrote:

 It would be a pain in the ass to deal with Lotto Quebec, because they
 would need to get a percentage out of it, or something alike. Apple are
 going through the same issue, as everybody who'd like to have Quebec
 citizen participating.

 Stupid law (PQ/PLQ are the same crap anyway on the long run when it comes
 to legislation).




-- 
Xavier


Re: PyQT for Softimage: problem with QIcons?

2013-02-05 Thread Xavier Lapointe
Hey Philipp,

you might want to make sure that your path is ok (file exists and so on),
and maybe try using
*addFilehttp://qt-project.org/doc/qt-4.8/qicon.html#addFile
 *on your QIcon object ...

I doubt that might be the case, bus maybe you need to cast your path to a
QString *QIcon http://qt-project.org/doc/qt-4.8/qicon.html#QIcon-4* (
const QString  *fileName* )?



Cheers





On Wed, Feb 6, 2013 at 8:50 AM, Simon Anderson 
simonbenandersonl...@gmail.com wrote:

 Currently at work, I can see if I can get an icon showing when im home,
 but I do remember us having icons on our buttons.




 On Wed, Feb 6, 2013 at 6:07 AM, philipp.oeser philipp.oe...@nhb.dewrote:

 **
  Hi list,

 first of all: thanx again for bringing PyQT to Softimage!
 (it's just so much nicer to be able to do UIs for SI, Nuke and Maya in
 _one_ go :))

 But: I was wondering if someone else is having trouble getting QIcons to
 show in PyQT for Softimage?
 I have some code that runs fine in Maya and Nuke (it shows the icons with
 QStandardItems in a QTreeView)
 but the exact same code/ui-file just doesnt show the Icons in
 Softimage...

 === something like this ===
 oTasksModel = QtGui.QStandardItemModel()
 oRootItem = oTasksModel.invisibleRootItem()
 self.ui.UI_tv_Tasks.setModel(oTasksModel)

 sTask = 'taskname'
 oTaskItem = QtGui.QStandardItem(sTask)

 sFullPath = 'validpath'
 oIcon = QtGui.QIcon(sFullPath)
 oTaskItem.setIcon(oIcon)

 # it seems to be taken, if you print out oTaskItem.icon(), it will print
 # PyQt4.QtGui.QIcon object at 0x000

 oRootItem.appendRow(oTaskItem)
 ==

 Has this been done succesfully? Or can someone confirm it is not working?
 Should I dig deeper?

 Thanx in advance
 Philipp

  P.S. using PyQt-Py2.6-x64-gpl-4.9.5-1 and PyQtForSoftimage_beta5




 --
 ---
 Simon Ben Anderson
 blog: http://vinyldevelopment.wordpress.com/




-- 
Xavier


Re: Friday Flashback #102

2013-01-24 Thread Xavier Lapointe
Oh yeah ... remember that one.


Re: Retrieve the Viewport information from within a Display/Viewport Callback

2013-01-22 Thread Xavier Lapointe
You're right, but for now it's for pretty much all mode. Was just wondering
since we can call
GetCamerahttp://download.autodesk.com/global/docs/softimage2012/en_us/sdkguide/si_cpp/classXSI_1_1CGraphicSequencer.html#a343f93243a75251bd8bb41a94fd3c1ad
 and 
GetViewportSizehttp://download.autodesk.com/global/docs/softimage2012/en_us/sdkguide/si_cpp/classXSI_1_1CGraphicSequencer.html#abe1c76a690b9e566bd29d69229d00dc4,
is there would be any way of accessing the View.

Thanks (:


Re: Retrieve the Viewport information from within a Display/Viewport Callback

2013-01-22 Thread Xavier Lapointe
... and my bad for all the typos. My attention span has just dropped quite
a bit.

is there would be any way of accessing the View  =  *if* there would be
any way of accessing the View*


Re: Retrieve the Viewport information from within a Display/Viewport Callback

2013-01-22 Thread Xavier Lapointe
But now that you mention this, maybe I should set the mode from siAll to
siCustom and set the Callback on that one. Although I'm not quite sure how
to do that yet. Any pointers would be appreciated!


Re: Retrieve the Viewport information from within a Display/Viewport Callback

2013-01-22 Thread Xavier Lapointe
That makes a lot of sense, and probably more suitable as well. Will give
that a shot.

Thanks Steven!


Re: PyQt Softimage Linux?

2013-01-17 Thread Xavier Lapointe
There's no way to use PyQtForSoftimage in linux since it relies on windows,
and on linux you need pyqt/Qt that is compatible with the python version.
But to be honest I'm not entirely sure about this, just what I've seen so
far points in that direction. Anyway ..



On Fri, Jan 18, 2013 at 9:59 AM, Steven Caron car...@gmail.com wrote:

 i dont follow... PyQtForSoftimage plugin isn't linking against python. so
 the plugin itself cares not about your python version. what is important
 would be the version of Qt libraries you link against. that version should
 probably match the version of PyQt your are using.

 do you mean getting a version of PyQt that works for python 2.5? cause
 that might be difficult.


 On Thu, Jan 17, 2013 at 2:49 PM, Xavier Lapointe xl.mailingl...@gmail.com
  wrote:


 The other issue is also to compile PyQt for Softimage using python 2.5 (
 until they update on linux (: ), but meh. Meant to give it a shot, and
 finally ended up working in the same shop as Aloys so it became useless q:





-- 
Xavier


Re: FBX I/O camera weirdness

2013-01-14 Thread Xavier Lapointe
It's been a while since I touched fbx ( :D ), but I remember having that
kind of issue and it was somehow related to the fbx/crosswalk version.
Using an older one would avoid weird behaviour (Something like 2010 .. ).
Or at least the same version between Maya and Soft ... is that the case?


Re: Symbol Uses

2013-01-07 Thread Xavier Lapointe
http://goo.gl/yjZEq

On Tue, Jan 8, 2013 at 11:04 AM, Fx Person fxper...@rocketmail.com wrote:

 Didn't know Mr. Mootz also developed characters. ;p

 And how did you type that? Skimmed through every page of the charmap!

 Seems to also be an en dash the width of an n as opposed to an m


 So the following are various uses for the mutton (funny word) quoted
 from here http://www.grammarbook.com/punctuation/dashes.asp
 *
 An em dash is the width of an m.  Use an em dash sparingly in formal
 writing.
 In informal writing, em dashes may replace commas, semicolons, colons, and
 parentheses to indicate added emphasis, an interruption, or an abrupt
 change of thought.*


 *
 *

   --
 *From:* Alan Fregtman alan.fregt...@gmail.com
 **

 That would be the em dash or mutton (though I've never seen or heard
 it called the latter.)
 http://en.wikipedia.org/wiki/Em_dash#Em_dash

 And an em? It's a typographical unit of measurement and the — dash is
 in fact 1em unit in width for any given font size (which by the way is
 measured in units called points.) A — dash at font size 14 is 14
 points (pt) wide, for example.
 http://en.wikipedia.org/wiki/Em_%28typography%29

 But what are points you ask? Twelfths of a pica which itself is 1/72th
 of 1 foot, or 1/6th of an inch, or my prefered answer, very small.
 http://en.wikipedia.org/wiki/Point_%28typography%29
 http://en.wikipedia.org/wiki/Pica_%28typography%29


 So now you know how dashes and font sizes relates to some british king's
 feet size. Who knew, right?!



 On Mon, Jan 7, 2013 at 4:29 PM, Fx Person fxper...@rocketmail.com wrote:

 By the name of it, I was expecting like a squished little circle lol!

 Of course I've seen that a bunch of times, but thought it was more to
 express like etcetera

 I'll also look-up what's the long dash also briefly referenced in the
 article (about the three little dots)

 And guess I was missing a dot :)


   --
 *From:* Stephen Blair stephenrbl...@gmail.com
 **
  Hi

 In English writing, especially in e-mail messages, an ellipsis is used to
 indicate a pause or a falter, or a trailing off ...

 http://grammar.quickanddirtytips.com/ellipsis.aspx
 http://en.wikipedia.org/wiki/Ellipsis




 On 07/01/2013 12:10 PM, Fx Person wrote:

   Hi Brent,


 As for the punctuation, perhaps.  The double dots .. are meant to act
 like “long pauses” to which I’m not aware of a standard way of expressing
 that.
 I have seen the extended(long) dash used as such, though not exactly,  I
 actually didn’t find it in the Character Map.










-- 
Xavier


Re: Symbol Uses

2013-01-07 Thread Xavier Lapointe
Sorry, that was a bit evasive.

Would be nice to not start a new thread in this particular case, unless you
absolutely want to start a new one.

Cheers


Re: Last day at Animal Logic

2013-01-01 Thread Xavier Lapointe
There's a smell of bromance all over this thread.

Miss you Wookie!


Re: scripting object view cameras

2012-12-20 Thread Xavier Lapointe
If you look in the doc for the Object View Attributes you should have
everything you need there (Like GetAttributeValue('camera') ).


Re: scripting object view cameras

2012-12-20 Thread Xavier Lapointe
Welcome (:

... the recent experience I had with this wasn't super fun. You can Get and
Set attributes, but the best thing in the end was to create a real camera
and set the Object View to use that one. At least you have control over it
and it's easily accessible.

The other one is internal I think and not easy to deal with ... hope
someone can prove me wrong.

Cheers


Re: Anyone using Shotgun Python API with Softimage 2013 Linux?

2012-12-19 Thread Xavier Lapointe
Still less hacky-ish than what I was talking above q:

Great solution, thanks for sharing (:


On Wed, Dec 19, 2012 at 10:35 PM, Aloys Baillet aloys.bail...@gmail.comwrote:

 Hi,

 We have worked around this by taking the libssl and libcrypto from a
 CentOS 5.3 machine and put it in the Application/bin folder...
 Quite hacky but does the job.

 Cheers,

 Aloys


 On Sat, Dec 15, 2012 at 9:07 AM, Xavier Lapointe xl.mailingl...@gmail.com
  wrote:


 On Sat, Dec 15, 2012 at 8:57 AM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

  The issue is that hashlib in python 2.5 that ships with Soft on Linux
 is using the compiled library (import *_*md5).


 ^^ I meant it's *trying* to use the compiled library.

 If you look at how hashlib is geared (Application/bin/lib/python2.5),
 it's actually trying to use openssl when initiating a secured connexion
 with Shotgun and then:

 except ImportError:
 # We don't have the _hashlib OpenSSL module?
 # use the built in legacy interfaces via a wrapper function
 new = __py_new

 # lookup the C function to use directly for the named constructors
  md5 = __get_builtin_constructor('md5')


 OpenSSL is not part if the python2.5 build in Softimage, then it's trying
 to use the compiled md5 module, fail to retrieve it and raise.

 --
 Xavier




 --
 Aloys Baillet
 Lead Software Developer
 Research  Development - Animal Logic
 --




-- 
Xavier


Re: Anyone using Shotgun Python API with Softimage 2013 Linux?

2012-12-14 Thread Xavier Lapointe
Hey Alan,

This works for me as well. The issue is that hashlib in python 2.5 that
ships with Soft on Linux is using the compiled library (import *_*md5).
The place you work at is geared the way I mentioned above.

Pretty sure the support will help Paul getting this working anyway q:


Cheers,

Xavier


Re: Anyone using Shotgun Python API with Softimage 2013 Linux?

2012-12-13 Thread Xavier Lapointe
Stephen is probably on Windows ...

I'm on CentOS as well and have the same issue. So the local web server
redirecting requests might stay your better option until Soft ships with
another python version.

Good luck anyway.

On Fri, Dec 14, 2012 at 1:58 PM, Paul Hudson phudson1...@gmail.com wrote:

 Stephen,
 What Distribution and Version of Linux is that on?  We're trying CentOS 6.3

 -Paul


 On Thu, Dec 13, 2012 at 6:16 PM, Stephen Blair stephenrbl...@gmail.comwrote:

 That's strange, this works for me in Softimage 2013 (using the Python
 installed with Softimage)

 import hashlib
 import _md5

 print dir(hashlib)
 print dir(hashlib.md5)
 print dir(_md5)



 On 13/12/2012 8:28 PM, Paul Hudson wrote:

 The shogun api uses hashlib  and  it seems the version of Python
 included with Linux Softimage is missing md5


 # ERROR : Traceback (most recent call last):
 #   File Script Block , line 1, in module
 # import hashlib
 #   File 
 /usr/Softimage/Softimage_**2013/Application/bin/lib/**python2.5/hashlib.py,
 line 133, in module
 # md5 = __get_builtin_constructor('**md5')
 #   File 
 /usr/Softimage/Softimage_**2013/Application/bin/lib/**python2.5/hashlib.py,
 line 60, in __get_builtin_constructor
 # import _md5
 # ImportError: No module named _md5
 #  - [line 1]


 I've contacted support about this, but is there an easy fix for this?


 Thanks so much,
 Paul






-- 
Xavier


Re: Softimage crashing on launch

2012-12-11 Thread Xavier Lapointe
Just be sure not to mix up Firewall and antivirus (: These are 2 different
things and you might be able to disable the firewall but not the antivirus.

Good luck




On Wed, Dec 12, 2012 at 5:26 PM, Adam Sale adamfs...@gmail.com wrote:

 I think this will be what I have to do.. Probably a good thing to clean
 out all the versions I've been stockpiling for the last while.

 Disabling the firewall didn't help things..

 Its always fun when you look forward to a productive night of work, and
 you get this instead. :-)

 Ahh.. maybe its a sign to pack up early, and spend some time with the
 wife.

 Thanks guys

 Adam




 On Tue, Dec 11, 2012 at 10:18 PM, Simon Anderson 
 simonbenandersonl...@gmail.com wrote:

 I have had it once when a machine failed and a reinstall was the only way
 to fix it. Sometimes these things just happen. XD


 On Wed, Dec 12, 2012 at 5:14 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

 Re-installing Soft sounds a bit over the top, unless the new Antivirus
 seems to be the cause and deliberately deleted Soft components becoming a
 virus itself.




 On Wed, Dec 12, 2012 at 5:07 PM, Simon Anderson 
 simonbenandersonl...@gmail.com wrote:

 Have you tried a reinstall of soft?


 On Wed, Dec 12, 2012 at 4:54 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

 Have you tried disabling the antivirus? Or you might have to give
 clearance to all Softimage related thing within NOD32. If that fails try
 backing up your softimage home folder.

 Don't mess with the registry.




 --
 ---
 Simon Ben Anderson
 blog: http://vinyldevelopment.wordpress.com/




 --
 Xavier




 --
 ---
 Simon Ben Anderson
 blog: http://vinyldevelopment.wordpress.com/





-- 
Xavier


Re: object model method for moving a material to another library?

2012-12-10 Thread Xavier Lapointe
Hey Steven,

I'm not quite sure this is better than a copy paste, but
Application.MoveToLibrary(objs,
target) does that as well.

It would have been nice if it could behave like standard collections.




On Sat, Dec 8, 2012 at 7:15 AM, Steven Caron car...@gmail.com wrote:

 hey gang

 i can't seem to find a way to move a material from one material library to
 another.

 a material library has no set/add members method and the items property is
 read only. the material it self doesn't seem to have any methods.

 copypaste command is the only way it seems?

 s




-- 
Xavier


Re: Python equivalent of C++'s GetRenderHairAccessor

2012-12-03 Thread Xavier Lapointe
Maybe by inspecting the hair.GetActivePrimitive2() you could find
something, but I doubt it (and I can't test it since I don't have XSI at
home).

GetRenderHairAccessor return a CRenderHairAccessor object which I would be
surprised if it would be COM compliant (for lack of a better word, just
saying I don't know how it would be possible to return it to python via a
custom command).

But while I'm typing these lines, it seems like the object model has
something called siRenderHairAccessorID ... might worth investigating.

good luck


On Mon, Dec 3, 2012 at 9:17 PM, Simon Anderson 
simonbenandersonl...@gmail.com wrote:

 Why you no use ice! XD

 haha.. jokes aside, what you trying to achieve, havent looked at soft hair
 in a long time.

 On Mon, Dec 3, 2012 at 6:01 PM, Jared jared.gl...@triggerfish.co.zawrote:

 RenderHairAccessor




 --
 ---
 Simon Ben Anderson
 blog: http://vinyldevelopment.wordpress.com/




-- 
Xavier


Re: Scripting access to Cache Manager

2012-11-25 Thread Xavier Lapointe
Hey Gareth,

If I'm not mistaken the cache manager (exporting icecache) would use
supported ICE Attributes like Point Position, Id, Velocity and so on. So if
you use something like GetICEAttributeFromName that would probably work?

There's probably other ways, but I would give that a shot ..

Cheers



On Mon, Nov 26, 2012 at 6:23 AM, Gareth Bell 
gareth.b...@primefocusworld.com wrote:

 **

 Hey List,

 Does anyone know how I can find out all available parameters for the cache
 manager? More specifically the attributes (or attibutes as Softimage calls
 them!) I've looked around the SDK and online but can't seem to find
 anything very helpful.


 For example I can get them using

 Application.GetValue(WriteAnimation.CacheAttibutes but the values
 returned are their index rather than their name. e.g. 5: rather than say
 Point Position. Ideally I'd like to be able to collect all the attributes
 listed within the cache manager at the time of caching or be able to throw
 all possible attributes into a PPG for user selection (like in the cache
 manager)

 Hope that makes some sort of sense

 cheers

 g




-- 
Xavier


Re: Error with plugin and python maybe

2012-11-22 Thread Xavier Lapointe


  I use plenty of the plug-ins without having python installed and only
 using the Python inside Softimage. Give it a whirl. You do need to put GEAR
 in your PythonPath environment variable just so those python modules are
 accessible.



You don't have python installed ?! :O


Re: Caching Angular Velocity

2012-11-14 Thread Xavier Lapointe
Looks like your vector has flipped? Could you just calculate the shortest
path and compare the values?

I had some trouble as well at some point with this.


Re: Caching Angular Velocity

2012-11-14 Thread Xavier Lapointe
What I meant is:

Python 2.6.6 (r266:84292, Jun 18 2012, 14:18:47)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2
Type help, copyright, credits or license for more information.
 1224.001 % 360.0
144.000998
 360 - 144.000998
215.999002


Re: Caching Angular Velocity

2012-11-14 Thread Xavier Lapointe
I think you could just apply this logic when you output, unless when you
use the cache again it starts flipping again, which would be utterly odd.

Unless you deal with a specific case of super high revolution, from one
frame to the other it shouldn't spin more than 360 ... I guess.

As for the flipping, I can't really tell, could be many things.

Maybe other guys will have some points to add as well.

Cheers!


Re: Python Heads Please spread the love

2012-11-06 Thread Xavier Lapointe
Make sure you installed the 64 bit version of Python.

On Wed, Nov 7, 2012 at 9:03 AM, Raffaele Fragapane 
raffsxsil...@googlemail.com wrote:

 It looks like you might be missing ActiveState's pywin. Did you install
 that?

 Also, I wouldn't recommend the forceful dispatch fix. There is so very
 little these days that still has dispatching problems that it's not worth
 the bother, not to mention the divergence from standards if you ever want
 to release anything, and a performance hiccup in some uses.




-- 
Xavier


Re: Python Heads Please spread the love

2012-11-06 Thread Xavier Lapointe
Should have been a little more explicit on that one.

Like Raff and Eric said, don't patch it. Use the dispatch fix coming with
pywin32.

Also, make sure to use the Python installer (64bits), and reinstall pywin32
64 bit.

You can use the 2.7 version I think without having trouble:
http://python.org/download/

One you have both 64bit version installed if python 2.7 and pywin32, you
should be ok.


Re: Get Framebuffer's ResolvedFileName at a specific frame?

2012-10-29 Thread Xavier Lapointe
XSIUtils.ResolveTokenString(TokenString, Time, Verbose,
[UserTokenNames], [UserTokenValues] )?


On Tue, Oct 30, 2012 at 6:38 AM, Steven Caron car...@gmail.com wrote:

 there is a function to resolve a tokenized string that accepts an
 arbitrary time/frame argument. i dont remember that function off the top of
 my head.


 On Mon, Oct 29, 2012 at 12:09 PM, Tim Crowson 
 tim.crow...@magneticdreams.com wrote:

  Is there a quick way to query a framebuffer's resolved file name at a
 given frame? The query always seems to return the value with whatever the
 current frame is. I know I can just move the playhead, but I was wondering
 if there was a more direct way of setting the frame for which the file name
 gets resolved...
 --



 *Tim Crowson
 **Lead CG Artist*

 *Magnetic Dreams Animation Studio, Inc.
 *2525 Lebanon Pike, Building C. Nashville, TN 37214
 *Ph*  615.885.6801 | *Fax*  615.889.4768 | www.magneticdreams.com
 tim.crow...@magneticdreams.com





-- 
Xavier


Re: Get Framebuffer's ResolvedFileName at a specific frame?

2012-10-29 Thread Xavier Lapointe
Othen than that you can use Framebuffer.GetResolvedPath( [Frame] ) as well.

On Tue, Oct 30, 2012 at 9:10 AM, Xavier Lapointe
xl.mailingl...@gmail.comwrote:

 XSIUtils.ResolveTokenString(TokenString, Time, Verbose, [UserTokenNames], 
 [UserTokenValues] )?


 On Tue, Oct 30, 2012 at 6:38 AM, Steven Caron car...@gmail.com wrote:

 there is a function to resolve a tokenized string that accepts an
 arbitrary time/frame argument. i dont remember that function off the top of
 my head.


 On Mon, Oct 29, 2012 at 12:09 PM, Tim Crowson 
 tim.crow...@magneticdreams.com wrote:

  Is there a quick way to query a framebuffer's resolved file name at a
 given frame? The query always seems to return the value with whatever the
 current frame is. I know I can just move the playhead, but I was wondering
 if there was a more direct way of setting the frame for which the file name
 gets resolved...
 --



 *Tim Crowson
 **Lead CG Artist*

 *Magnetic Dreams Animation Studio, Inc.
 *2525 Lebanon Pike, Building C. Nashville, TN 37214
 *Ph*  615.885.6801 | *Fax*  615.889.4768 | www.magneticdreams.com
 tim.crow...@magneticdreams.com





 --
 Xavier




-- 
Xavier


Re: etRenamer 3.0, now with PyQt version

2012-10-16 Thread Xavier Lapointe
You should use Regex because it's awesome!

:P


On Wed, Oct 17, 2012 at 10:33 AM, Eric Thivierge ethivie...@gmail.comwrote:

 Especially when mine is open source :\


 
 Eric Thivierge
 http://www.ethivierge.com


 On Wed, Oct 17, 2012 at 10:30 AM, Adam Sale adamfs...@gmail.com wrote:

 Thanks for the update Eric...
 I still wonder why there isn't a built in renamer for Softimage...


 On Tue, Oct 16, 2012 at 4:05 PM, Eric Thivierge ethivie...@gmail.comwrote:

 Thanks Jo. It's been a lot of tinkering over the years I've been using /
 building it.

 For the object types, you can actually edit the NameTemplate.txt file
 that is in the addon to your liking. This will allow you to name the object
 types and define a suffix for them as you wish. You can add more / less if
 needed as well. Maybe I should make this a bit mroe dynamic and have some
 buttons to allow you to change the object type names without having to edit
 the file.

 Thanks for the feedback.

 
 Eric Thivierge
 http://www.ethivierge.com
 On Wed, Oct 17, 2012 at 7:27 AM, jo benayoun jobenay...@gmail.comwrote:

 useful tool eric, looks really mature!

 Usually, we are used to deal with our personal nc, for example, I use
 to always use bon for whatever obj that will be use for the skeleton.
 I have observed three different major usages in rigging for naming
 stuff:
   - there is people who name their stuff after the scene object type
 (crv, null, msh)
   - others after the usage/function of the object (def, cns, upv)
   - the originals who are mixing both. =)
 I would actually love to see a tool that is able be adapted to my
 personal preferences and that let me the choice to switch to the others
 (for example in the case number two, fields are defaulted to the softimage
 type which is mapped then to the right name Ive chose earlier).
 Also, I'm used to use this bon suffix for my skeleton objects.  But
 my studio use a different name for those stuff.  When it comes to rename my
 object with the right suffix, I would instead of typing the suffix used by
 my company, the suffix I know and am used to use, bon, the tool would
 make for me the correct mapping.
 just some ideas ...
 -- jo





 2012/10/16 Eric Thivierge ethivie...@gmail.com

 https://github.com/downloads/EricTRocks/ET_Toolshttps://github.com/downloads/EricTRocks/ET_Tools/ET_Naming_3.00.zip








-- 
Xavier


Re: etRenamer 3.0, now with PyQt version

2012-10-16 Thread Xavier Lapointe
Even made my blog Sublime q:

http://lamdacore.blogspot.com.au/



On Wed, Oct 17, 2012 at 1:03 PM, jo benayoun jobenay...@gmail.com wrote:

 regular expressions are clearly a must have ... you clearly see their
 power when switching to linux.
 because when you have a dude who called you to his desk to say Hey that
 cmd gives me an error like what the *bip* has no subscriptions to the *bip*
 but in the *bip* it turns out it has ...
 well, you don't have the time to go back at your desk, launch your
 favourite python editor (OR sublime-text) and write a beautiful python tool
 to parse the output from one custom cmd to use it as input for another one,
 repeated 10 times and handling special cases, but you clearly have the time
 to open a shell and use your best buddies: Pipe, Sed, Awk and XArgs, to
 finally ending with a freaking 10 lines long command. and voilà ... the
 *bip* has now the right subscriptions to the *bip*...!

 =)
 *bip*: f**king NDA ...
 **: fucking decency...
 -- jo




 2012/10/16 Alok Gandhi alok.gandhi2...@gmail.com

 We use regex in some pipeline tools for softimage  but that is all coming
 from python 're' module. Personally I have used regex to do some screen
 scraping off webpages for some personal projects. But for that all
 Beautiful Soup is a great package for python.

 ** **

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric Turman

 *Sent:* Tuesday, October 16, 2012 6:30 PM
 *To:* softimage@listproc.autodesk.com
 *Subject:* Re: etRenamer 3.0, now with PyQt version

 ** **

 nice..I like that one since it has community examples. Thanks for
 sharing.

 On Tue, Oct 16, 2012 at 8:25 PM, Chris Gardner chrisg.dot@gmail.com
 wrote:

 I use this one online: http://gskinner.com/RegExr/

 get it right in realtime before you stuff it into code.

 cheers,
 chrisg



 On 17 October 2012 12:21, Eric Turman i.anima...@gmail.com wrote:
  This is a really handy tools to nail that regex just right.
  http://download.cnet.com/The-Regex-Coach/3000-2056_4-10795049.html




 --




 -=T=-




 --





-- 
Xavier


Re: raafal

2012-10-12 Thread Xavier Lapointe
True, and totally for it. As far as I know it's friendly at all level (:

On Fri, Oct 12, 2012 at 6:07 PM, olivier jeannel olivier.jean...@noos.frwrote:

  I do enjoy to have news of Fabric Engine and now Raafal on the list :)
 I mean, the creators we all know them, some are friends, are coming from
 XSI. I feel it's quite positive compared to an abandon ship answer to the
 lasts weeks AD tsunami.
 plus the last Topolizer makes me feel like that particle system is
 undestructible.



 Le 12/10/2012 01:56, Xavier Lapointe a écrit :

 And all of this on the Softimage mailing list. How fun is that q:

 On Fri, Oct 12, 2012 at 10:47 AM, Paul Doyle technove...@gmail.comwrote:

 It's true, Helge is quite formidable :) right now, you do need to have
 a TD to get much out of CP. my point was really to say that our goal
 is to have something that small studios can benefit from as well. We
 looked at doing something like ICE from the outset, but it limits the
 scope to do that from the start. Building a platform is a bit more
 methodical (over two years!), but we're hoping the results will speak
 for themselves.

 I understand where you're coming from - all I can say is that we
 didn't start Fabric to flip it. There are many reasons why we started
 the company, but the main desire was to innovate - as you identified,
 having very few vendors is unhealthy for innovation.

 Anyway, this is a thread about Raafal so I will shut up :)

 --
 Paul Doyle
 CEO
 Fabric Engine

  On 2012-10-11, at 7:29 PM, Guy Rabiller guy.rabil...@radfac.com wrote:

 
 
  Thanks Paul for clarifying.
 
 
  Well, Helge is, alone, an army of TDs, so permit me to still keep my
  argument on this matter ;).
 
  Regarding the workflow and GUI, I realize I did not made my point really
  clear on this, but I guess I'll have to show what I mean, when I'll have
  something to show. So the ball is in my camp.
 
  Good luck too with the Fabric Engine, I don't despise it, on the
  contrary, I just have a trust problem with nowadays commercial products
  and I hope you'll prove me wrong on this.
 
 
   Cheers,
  Guy.
  --
  guy rabiller | raa.tel | radfac founder/ceo | raafal.org founder
  tel: (+33)977 195 006 %28%2B33%29977%20195%20006 | mob: (+33)675 183
 146 %28%2B33%29675%20183%20146 | fax: (+33)972 288 
 293%28%2B33%29972%20288%20293
 
 
   Le 12/10/2012 01:15, Paul Doyle a écrit :
  Since we have been mentioned a few times, including on the fundraising
  page, I want to correct a  faulty perception regarding Creation
  Platform and 'ready to use' GUI.
 
  Tools like the muscle simulation tool and the hair/fur tool provide
  workflow and GUI. It's more that we do not prescribe the workflow - it
  is there to be edited/changed as required. As people build and share
  more tools (remember we give two free licenses to studios, and one
  free license to individuals), there will be more out of the box
  functionality available. There is no requirement for an army of TDs to
  build tools - for example, Helge has built a hair system in a few days
  (https://vimeo.com/51077186). We decided to build the framework first,
  and are now building out the tools platform on top of it. We are still
  in beta :) when we release, there will be complete workflows
  available. I hope that makes things a bit clearer.
 
  Guy - Good luck with the project and indiegogo.
 
  --
  Paul Doyle
  CEO
  Fabric Engine
 
  On 2012-10-11, at 6:19 PM, Guy Rabiller guy.rabil...@radfac.com
 wrote:
 
  Thanks guys for wanting to help.
 
  Here you go:
  http://www.indiegogo.com/raafal-2013
 
  Sorry for the poor 'selling speech'.
 
   Cheers,
  Guy.
  --
  guy rabiller | raa.tel | radfac founder/ceo | raafal.org founder
  tel: (+33)977 195 006 %28%2B33%29977%20195%20006 | mob: (+33)675
 183 146 %28%2B33%29675%20183%20146 | fax: (+33)972 288 
 293%28%2B33%29972%20288%20293
 
 
   Le 11/10/2012 20:32, Alan Fregtman a écrit :
   http://indiegogo.com/ then, the other Kickstarter.
 
 
  On Thu, Oct 11, 2012 at 2:33 PM, Francois Lord flordli...@gmail.com
   mailto:flordli...@gmail.com wrote:
 
 That would be true if kickstarter was available outside the U.S.
 
 
 On 11/10/2012 14:02, Gene Crucean wrote:
 Definitely kickstarter worthy.
 
 
 
 On Thu, Oct 11, 2012 at 10:22 AM, Miquel Campos
  miquel.cam...@gmail.com mailto:miquel.cam...@gmail.com
 wrote:
 
  Kickstart?  :P
 
 
 
 Miquel Campos
  www.akaosaru.com http://www.akaosaru.com
 
 
 
 




  --
 Xavier





-- 
Xavier


Re: raafal

2012-10-11 Thread Xavier Lapointe
And all of this on the Softimage mailing list. How fun is that q:

On Fri, Oct 12, 2012 at 10:47 AM, Paul Doyle technove...@gmail.com wrote:

 It's true, Helge is quite formidable :) right now, you do need to have
 a TD to get much out of CP. my point was really to say that our goal
 is to have something that small studios can benefit from as well. We
 looked at doing something like ICE from the outset, but it limits the
 scope to do that from the start. Building a platform is a bit more
 methodical (over two years!), but we're hoping the results will speak
 for themselves.

 I understand where you're coming from - all I can say is that we
 didn't start Fabric to flip it. There are many reasons why we started
 the company, but the main desire was to innovate - as you identified,
 having very few vendors is unhealthy for innovation.

 Anyway, this is a thread about Raafal so I will shut up :)

 --
 Paul Doyle
 CEO
 Fabric Engine

 On 2012-10-11, at 7:29 PM, Guy Rabiller guy.rabil...@radfac.com wrote:

 
 
  Thanks Paul for clarifying.
 
 
  Well, Helge is, alone, an army of TDs, so permit me to still keep my
  argument on this matter ;).
 
  Regarding the workflow and GUI, I realize I did not made my point really
  clear on this, but I guess I'll have to show what I mean, when I'll have
  something to show. So the ball is in my camp.
 
  Good luck too with the Fabric Engine, I don't despise it, on the
  contrary, I just have a trust problem with nowadays commercial products
  and I hope you'll prove me wrong on this.
 
 
  Cheers,
  Guy.
  --
  guy rabiller | raa.tel | radfac founder/ceo | raafal.org founder
  tel: (+33)977 195 006 | mob: (+33)675 183 146 | fax: (+33)972 288 293
 
 
  Le 12/10/2012 01:15, Paul Doyle a écrit :
  Since we have been mentioned a few times, including on the fundraising
  page, I want to correct a  faulty perception regarding Creation
  Platform and 'ready to use' GUI.
 
  Tools like the muscle simulation tool and the hair/fur tool provide
  workflow and GUI. It's more that we do not prescribe the workflow - it
  is there to be edited/changed as required. As people build and share
  more tools (remember we give two free licenses to studios, and one
  free license to individuals), there will be more out of the box
  functionality available. There is no requirement for an army of TDs to
  build tools - for example, Helge has built a hair system in a few days
  (https://vimeo.com/51077186). We decided to build the framework first,
  and are now building out the tools platform on top of it. We are still
  in beta :) when we release, there will be complete workflows
  available. I hope that makes things a bit clearer.
 
  Guy - Good luck with the project and indiegogo.
 
  --
  Paul Doyle
  CEO
  Fabric Engine
 
  On 2012-10-11, at 6:19 PM, Guy Rabiller guy.rabil...@radfac.com
 wrote:
 
  Thanks guys for wanting to help.
 
  Here you go:
  http://www.indiegogo.com/raafal-2013
 
  Sorry for the poor 'selling speech'.
 
  Cheers,
  Guy.
  --
  guy rabiller | raa.tel | radfac founder/ceo | raafal.org founder
  tel: (+33)977 195 006 | mob: (+33)675 183 146 | fax: (+33)972 288 293
 
 
  Le 11/10/2012 20:32, Alan Fregtman a écrit :
  http://indiegogo.com/ then, the other Kickstarter.
 
 
  On Thu, Oct 11, 2012 at 2:33 PM, Francois Lord flordli...@gmail.com
  mailto:flordli...@gmail.com wrote:
 
 That would be true if kickstarter was available outside the U.S.
 
 
 On 11/10/2012 14:02, Gene Crucean wrote:
 Definitely kickstarter worthy.
 
 
 
 On Thu, Oct 11, 2012 at 10:22 AM, Miquel Campos
 miquel.cam...@gmail.com mailto:miquel.cam...@gmail.com wrote:
 
  Kickstart?  :P
 
 
 
 Miquel Campos
 www.akaosaru.com http://www.akaosaru.com
 
 
 
 




-- 
Xavier


Re: Installing AddOns Softimage 2012 SP1

2012-10-05 Thread Xavier Lapointe
It's possible to have it working in linux, but it's a different approach
(that's I'm not too much aware of). I *think* using the CDH is mandatory,
or at least need a custom pyqt integration to work. It's still not perfect
and has its problems.


Re: Friday Flashback

2012-10-05 Thread Xavier Lapointe
Oh wow. They were so young!

On Fri, Oct 5, 2012 at 11:24 PM, Stephen Blair stephenrbl...@gmail.comwrote:

 Friday Flashback #90
 xsibase visits Softimage headquarters Aug 2002
 http://wp.me/powV4-29b



 On Fri, Sep 28, 2012 at 9:48 AM, Stephen Blair stephenrbl...@gmail.comwrote:

 Friday Flashback #89
 Creative Environment box shots
 http://wp.me/powV4-28u


 On Fri, Sep 21, 2012 at 12:15 PM, Stephen Blair 
 stephenrbl...@gmail.comwrote:

 Friday Flashback #88
 1999 Tekkon Kinkreet schematic
 http://wp.me/powV4-279


 On Fri, Sep 14, 2012 at 7:59 AM, Stephen Blair 
 stephenrbl...@gmail.comwrote:


 Friday Flashback #87
 Orleans' Days at the Cherry House for tender lovers of XSI
 http://wp.me/powV4-26g



 On Fri, Sep 7, 2012 at 9:41 AM, Stephen Blair 
 stephenrbl...@gmail.comwrote:

 #Softimage Friday Flashback #86
 Daniel Langlois - Cdn Entrepeneur of the Yr in 94  the Wizard of AWE
 http://wp.me/powV4-25i

 This week's flashback is much better than last week's, I promise!


 On Fri, Aug 31, 2012 at 6:54 AM, Stephen Blair 
 stephenrbl...@gmail.com wrote:

 Friday Flashback #85
 The end part II
 http://wp.me/powV4-24o



 On Fri, Aug 24, 2012 at 3:42 PM, Chris Chia 
 chris.c...@autodesk.comwrote:

 My memories working with Softimage 3D on a SGI...

 Sent from my iPhone

 On 24 Aug, 2012, at 10:47 PM, Stephen Blair 
 stephen.bl...@autodesk.commailto:stephen.bl...@autodesk.com
 wrote:

 Friday Flashback #84
 Japanese brochure for good ol' #SOFTIMAGE 3D
 http://wp.me/powV4-23R


 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Stephen Blair
 Sent: August-17-12 10:21 AM
 To: softimage@listproc.autodesk.commailto:
 softimage@listproc.autodesk.com
 Subject: RE: Friday Flashback

 Friday Flashback 83
 2000 - Softimage hit the ground running with XSI a beautifully
 constructed environment to work in
 http://wp.me/powV4-232


 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Alan Fregtman
 Sent: August-10-12 10:52 AM
 To: softimage@listproc.autodesk.commailto:
 softimage@listproc.autodesk.com
 Subject: Re: Friday Flashback

 Oh my Darwin, SO much red! My yeess
 On Fri, Aug 10, 2012 at 8:08 AM, Stephen Blair 
 stephen.bl...@autodesk.commailto:stephen.bl...@autodesk.com
 wrote:
 Friday Flashback #82
 XSI's first SIGGRAPH
 http://wp.me/powV4-22f


 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Stephen Blair
 Sent: August-03-12 10:44 AM
 To: softimage@listproc.autodesk.commailto:
 softimage@listproc.autodesk.com
 Subject: RE: Friday Flashback
 Friday Flashback 81
 From 2004, Softimage XSI the perfect fit:

 -  Everything you need

 -  Everything you want

 -  Everything there is
 http://wp.me/powV4-21j
 From: softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.commailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Raffaele
 Fragapane
 Sent: July-30-12 4:00 AM
 To: softimage@listproc.autodesk.commailto:
 softimage@listproc.autodesk.commailto:
 softimage@listproc.autodesk.commailto:
 softimage@listproc.autodesk.com
 Subject: Re: Friday Flashback

 I think Olivier can still be seen shuddering when Batchserve is
 mentioned in his vicinity :)
 On Sat, Jul 28, 2012 at 4:58 AM, Stephen Blair 
 stephen.bl...@autodesk.commailto:stephen.bl...@autodesk.com
 mailto:stephen.bl...@autodesk.commailto:
 stephen.bl...@autodesk.com wrote:
 Friday Flashback #80
 BatchServe 1.5 the Experience
 http://wp.me/powV4-1YW










-- 
Xavier


Re: custom toolbar under linux

2012-10-04 Thread Xavier Lapointe
I had problem as well sometimes. On some computer that would work, not on
others. Go figure.




On Fri, Oct 5, 2012 at 2:12 PM, Francisco fra...@yahoo.com wrote:

 Just drag and drop from a custom toolbar we already had and wanted to
 reuse ...

 Francisco.

   --
 *From:* Eric Thivierge ethivie...@gmail.com
 *To:* softimage@listproc.autodesk.com
 *Cc:* Francisco fra...@yahoo.com
 *Sent:* Thursday, October 4, 2012 6:54 PM

 *Subject:* Re: custom toolbar under linux

 Yeah if you're copying / pasting from one app to another on linux it
 generally doesn't work. Got to love that!

 
 Eric Thivierge
 http://www.ethivierge.com


 On Fri, Oct 5, 2012 at 11:41 AM, Simon Anderson 
 simonbenandersonl...@gmail.com wrote:

 may be answering a question with a question, but hasn't that got more do
 do with the OS and the version your are running?

 I find sometimes Linux can be a bit tempremental with drag and dropping

 On Fri, Oct 5, 2012 at 11:38 AM, Francisco fra...@yahoo.com wrote:


 Hi all!

 guys does any of you know why Softimage under linux does not allow drag
 and drop tools in a custom toolbar? what am i doing wrong?
 Thanks in advance!

 Francisco Criado.




 --
 ---
 Simon Ben Anderson
 blog: http://vinyldevelopment.wordpress.com/







-- 
Xavier


Re: Python and xsi commands

2012-09-27 Thread Xavier Lapointe
Are you sure a_nodes and a_VC are of the same size?



On Thu, Sep 27, 2012 at 5:09 PM, Szabolcs Matefy szabol...@crytek.comwrote:

 Hi,

 ** **

 I still have issues with this PaintVertexColors command

 ** **

 When I run my script, it gives an error:

 ** **

 # ERROR : 2006-PROP-PaintVertexColors - Unexpected failure.

 # ERROR : Traceback (most recent call last):

 #   File Script Block , line 46, in module

 # Application.PaintVertexColors(OBJ.fullname, a_nodes, a_VC, 1)

 #   File COMObject Application, line 2, in PaintVertexColors

 # COM Error: Out of present range. (0x-7ffdfff6) - [line 46]

 ** **

 ** **

 Anyone with any idea?

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *Szabolcs Matefy
 *Sent:* Wednesday, September 26, 2012 1:43 PM
 *To:* softimage@listproc.autodesk.com
 *Subject:* RE: Python and xsi commands

 ** **

 Thanks Eric, I’ll try it!

 ** **

 *From:* softimage-boun...@listproc.autodesk.com
 [mailto:softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric
 Thivierge
 *Sent:* Wednesday, September 26, 2012 12:17 PM
 *To:* softimage@listproc.autodesk.com
 *Subject:* Re: Python and xsi commands

 ** **

 This code works for me. Make sure you have a CAV map on the object. I used
 a default polymesh sphere.  It's a generic code to set the colors for
 Polynodes 0-99 to red (-16777216).

 ** **

 # Python

 xsi = Application

 log = xsi.LogMessage

 collSel = xsi.Selection

 ** **

 xsi.PaintVertexColors(collSel(0), [x for x in range(100)], [-16777216 for
 x in range(100)], 1)

 ** **

 In general Python lists are interpreted as arrays where needed.


 
 Eric Thivierge
 http://www.ethivierge.com

 On Wed, Sep 26, 2012 at 6:44 PM, Szabolcs Matefy szabol...@crytek.com
 wrote:

 Hey guys,

  

  

 Can I add python list as array? I mean that PaintVertexColors command
 waits for arrays, but can I feed list?

  

 Anyway, it throws me an error:

  

 # ERROR : Traceback (most recent call last):

 #   File Script Block , line 41, in module

 # Application.PaintVertexColors(OBJ.fullname, a_nodes, a_VC)

 #   File COMObject Application, line 2, in PaintVertexColors

 # COM Error: Out of present range. (0x-7ffdfff6) - [line 41]

  

 I made a script that reads ZBrush polypainted obj, and I wnt to make a
 python version to test which version is faster

  

  

 Cheers

  

  

 Szabolcs

 ___
 This message contains confidential information and is intended only for
 the individual named. If you are not the named addressee you should not
 disseminate, distribute or copy this e-mail. Please notify the sender
 immediately by e-mail if you have received this e-mail by mistake and
 delete this e-mail from your system. E-mail transmission cannot be
 guaranteed to be secure or error-free as information could be intercepted,
 corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
 The sender therefore does not accept liability for any errors or omissions
 in the contents of this message, which arise as a result of e-mail
 transmission. If verification is required please request a hard-copy
 version. Crytek GmbH - http://www.crytek.com - Grüneburgweg 16-18, 60322
 Frankfurt - HRB77322 Amtsgericht Frankfurt a. Main- UST IdentNr.:
 DE20432461 - Geschaeftsfuehrer: Avni Yerli, Cevat Yerli, Faruk Yerli

 ** **




-- 
Xavier


Re: Python and xsi commands

2012-09-27 Thread Xavier Lapointe
Here I got :

Application.Logmessage(0xFF00)
# INFO : -16777216

But it's in Softimage Linux.

Does something like this might help?

def toHex(val, nbits):
   return hex((val + (1  nbits)) % (1  nbits))

 print toHex(4278190080, 32)



On Thu, Sep 27, 2012 at 11:51 PM, Szabolcs Matefy szabol...@crytek.comwrote:

 What I figured so far, that the issue is with the values in the array

 ** **

 I have 8 digit hex in text file, and I want to convert it to long, or
 literal hex value…

 ** **

 Funny that the documentation says:

 Each RGBA hexadecimal value takes a byte and is packaged into a long. For
 example, red is *hFF00*, which is packaged into the long value *
 -16777216*

 ** **

 While this Application.Logmessage(0xFF00) logs as 4278190080

 ** **

 It seems that the problem is that Python has 32 and 64bit version of Long
 integer, while Softimage uses the 32bit Long integer (my assumption is
 based upon the value range…)

 ** **

 So the question is how can I convert my hexa values to signed 32 bit long?
 

 ** **

 ** **

 Cheers

 ** **

 ** **

 Szabolcs

 ** **

 ** **

 *From:* softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] *On Behalf Of *Xavier Lapointe
 *Sent:* Thursday, September 27, 2012 3:04 PM

 *To:* softimage@listproc.autodesk.com
 *Subject:* Re: Python and xsi commands

 ** **

 Ehh, that's weird. :(


 I would make sure the data in both array is fine and match (the
 hexadecimal or long values representing the rgb colors that you feed are ok
 by running a small subset of your data, like one or 2 indices) , and maybe
 you could try converting list to tuple.

 ** **

 Other than that, it's quite strange.

 ** **

 ** **




-- 
Xavier


Re: Soft - Maya : 23.98 to 24 FPS Problem

2012-09-26 Thread Xavier Lapointe
I think you can edit this section:
optionMenuGrp -label (uiRes(m_createPrefWndUI.kTime))
-cc (prefWndUnitsChanged \time\)
timeOpts;

string $fps = (uiRes(m_createPrefWndUI.kFps));
string $unitFPS =
(uiRes(m_createPrefWndUI.kUnitFps));
menuItem -label `format -s 15 $fps`;
menuItem -label `format -s Film -s 24
$unitFPS`;
menuItem -label `format -s PAL -s 25
$unitFPS`;
menuItem -label `format -s NTSC -s 30
$unitFPS`;
menuItem -label `format -s Show -s 48
$unitFPS`;
menuItem -label `format -s PAL Field -s 50
$unitFPS`;
menuItem -label `format -s NTSC Field -s 60
$unitFPS`;
menuItem -label
(uiRes(m_createPrefWndUI.kMilliSeconds));
menuItem -label
(uiRes(m_createPrefWndUI.kSecondsItem));
menuItem -label
(uiRes(m_createPrefWndUI.kMinutes));
menuItem -label
(uiRes(m_createPrefWndUI.kHours));
menuItem -label `format -s 2 $fps`;;
menuItem -label `format -s 3 $fps`;;
menuItem -label `format -s 4 $fps`;;
menuItem -label `format -s 5 $fps`;;
menuItem -label `format -s 6 $fps`;;
menuItem -label `format -s 8 $fps`;;
menuItem -label `format -s 10 $fps`;;
menuItem -label `format -s 12 $fps`;;
menuItem -label `format -s 16 $fps`;;
menuItem -label `format -s 20 $fps`;;
menuItem -label `format -s 40 $fps`;;
menuItem -label `format -s 75 $fps`;;
menuItem -label `format -s 80 $fps`;;
menuItem -label `format -s 100 $fps`;;
menuItem -label `format -s 120 $fps`;;
menuItem -label `format -s 125 $fps`;;
menuItem -label `format -s 150 $fps`;;
menuItem -label `format -s 200 $fps`;;
menuItem -label `format -s 240 $fps`;;
menuItem -label `format -s 250 $fps`;;
menuItem -label `format -s 300 $fps`;;
menuItem -label `format -s 375 $fps`;;
menuItem -label `format -s 400 $fps`;;
menuItem -label `format -s 500 $fps`;;
menuItem -label `format -s 600 $fps`;;
menuItem -label `format -s 750 $fps`;;
menuItem -label `format -s 1200 $fps`;;
menuItem -label `format -s 1500 $fps`;;
menuItem -label `format -s 2000 $fps`;;
menuItem -label `format -s 3000 $fps`;;
menuItem -label `format -s 6000 $fps`;;


in /usr/autodesk/maya2012-x64/scripts/startup/createPrefWndUI.mel (or
something similar). Sound a little convoluted though.

Might want to ask Sylvain or Eric, he's been a long time on Maya as far as
I can remember.


Cheers



On Thu, Sep 27, 2012 at 7:22 AM, Alok alok.gan...@modusfx.com wrote:

  Thanks Ben but that only changes the playback speed so the captures can
 be done at custom speeds, but it does not change the fcurves so the
 transform of the object in Maya is exactly the same as the transform of
 object in Softimage at the same frame.

  On 26/09/2012 5:06 PM, Ben Houston wrote:

 Pick other as the Playback speed and then you can set the frame rate
 explicitly in the number box to the right of that in Maya.  Or at least
 that is how I thought it worked.
 -ben

  On Wed, Sep 26, 2012 at 5:03 PM, Alok alok.gan...@modusfx.com wrote:

  We have tracked and animated objects in Softimage at 23.98 fps. We bring
 the animation in Maya, but in Maya there is no custom FPS setting
 available. The closest is 24 FPS, so obviously the animation does not
 match. The only solution I can think is to quickly script to scale the
 FCurves.

 Does that seems to be the approach or is there anything else I can do
 differently.

 Any help much appreciated.

 Thanks.
 --




  --
 Best regards,
 Ben Houston
 Voice: 613-762-4113 Skype: ben.exocortex Twitter: @exocortexcom
 http://Exocortex.com - Passionate CG Software Professionals.

 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2012.0.2221 / Virus Database: 2441/5292 - Release Date: 09/25/12





Re: Soft - Maya : 23.98 to 24 FPS Problem

2012-09-26 Thread Xavier Lapointe
Shawweet.

On Thu, Sep 27, 2012 at 8:50 AM, Alok alok.gan...@modusfx.com wrote:

  Finally solved it. Instead of changing in Maya, I just changed the FPS
 in Softimage from 23.98 to 24.0,  keeping the option of scaling the curves
 and then send animation to Maya. Everything works ! And to imagine a  
 particle
 plugin like *Softimage* could save the day in one second while the 
 *uber big full fledged DCC App like Maya cannot.

 Ahem ! I think you get my point guys ;)

  On 26/09/2012 5:03 PM, Alok wrote:

 We have tracked and animated objects in Softimage at 23.98 fps. We bring
 the animation in Maya, but in Maya there is no custom FPS setting
 available. The closest is 24 FPS, so obviously the animation does not
 match. The only solution I can think is to quickly script to scale the
 FCurves.

 Does that seems to be the approach or is there anything else I can do
 differently.

 Any help much appreciated.

 Thanks.
 --





-- 
Xavier
image/gifAlok_Signature_email_.gif

Re: soft 2013 - multiple workgroups

2012-09-25 Thread Xavier Lapointe
Works well on Linux 2013 as far as I know. Like Eric said works well with
tons of them, but we don't use Arnold/sitoa or the other one stated.


Re: We'll be opening the Softimage beta soon

2012-09-20 Thread Xavier Lapointe
Just signed up. hopefully we'll be able to provide feedback and see what
they do.

Thanks!

On Fri, Sep 21, 2012 at 8:57 AM, Daniel H vfxc...@gmail.com wrote:


 From Cory Mogk:
 Sep-19-2012

 I understand what people are saying and am considering it with other
 things like product planning. I've been in touch with some people through
 email and some in person. Anyone can send me a direct message through the
 Area or email (my name is Cory Mogk and our email structure is:
 firstname.lastn...@autodesk.com)

 We'll be opening the Softimage beta soon and I invite people who haven't
 participated before to sign up at https://beta.autodesk.com You can see
 what we're doing, try it out and we can discuss things that you would like
 to see in the future with the team.


 Daniel
 VFXM




-- 
Xavier


Re: Python on Linux

2012-09-18 Thread Xavier Lapointe
Hmm, but this can have nasty side effects (recently experienced it).
Someone pointed out to me that you can actually pass the *env *keyword
argument in the subprocess call and pass a *copy *of the current
environment instead (with necessary modifications).


On Fri, Sep 14, 2012 at 12:33 AM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Hey X,

 About the 3rd item, you just need to make sure the system libraries are
 loaded before XSI's own by putting them first in the 
 *LD_LIBRARY_PATH*environment variable.

 Here's a workaround sample code to start subprocesses in Linux that worked
 for me last time:

 import osimport subprocess

 inLinux = Application.Platform.startswith(Linux)if inLinux:
 exe = XSIUtils.BuildPath( pDir, executable)
 ldEnv = LD_LIBRARY_PATH
 sysLibDir = r/usr/lib64
 ld_oldVal = os.environ[ldEnv]
 os.environ[ldEnv] = sysLibDir+:+os.environ[ldEnv]

 command = r'/path/to/awesome/tool blablabla arguments here'
 proc = subprocess.Popen( command.split(), stdout=subprocess.PIPE, 
 stderr=subprocess.PIPE )
 out, err = proc.communicate()print stdout: %s % outprint return code: %s 
 % err
 if inLinux:
 # Reset to old values like the good samaritan coder we are. :p
 os.environ[ldEnv] = ld_oldVal


 As a matter of fact, it was thanks to you that I figured this one out at
 the time. :p

 Cheers,

-- Alan


 On Tue, Sep 11, 2012 at 8:19 PM, Xavier Lapointe xl.mailingl...@gmail.com
  wrote:


- You might have to import __*future*__ in order to have access to
some statement like *with*
- The @property decorator does not work
- Keep in mind that if you use a newer version of linux that the one
supported, you might have trouble starting subprocesses, since the libc
version coming with soft will override the one on the system (but it's
still possible).
- For plugins it should be too bad, but for libs, I would consider
running some unittest if I were you


 Cheers





-- 
Xavier


Re: Python on Linux

2012-09-11 Thread Xavier Lapointe
On Wed, Sep 12, 2012 at 10:19 AM, Xavier Lapointe
xl.mailingl...@gmail.comwrote:


- You might have to import __*future*__ in order to have access to
some statement like *with*
- The @property decorator does not work
- Keep in mind that if you use a newer version of linux that the one
supported, you might have trouble starting subprocesses, since the libc
version coming with soft will override the one on the system (but it's
still possible).
- For plugins it should be too bad, but for libs, I would consider
running some unittest if I were you


 Cheers

 *For plugins it should*n't* be too bad,


-- 
Xavier


Re: XSIBase safe?

2012-09-04 Thread Xavier Lapointe
You can still open it up in google chrome Incognito mode and fire up the
debugger/console and have a look at what gets loaded. You should be able to
see any cross referencing to external website.

I wouldn't go if I were you (:

On Wed, Sep 5, 2012 at 12:25 AM, Eric Thivierge ethivie...@gmail.comwrote:

 As far as you know... :)

 
 Eric Thivierge
 http://www.ethivierge.com


 On Wed, Sep 5, 2012 at 12:21 AM, Luc-Eric Rousseau luceri...@gmail.comwrote:

 I've been going every day with Google Chrome, nothing's happened.




-- 
Xavier


Re: Small Annoying Things

2012-08-30 Thread Xavier Lapointe
So Luc-Eric, that means that we are stuck pretty much for ever and ever on
Python2.5 unless the new team rewrite Soft and get rid of Mainwin (...
seems unlikely.)?


Re: Small Annoying Things

2012-08-27 Thread Xavier Lapointe
Dispatch Issue in Python  :)

This is __super__ annoying.


Re: Softimage Bundles..... please remove

2012-08-25 Thread Xavier Lapointe
Was about to do a bad joke about the recent layoff. Just wanted to let you
know.

This is Sheldon Cooper.

On Sat, Aug 25, 2012 at 6:59 PM, Thomas Helzle thomashel...@gmail.comwrote:

 Try smoke signs!
 They are such a visual company ;-)

 Cheers,

 Tom


 On 24 August 2012 15:38, Stefan Andersson sander...@gmail.com wrote:

 Hello Everyone,

 Even though it's not a everyday thing, but it would be nice to be able to
 download Softimage WITHOUT having to get MatchMover and Composite. Why
 don't they just have downloads for each package? I still haven't heard
 about a single person who actually uses Composite, or even MatchMover these
 days. Seems like a big waste of bandwidth if you ask me.

 I know I'm talking to deaf ears... just wanted to say it.


 regards
 stefan



 --
 stefan andersson - digital janitor - http://sanders3d.wordpress.com





-- 
Xavier


Re: Device Driver

2012-08-23 Thread Xavier Lapointe
... gotta start somewhere.


Re: Device Driver

2012-08-23 Thread Xavier Lapointe
Bcccaaauuueee, I don't want to use the mouse driver, but write
something else and use it as a base (:





On Thu, Aug 23, 2012 at 11:35 PM, Alan Fregtman alan.fregt...@gmail.comwrote:

 Hey Mr. X,

 Why are you compiling it? It comes already compiled. The sourcecode is
 given in the XSI_SAMPLES just for educational purposes.

 I've tried the Mouse driver as it comes in my Soft in Linux and it works
 just fine. :)

 Cheers,

-- Alan


 On Thu, Aug 23, 2012 at 1:12 AM, Xavier Lapointe xl.mailingl...@gmail.com
  wrote:

 Hey guys,

 Have anyone give a shot to the Mouse Device driver example in Softimage
 2012 on Linux? It compiles fine, loads fine in Soft, the device parser
 tells everything is ok, but can't see any logging on the
 Activate/DeActivate callback, nothing seems to happen either when using it.

 I thought the example would have the same behavior as the existing Mouse
 driver.

 Also, in the make file there's this line:

 include $(MWHOME)/make.rules.simple

 And this file seems to be missing. Had to remove the line and use our
 custom make config  (I doubt this has anything to do with it anyway --
 would have complain at compile time, right?).

 Can someone confirm this?

 Thanks!

 --
 Xavier





-- 
Xavier


Re: Small Annoying Things

2012-08-16 Thread Xavier Lapointe
Meh ..

   - Expose a Color object in scripting so we don't have to create a light,
   and query the OGLLight ... this is really annoying.
   - Fix the Copy/Paste in Linux(!?!)
   - Euler filter (that works) in the Animation Editor


I'm sure there are many little things here and there but .. this is what I
came across recently.


Re: Scripting Development with an external IDE

2012-05-29 Thread Xavier Lapointe
Erratum: The link I sent is not about codeintel directly but the new syntax
checker, just had this name in mind, hehe.

Anyway syntax checker and
https://github.com/Kronuz/SublimeCodeIntel/https://github.com/Kronuz/SublimeCodeIntel/tree/master/libs
are
pretty convenient.

2012/5/29 Xavier Lapointe xl.mailingl...@gmail.com

 As far as I know code completion is not available for various reason out
 of the box, but you could probably generate codeintel files for Komodo (and
 maybe this is also compatible with Sublime)
 http://www.activestate.com/blog/2012/02/diving-deep-komodos-syntax-checker
 (Not sure you want to go down that path tho)

 The raw setup would be to enable auto-reload in the Softimage Script
 Editor and set your IDE to the same settings as Soft's (4 spaces tab,
 replace tab with spaces, etc -- avoiding weird behavior if for any reason
 you want to do a quick edit in Soft directly). You could also point to your
 external IDE with the proper path in the preferences.

 .. and as I'm writting these lines, I just saw Alan's answer, so yes, same
 as him too (:

 Cheers




 2012/5/29 Leo Quensel le...@gmx.de

 Hey guys,

 I am trying to find out how to properly develop python scripts using an
 external IDE.
 In Maya this works pretty well by using the mayapy.exe as the interpreter
 and enables code completion for Maya commands in Eclipse.
 Is there any way to do this for Soft?
 How is everyone doing (Python) script development?

 Cheers,
 Leo
 --
 NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
 Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a




 --
 Xavier




-- 
Xavier


Re: Uh oh, GoogleGroups archive admin, you need to confirm

2012-05-29 Thread Xavier Lapointe
Why is it always doing this?

Oops! Google Chrome could not find listproc.autodesk.com


2012/5/29 Alan Fregtman alan.fregt...@gmail.com

 https://groups.google.com/forum/?fromgroups#!topic/xsi_list/TowIZVpByOQ




-- 
Xavier


Re: Uh oh, GoogleGroups archive admin, you need to confirm

2012-05-29 Thread Xavier Lapointe
Ah.

2012/5/29 Stephen Blair stephen.bl...@autodesk.com

 That account is currently enabled, so it is ok.

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Alan Fregtman
 Sent: May-29-12 9:42 AM
 To: XSI Mailing List
 Subject: Uh oh, GoogleGroups archive admin, you need to confirm

 https://groups.google.com/forum/?fromgroups#!topic/xsi_list/TowIZVpByOQ




-- 
Xavier


Re: Scripting Development with an external IDE

2012-05-29 Thread Xavier Lapointe
Sweet (: Make sure to install Package Control (the link Alan sent), they
are all in there.

2012/5/29 Guillaume Laforge guillaume.laforge...@gmail.com

 Thanks for the link Xavier :), I will give it a try !


 On Tue, May 29, 2012 at 12:30 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

 https://github.com/Kronuz/SublimeCodeIntel does this for you, but maybe
 it's not as good as PyDev ... not sure.

 But yes, the Python Debugger is a missing point. There's one I've seen in
 the Package Control called SublimeXDebug
 https://github.com/Kindari/SublimeXdebug, but it's probably not as good
 as PyDev or Komodo (i remember we could visually inspect the Python stack).

 This guy has a good amount of package that you can install to enhance the
 Sublime: https://github.com/Kronuz

 Cheers




 2012/5/29 Guillaume Laforge guillaume.laforge...@gmail.com

 Did you find any good python debugger package for Sublime ? For me it is
 the missing point, but maybe I didn't search correctly ?
 Also the auto-completion is cool but doesn't search for imported modules
 and doesn't filter methods on instantiated objects:-/
 All those stuffs are standard in Eclipse/PyDev.


 On Tue, May 29, 2012 at 12:06 PM, Alok Gandhi alok.gandhi2...@gmail.com
  wrote:

 Sublime has tons of autocompletion feature, for example in one stroke
 you generate code for a class with all the necessary function like
 __init__. You can do multiline edit with just one change. If you have a
 variable 'foo' in used in multilines of your code, you can change it at one
 place and all the other occurrences gets updated. There is a whole gamut of
 color coding with infinite color combinations. You can define your own
 color coding. There are just few of the features. I can not do much justice
 to it as I personally do not use it a lot, but I always hear great things
 about it. May be others can fill you on in this. But remember that sublime
 is only a text editor, not an IDE.





 --
 Xavier





-- 
Xavier


Re: Softimage and Fedora14 - help please!

2012-05-23 Thread Xavier Lapointe
Not sure it's going to help here, but make sure that your /etc/host has not
being regenerated by the Network Manager. It does happen on CentOS 6, not
sure about Fedora 14. You can prevent this from happening by running this
command as root:

chattr +i /etc/hosts


Also, make sure you did all the fixes mentioned on the xsi support blog.

One of them:
http://xsisupport.wordpress.com/2011/01/19/the-case-of-the-slow-2011-startup-on-fedora-14/

But I would think that it should be pretty straight forward on FC14 ...




2012/5/23 Christoph Muetze c...@glarestudios.de

 Hey Sean,

 thanks for jumping in and helping out! this actually helped a lot to
 narrow the problem down..

 if i try what you suggested then soft starts up (very slowly) and gets
 past the splashscreen, opens the netview and then segfaults the moment the
 ogl-viewports are drawn.

 disabling the ogl-viewports (via this description -
 http://usa.autodesk.com/adsk/**servlet/ps/dl/item?siteID=**
 123112id=14691242linkID=**12544120http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112id=14691242linkID=12544120)
 lets me fully start softimage, it takes ages and i can't do a thing without
 ogl-views, but there are no segfaults and no freezing.. so that's a partial
 success, i guess :)

 interestingly enough, if if just disable the the ogl-viewports without
 removing the x11-patch then soft freezes up right after the splashscreen
 again..

 here is the end of the segfault-strace, i can provide the full log (which
 is over 17megs) if necessary...

 
 [...]
 stat(/home/gizmo/Autodesk/**Softimage_2013/_DSRTL.MTT,
 {st_mode=S_IFREG|0664, st_size=38808, ...}) = 0
 chmod(/home/gizmo/Autodesk/**Softimage_2013/DSRTL.MTT, 0100664) = 0
 lstat(/home/gizmo/Autodesk/**Softimage_2013/wireframe5d7bee**
 a2a52d11e135f74f68.bt http://wireframe5d7beea2a52d11e135f74f68.bt,
 {st_mode=S_IFREG|0664, st_size=2539, ...}) = 0
 close(43)   = 0
 write(27, Failed to save scene before syst..., 43) = 43
 write(27, \n, 1)  = 1
 lseek(45, 1024, SEEK_SET)   = 1024
 write(45, R\0o\0o\0t\0 \0E\0n\0t\0r\0y\0\0\0\0\0\0\0\**0\0\0\0\0\0...,
 512) = 512
 close(45)   = 0
 stat(/var/tmp/XSI_Temp_11756/**ViewSetup.DSViewSettings,
 {st_mode=S_IFREG|0664, st_size=1536, ...}) = 0
 access(/var/tmp/XSI_Temp_**11756/ViewSetup.**DSViewSettings, W_OK) = 0
 unlink(/var/tmp/XSI_Temp_**11756/ViewSetup.**DSViewSettings) = 0
 munmap(0x7fa15004c000, 16384)   = 0
 unlink(/var/tmp/Mw_gizmo/**B95CB68D7A32B46ED2E7DB90B5DDF2**95.1052890.tmp.53)
 = 0
 munmap(0x7fa11e4f7000, 2097152) = 0
 unlink(/var/tmp/Mw_gizmo/**B95CB68D7A32B46ED2E7DB90B5DDF2**95.1052890.tmp.52)
 = 0
 lseek(55, 1024, SEEK_SET)   = 1024
 write(55, R\0o\0o\0t\0 \0E\0n\0t\0r\0y\0\0\0\0\0\0\0\**0\0\0\0\0\0...,
 512) = 512
 close(55)   = 0
 stat(/var/tmp/XSI_Temp_11756/**ViewSetupSequence.**DSViewSettings,
 {st_mode=S_IFREG|0664, st_size=1536, ...}) = 0
 access(/var/tmp/XSI_Temp_**11756/ViewSetupSequence.**DSViewSettings,
 W_OK) = 0
 unlink(/var/tmp/XSI_Temp_**11756/ViewSetupSequence.**DSViewSettings) = 0
 munmap(0x7fa1495f6000, 16384)   = 0
 unlink(/var/tmp/Mw_gizmo/**B95CB68D7A32B46ED2E7DB90B5DDF2**95.1052890.tmp.56)
 = 0
 munmap(0x7fa1197cf000, 2097152) = 0
 unlink(/var/tmp/Mw_gizmo/**B95CB68D7A32B46ED2E7DB90B5DDF2**95.1052890.tmp.55)
 = 0
 sched_yield()   = 0
 --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} (Segmentation
 fault) ---
 +++ killed by SIGSEGV (core dumped) +++
 

 has anyone any idea on how to proceed from here?

 (thanks for hanging on in there with me!)

 cheers!
 chris


 On 05/23/2012 10:35 PM, Sean Donnelly wrote:

 Are you still stuck at the problem where once you start XSI it shows the
 splashscreen and then hangs?  If so then you can try removing the X11 patch
 by editing the  ${MWHOME}/scripts/.mwenv file and looking for the
 x11patch line.  There you should see where it checks for various fedora
 versions and sets the x11patch for fc14.  You could temporarily comment
 that line (should be line 17) and then source the .xsi??? file again.  This
 will remove that X11 patch folder from your LD_LIBRARY_PATH.  Now see if
 XSI starts up correctly.

 Note: without this patch you may notice viewport performance problems.
  So this should not be used as a permanent solution to your problem.

 Sean


 -Original Message-
 From: 
 softimage-bounces@listproc.**autodesk.comsoftimage-boun...@listproc.autodesk.com[mailto:
 softimage-bounces@**listproc.autodesk.comsoftimage-boun...@listproc.autodesk.com]
 On Behalf Of Christoph Muetze
 Sent: Wednesday, May 23, 2012 11:50 AM
 To: softimage@listproc.autodesk.**com softimage@listproc.autodesk.com
 Subject: Re: Softimage and Fedora14 - help please!

 yes, i have...

 On 05/23/2012 05:36 PM, Sean Donnelly wrote:

 Have you disabled selinux?


 -Original 

Re: Soft Crashes on DeleteObj() command calls

2012-05-14 Thread Xavier Lapointe
Not really helping, but i remember we had this issue 1 or 2 years ago.
Mostly happens on big selections right?

If you can reproduce the crash consistently over a set of objects, maybe
you could try the following approaches:

   - Loop over the selection and delete them one by one
   - Slice the selection in group of N objects
   -
   - xsi.Desktop.RedrawUI() or xsi.SceneRefresh()
  - These 2 are wild guesses, but I remember solving a consistent scene
  crashes while doing batch operations and those solved it.


Good luck (And hopefully they can solve this.)




2012/5/14 Alok Gandhi alok.gandhi2...@gmail.com

 It has been a long time since I am dealing with this bug. Sometimes, when
 I call the Application.DeleteObj() command in python (though not sure for
 Java or VB), it crashes. This is not a consistent behaviour and is hence it
 is not easy to repro.  Has anyone else dealt with this issue before ?

 --




-- 
Xavier


[Python] global variable issue on linux

2012-05-11 Thread Xavier Lapointe
Hey guys,

This one really surprised me. I tend to avoid global variable in Softimage
plugins as much as I can, but sometimes it might be convenient.

So basically, I wanted to use a global variable ( simple Python Dictionary
) to keep some stuff in reference while interacting with a PPG. I remember
clearly that it was working well under Windows, so
I assume this is a python 2.5 Linux issue (if this is an issue - please
tell me if this is normal under Soft with python 2.5).

Here's basically what I was trying to do:

[imports ]

 # Global Scope

 LAST_SELECTION = {
 'project': {},
 'category': '',
 'entities': [],
 }

 def CustomCommand_Execute():
 global LAST_SELECTION
 [Do some modifications to LAST_SELECTION]



Following this pattern:

   - Prompt the PPG
   - Interact with the UI
   - The custom command is fired - do some modifications to LAST_SELECTION
   - hit another PPG UI
   - Hell the LAST_SELECTION global is back to the inital value!

I've been tracing the LAST_SELECTION variable with id(), and it's changing
every time I interact with the UI; showing clearly that there is something
nasty going on under the hood (?)

Any idea to get this working?

Alan mentioned the Application.SetGlobal/Application.GetGlobal functions
... but still, this should be working natively, isn't?

Thanks!

-- 
Xavier


Re: [Python] global variable issue on linux

2012-05-11 Thread Xavier Lapointe
Hm, yes I could store it in a parameter or another way ... just this feels
hacky to get something basic done (granted no refresh happend during the
plugin execution).

This should work, like Matt mentioned :/

Oh well.




2012/5/11 Alok Gandhi alok.gandhi2...@gmail.com

 I am not sure whether this works under windows as well, the plugin script
 can get refreshed and all your global variables will be re-initialized. The
 only good approaches that I have been using is to store the varaibles in
 UIITems lists. This works well for the 3D com objects as well. Another idea
 would be to pass on objects returning through a safe array from the
 commands itself.


 On Fri, May 11, 2012 at 9:13 PM, Xavier Lapointe xl.mailingl...@gmail.com
  wrote:


 hit another PPG UI Item ***

 ... All happening under the same Property page.

 2012/5/11 Xavier Lapointe xl.mailingl...@gmail.com

 Hey guys,

 This one really surprised me. I tend to avoid global variable in
 Softimage plugins as much as I can, but sometimes it might be convenient.

 So basically, I wanted to use a global variable ( simple Python
 Dictionary ) to keep some stuff in reference while interacting with a PPG.
 I remember clearly that it was working well under Windows, so
 I assume this is a python 2.5 Linux issue (if this is an issue - please
 tell me if this is normal under Soft with python 2.5).

 Here's basically what I was trying to do:

 [imports ]

 # Global Scope

 LAST_SELECTION = {
 'project': {},
 'category': '',
 'entities': [],
 }

 def CustomCommand_Execute():
 global LAST_SELECTION
 [Do some modifications to LAST_SELECTION]



 Following this pattern:

- Prompt the PPG
- Interact with the UI
- The custom command is fired - do some modifications to
LAST_SELECTION
- hit another PPG UI
- Hell the LAST_SELECTION global is back to the inital value!

 I've been tracing the LAST_SELECTION variable with id(), and it's
 changing every time I interact with the UI; showing clearly that there is
 something nasty going on under the hood (?)

 Any idea to get this working?

 Alan mentioned the Application.SetGlobal/Application.GetGlobal functions
 ... but still, this should be working natively, isn't?

 Thanks!

 --
 Xavier




 --
 Xavier




 --




-- 
Xavier


Re: [Python] global variable issue on linux

2012-05-11 Thread Xavier Lapointe
I'll add some context:

   - everything lives in the same plugin
   - I tried storing it in a container coming from an imported module
   - tried accessing and setting the global variable directly in the
   globals() dictionary
   - Grumble Gumble.




2012/5/11 Alok Gandhi alok.gandhi2...@gmail.com

 Yes if PPG is not getting refreshed then this seems weird. The only thing
 that comes to mind is maybe the custom command execution is making things
 go wrong. What if you use a function declared inside the plugin instead of
 calling the custom command ? or maybe the custom command should be
 implemented in the same plugin as the PPG, this does not make sense but is
 worth a try.


 On Fri, May 11, 2012 at 9:24 PM, Xavier Lapointe xl.mailingl...@gmail.com
  wrote:

 Hm, yes I could store it in a parameter or another way ... just this
 feels hacky to get something basic done (granted no refresh happend during
 the plugin execution).

 This should work, like Matt mentioned :/

 Oh well.




 2012/5/11 Alok Gandhi alok.gandhi2...@gmail.com

 I am not sure whether this works under windows as well, the plugin
 script can get refreshed and all your global variables will be
 re-initialized. The only good approaches that I have been using is to store
 the varaibles in UIITems lists. This works well for the 3D com objects as
 well. Another idea would be to pass on objects returning through a safe
 array from the commands itself.


 On Fri, May 11, 2012 at 9:13 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:


 hit another PPG UI Item ***

 ... All happening under the same Property page.

 2012/5/11 Xavier Lapointe xl.mailingl...@gmail.com

 Hey guys,

 This one really surprised me. I tend to avoid global variable in
 Softimage plugins as much as I can, but sometimes it might be convenient.

 So basically, I wanted to use a global variable ( simple Python
 Dictionary ) to keep some stuff in reference while interacting with a PPG.
 I remember clearly that it was working well under Windows, so
 I assume this is a python 2.5 Linux issue (if this is an issue -
 please tell me if this is normal under Soft with python 2.5).

 Here's basically what I was trying to do:

 [imports ]

 # Global Scope

 LAST_SELECTION = {
 'project': {},
 'category': '',
 'entities': [],
 }

 def CustomCommand_Execute():
 global LAST_SELECTION
 [Do some modifications to LAST_SELECTION]



 Following this pattern:

- Prompt the PPG
- Interact with the UI
- The custom command is fired - do some modifications to
LAST_SELECTION
- hit another PPG UI
- Hell the LAST_SELECTION global is back to the inital value!

 I've been tracing the LAST_SELECTION variable with id(), and it's
 changing every time I interact with the UI; showing clearly that there is
 something nasty going on under the hood (?)

 Any idea to get this working?

 Alan mentioned the
 Application.SetGlobal/Application.GetGlobal functions ... but still, this
 should be working natively, isn't?

 Thanks!

 --
 Xavier




 --
 Xavier




 --




 --
 Xavier




 --




-- 
Xavier


Re: [Python] global variable issue on linux

2012-05-11 Thread Xavier Lapointe
Tried your solution but could not get it to work :(


Found a way, but I would need to understand the internal mechanism to
reproduce it more cleanly.

from win32com.client import constants
 constants.__dicts__.append({'PLUGIN_GLOBAL_SCOPE': None,'project':
 {},'category': '','entities': []})
 container = [d for d in constants.__dicts__ if 'PLUGIN_GLOBAL_SCOPE' in
 d][0]



Far from being ideal ...


2012/5/11 Alok Gandhi alok.gandhi2...@gmail.com

 One last thing, I checked one plugin where this works, of course in
 windows, but in my code I do not use 'global ' keyword when accesing the
 global dict. Something like this:
 globalDict = {}

 def _setGlobalDict(inObj=None, meshData=None):
 if inObj:
 globalDict['obj'] = inObj # no use of 'global' here.

 if meshData:
 globalDict['data'] = meshData

 return True

 and then I call _setGlobalDict() wherever I need to.


 On Fri, May 11, 2012 at 9:37 PM, Xavier Lapointe xl.mailingl...@gmail.com
  wrote:

 I'll add some context:

- everything lives in the same plugin
- I tried storing it in a container coming from an imported module
- tried accessing and setting the global variable directly in the
globals() dictionary
- Grumble Gumble.




 2012/5/11 Alok Gandhi alok.gandhi2...@gmail.com

 Yes if PPG is not getting refreshed then this seems weird. The only
 thing that comes to mind is maybe the custom command execution is making
 things go wrong. What if you use a function declared inside the plugin
 instead of calling the custom command ? or maybe the custom command should
 be implemented in the same plugin as the PPG, this does not make sense but
 is worth a try.


 On Fri, May 11, 2012 at 9:24 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:

 Hm, yes I could store it in a parameter or another way ... just this
 feels hacky to get something basic done (granted no refresh happend during
 the plugin execution).

 This should work, like Matt mentioned :/

 Oh well.




 2012/5/11 Alok Gandhi alok.gandhi2...@gmail.com

 I am not sure whether this works under windows as well, the plugin
 script can get refreshed and all your global variables will be
 re-initialized. The only good approaches that I have been using is to 
 store
 the varaibles in UIITems lists. This works well for the 3D com objects as
 well. Another idea would be to pass on objects returning through a safe
 array from the commands itself.


 On Fri, May 11, 2012 at 9:13 PM, Xavier Lapointe 
 xl.mailingl...@gmail.com wrote:


 hit another PPG UI Item ***

 ... All happening under the same Property page.

 2012/5/11 Xavier Lapointe xl.mailingl...@gmail.com

 Hey guys,

 This one really surprised me. I tend to avoid global variable in
 Softimage plugins as much as I can, but sometimes it might be 
 convenient.

 So basically, I wanted to use a global variable ( simple Python
 Dictionary ) to keep some stuff in reference while interacting with a 
 PPG.
 I remember clearly that it was working well under Windows, so
 I assume this is a python 2.5 Linux issue (if this is an issue -
 please tell me if this is normal under Soft with python 2.5).

 Here's basically what I was trying to do:

 [imports ]

 # Global Scope

 LAST_SELECTION = {
 'project': {},
 'category': '',
 'entities': [],
 }

 def CustomCommand_Execute():
 global LAST_SELECTION
 [Do some modifications to LAST_SELECTION]



 Following this pattern:

- Prompt the PPG
- Interact with the UI
- The custom command is fired - do some modifications to
LAST_SELECTION
- hit another PPG UI
- Hell the LAST_SELECTION global is back to the inital value!

 I've been tracing the LAST_SELECTION variable with id(), and it's
 changing every time I interact with the UI; showing clearly that there 
 is
 something nasty going on under the hood (?)

 Any idea to get this working?

 Alan mentioned the
 Application.SetGlobal/Application.GetGlobal functions ... but still, 
 this
 should be working natively, isn't?

 Thanks!

 --
 Xavier




 --
 Xavier




 --




 --
 Xavier




 --




 --
 Xavier




 --




-- 
Xavier


Get real translation information from weighted mesh

2012-04-30 Thread Xavier Lapointe
Hey guys,

pretty sure some of you are familiar with that kind of problem.

I've a car rig where some part are only deformed (translated) by
hierarchy/constraints, and some are skinned on a deformer.

Let say we use the wheel as example. When I retrieve the wheel 4x4 matrix,
it will give me its neutral translation (near origin), but not its real
position in space (might be N units away). Is there a way I can get it? I
thought of couple of ways, but nothing trivial.

Any hints would be appreciated.

Thanks!

-- 
Xavier


Re: Get real translation information from weighted mesh

2012-04-30 Thread Xavier Lapointe
Hey Ahmidou,

Yup the hierarchy/constraint based this isn't a problem.

For the skinned ones, getting the deformer's global transform was something
I was considering, so since you bring that up: is it a safe way? Let say
you have a mesh deformed by 50 deformers (like a character body), I would
need to calculate the center of all my deformers right?

Thanks!


Re: install directories

2012-04-27 Thread Xavier Lapointe
On Linux it's /usr/Softimage/[Soft Version]

But for other reasons we go outside of the system directories in our place.


2012/4/27 Alok Gandhi alok.gan...@modusfx.com

  In the defualt folders on windows C:\Program Files\Autodesk\Softimage
 2012.SAP and I am guessing on linux would be \usr\local\


 On 4/27/2012 2:10 PM, Steven Caron wrote:

 alan jones' find_softimage module already works on linux and windows, his
 module is simple and is easy to maintain. i have no intentions to rewrite
 this module. i also have no experience programming for the OS on linux and
 very little with windows, i dont have access to a linux machine to test it.
 lastly, its boring work that i have not interest in doing or supporting.

  thanks for the suggestions. now... where do you install softimage? :)

  s

 On Fri, Apr 27, 2012 at 11:01 AM, Alok Gandhi 
 alok.gandhi2...@gmail.comwrote:

   well its cmake, i wouldn't want to put too many windows specific
 functions for finding software through the registry.

  You can always use sys.platorm/sys.platform.startswith in pyscript to
 make it work with darwin, win and linux. It makes more sense to have
 something that's all procedural and still works on all platforms.


  No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2012.0.1831 / Virus Database: 2090/4557 - Release Date: 10/17/11
 Internal Virus Database is out of date.




-- 
Xavier
Alok_Signature_email_.gif

Re: Intro to the new team (was RE: Softimage development)

2012-04-19 Thread Xavier Lapointe
Hey Steven, you were missing Manny Papamanos on the support team (;


Re: Softimage development

2012-04-18 Thread Xavier Lapointe
I thought it was more incriminating for me than you, hehe. Kinda
double-edged sword.
I value experiences a lot, and having that insight from you is really
appreciated.

Cheers


2012/4/18 Brent McPherson brent.mcpher...@autodesk.com

 Thanks for making me feel old. :-(

 I loved the time I spend designing and working on Maya. It was a great
 experience and I was every bit as passionate about that product as I am
 with Softimage. Leaving was nothing personal and I simply wanted to move to
 the UK for family reasons and that was something SGI couldn't help me with
 at the time. In software development (like production) it never hurts to
 learn different systems and understand their respective strengths and
 weaknesses.

 In fact, I still have my Maya 1.0 release CD proudly on display above my
 desk. It looms over my Softimage stamp. ;-)

 http://xsisupport.wordpress.com/2011/04/15/

 [cid:image001.png@01CD1D85.39526750]
 --
 Brent

 From: softimage-boun...@listproc.autodesk.com [mailto:
 softimage-boun...@listproc.autodesk.com] On Behalf Of Xavier Lapointe
 Sent: 18 April 2012 16:44
 To: softimage@listproc.autodesk.com
 Subject: Re: Softimage development

 hmm, 14 years ago I was still in elementary school. Aouch.

 Thanks for the historical lesson (;




-- 
Xavier


Re: Softimage development

2012-04-17 Thread Xavier Lapointe
Don't forget it's normal for people to move on new projects. If it wasn't
of the acquisition years ago / Autodesk aura, would it be that big of a
deal?


Re: 2012 SAP stability (or... not so much...)

2012-04-17 Thread Xavier Lapointe
Might be handy:

http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

2012/4/17 Xavier Lapointe xl.mailingl...@gmail.com

 I don't know what you've tried so far except runonce and the user's
 Autodesk folder reset, but I would also suggest to remove all external
 addons/plugins/workgroup (not provided with Soft), and see if you
 experience the same crash. If you don't, then you know your problem lies
 somewhere in there. Having a virgin Autodesk directory would be a good
 thing too, I've seen crashes with custom UI Layout sometimes, even if they
 were not in use.

 You could also try any equivalent of strace (linux) on windows ... I think
 there's one. Might tell you at which point it's crashing.





-- 
Xavier


Re: 2012 SAP stability (or... not so much...)

2012-04-17 Thread Xavier Lapointe
An article from xsisupport that might be related:

http://xsisupport.wordpress.com/2011/08/27/the-case-of-the-missing-registry-values/



2012/4/17 Xavier Lapointe xl.mailingl...@gmail.com

 Might be handy:

 http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx


 2012/4/17 Xavier Lapointe xl.mailingl...@gmail.com

 I don't know what you've tried so far except runonce and the user's
 Autodesk folder reset, but I would also suggest to remove all external
 addons/plugins/workgroup (not provided with Soft), and see if you
 experience the same crash. If you don't, then you know your problem lies
 somewhere in there. Having a virgin Autodesk directory would be a good
 thing too, I've seen crashes with custom UI Layout sometimes, even if they
 were not in use.

 You could also try any equivalent of strace (linux) on windows ... I
 think there's one. Might tell you at which point it's crashing.





 --
 Xavier




-- 
Xavier