Re: Weight Tools

2016-04-12 Thread Jason S

  
  

  

  

  On 04/09/16 1:08, Martin wrote:

[...]  Since its been a little tricky to get PySide working with Softimage, I'd like to release a "ready to use" workgroup version including those PySide module folders and PyQTfS.


  

  
  
  That should have been done ages ago!   Would've further
  standardized PyQt usage with Soft.
  
  And thanks for the initiative for that, as well as for this nifty
  tool!
  
  -J
  
  On 04/09/16 1:08, Martin wrote:


  Hi, I have my Weight tool almost finished and I'm thinking in releasing it once it's been tested on our current project.

I'm using PySide for 2.6 (SI 2013) and 2.7 (2014 and 2015), and PyQTforSoftimage. Since its been a little tricky to get PySide working with Softimage, I'd like to release a "ready to use" workgroup version including those PySide module folders and PyQTfS.

I have no idea about intellectual property licenses (I'm reading, but those legal terms and license types are kinda confusing), is there any legal issue I should be aware of? Can I include PySide ?

Thanks

Martin
Sent from my iPhone
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.



  

--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: Weight Tools

2016-04-12 Thread Martin Yara
Gracias Cesar por los links!

I'll take a look and hopefully, get an idea of what to do ^^;

Martin

On Sat, Apr 9, 2016 at 6:15 PM, Cesar Saez  wrote:

> Hi Martin,
>
> That's great! here are a few relevant links on licensing.
>
> tl;dr:Legal
> - PySide (LGPL v2.1)
> 
> - PyQt (GPL v3)
> .
>
> There's also a License FAQ
>  on PyQt's
> website (the trickiest one).
>
> Cheers!
>
> On Sat, Apr 9, 2016 at 3:08 PM, Martin  wrote:
>
>> Hi, I have my Weight tool almost finished and I'm thinking in releasing
>> it once it's been tested on our current project.
>>
>> I'm using PySide for 2.6 (SI 2013) and 2.7 (2014 and 2015), and
>> PyQTforSoftimage. Since its been a little tricky to get PySide working with
>> Softimage, I'd like to release a "ready to use" workgroup version including
>> those PySide module folders and PyQTfS.
>>
>> I have no idea about intellectual property licenses (I'm reading, but
>> those legal terms and license types are kinda confusing), is there any
>> legal issue I should be aware of? Can I include PySide ?
>>
>> Thanks
>>
>> Martin
>> Sent from my iPhone
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: Weight Tools

2016-04-09 Thread Cesar Saez
Hi Martin,

That's great! here are a few relevant links on licensing.

tl;dr:Legal
- PySide (LGPL v2.1)

- PyQt (GPL v3)
.

There's also a License FAQ
 on PyQt's
website (the trickiest one).

Cheers!

On Sat, Apr 9, 2016 at 3:08 PM, Martin  wrote:

> Hi, I have my Weight tool almost finished and I'm thinking in releasing it
> once it's been tested on our current project.
>
> I'm using PySide for 2.6 (SI 2013) and 2.7 (2014 and 2015), and
> PyQTforSoftimage. Since its been a little tricky to get PySide working with
> Softimage, I'd like to release a "ready to use" workgroup version including
> those PySide module folders and PyQTfS.
>
> I have no idea about intellectual property licenses (I'm reading, but
> those legal terms and license types are kinda confusing), is there any
> legal issue I should be aware of? Can I include PySide ?
>
> Thanks
>
> Martin
> Sent from my iPhone
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: Weight Tools

2016-04-08 Thread Martin
Hi, I have my Weight tool almost finished and I'm thinking in releasing it once 
it's been tested on our current project.

I'm using PySide for 2.6 (SI 2013) and 2.7 (2014 and 2015), and 
PyQTforSoftimage. Since its been a little tricky to get PySide working with 
Softimage, I'd like to release a "ready to use" workgroup version including 
those PySide module folders and PyQTfS.

I have no idea about intellectual property licenses (I'm reading, but those 
legal terms and license types are kinda confusing), is there any legal issue I 
should be aware of? Can I include PySide ?

Thanks

Martin
Sent from my iPhone
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.


Re: Weight Tools

2016-03-24 Thread Martin Yara
Thanks Oscar, It wasn't working for me, but thanks to you I've been able to
find the problem.

Knowing that my code adding the path wasn't wrong I looked everywhere else
and I've found that my problem was that my addon was loading before
PyQtForSoftimage, and importing PySide directly by mistake (leftover from
the Maya code), so PyQtForSoftimage's import PySide function wouldn't work.

AFAIK Softimage loads plugins first and then addons in alphabetic order, so
my solution was moving PyQtForSoftimage to the Plugin folder. I guess
renaming my addon or PyQtForSoftimage addon would also work.

I've created a plugin that only add the paths, so SI would add the PySide
path first, then load PyQtForSoftimage, and then my addon.

Finally it is working fine! Now to start coding the tool.

Thanks

Martin





On Tue, Mar 22, 2016 at 11:56 PM, Oscar Juarez 
wrote:

> You can create a plugin that adds the paths to the sys.path, it should be
> loaded before all the other plugins.
>
> On Tue, Mar 22, 2016 at 3:51 PM, Martin Yara  wrote:
>
>> Thanks for your response.
>>
>> So far, after a couple of days fighting with PySide and Python, I've been
>> able to reuse the GUI. In my tests, it works fine with Softimage 2013 and
>> 2015.
>>
>> I couldn't use an external Python I don't know why, SI just kept
>> crashing, so I installed Python 2.6, pywin and PySide and copied the PySide
>> folders into Softimage's Python Lib\site-packages Folder. So far so good,
>>
>> Softimage 2015 also kept crashing with an external Python 2.7 so I did
>> the same and it's working fine.
>>
>> Is there any way to just add these PySide to the Python path everytime
>> Softimage starts up without modifying the setenv.bat ?
>> I did something similar with Maya 2013 adding PySide folders with a
>> simple sys.path.append, it would be cool to do it like this in Softimage so
>> I only have to distribute a Workgroup folder without installing anything.
>>
>> Now I only have to convert the code to Softimage.
>>
>>
>> Martin
>>
>>
>> On Tue, Mar 22, 2016 at 7:14 PM, Cesar Saez  wrote:
>>
>>> You should be able to reuse the GUI as it is through PyQtForSoftimage
>>> (it's a pretty lightweight implementation, kudos to the people involved),
>>> but it requires the user to install the plugin + pyqt 4.8.x (I don't think
>>> the plugin is compatible with recent versions of qt as there are a lot of
>>> breaking changes on 5.x) and probably an external python 2.7... it's not a
>>> big deal but if the intent is to distribute the tool it will probably be an
>>> obstacle for a lot of people, or maybe the community is more tech savy
>>> nowadays... who knows :)
>>>
>>> On Sat, Mar 19, 2016 at 2:47 AM, Martin Yara  wrote:
>>>
 In Maya I'm using a heavily modified version of a script called
 skinWrangler.
 (I'm writing Maya Python like crazy these days, and to be honest, it's
 pretty cool. Tons of options with OpenMaya, Pymel and the old commands)

 https://github.com/chrisevans3d/skinWrangler

 Is there something like this already built and available for Softimage?
 I'm thinking in writing one but it would be much better if there is
 something already done.

 This GUI uses an xml and PySide for the GUI.
 Would it be possible to reuse this GUI in Softimage? I've never been
 into PySide in Softimage so I'm kinda clueless at the moment.
 Do I need to install an external Python ? (This project will be in SI
 2013)

 Using only the Softimage PPGs to replicate it seems like a pretty big
 task.

 Thanks

 Martin

 --
 Softimage Mailing List.
 To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
 with "unsubscribe" in the subject, and reply to confirm.

>>>
>>>
>>> --
>>> Softimage Mailing List.
>>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>>> with "unsubscribe" in the subject, and reply to confirm.
>>>
>>
>>
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: Weight Tools

2016-03-22 Thread Oscar Juarez
You can create a plugin that adds the paths to the sys.path, it should be
loaded before all the other plugins.

On Tue, Mar 22, 2016 at 3:51 PM, Martin Yara  wrote:

> Thanks for your response.
>
> So far, after a couple of days fighting with PySide and Python, I've been
> able to reuse the GUI. In my tests, it works fine with Softimage 2013 and
> 2015.
>
> I couldn't use an external Python I don't know why, SI just kept crashing,
> so I installed Python 2.6, pywin and PySide and copied the PySide folders
> into Softimage's Python Lib\site-packages Folder. So far so good,
>
> Softimage 2015 also kept crashing with an external Python 2.7 so I did the
> same and it's working fine.
>
> Is there any way to just add these PySide to the Python path everytime
> Softimage starts up without modifying the setenv.bat ?
> I did something similar with Maya 2013 adding PySide folders with a simple
> sys.path.append, it would be cool to do it like this in Softimage so I only
> have to distribute a Workgroup folder without installing anything.
>
> Now I only have to convert the code to Softimage.
>
>
> Martin
>
>
> On Tue, Mar 22, 2016 at 7:14 PM, Cesar Saez  wrote:
>
>> You should be able to reuse the GUI as it is through PyQtForSoftimage
>> (it's a pretty lightweight implementation, kudos to the people involved),
>> but it requires the user to install the plugin + pyqt 4.8.x (I don't think
>> the plugin is compatible with recent versions of qt as there are a lot of
>> breaking changes on 5.x) and probably an external python 2.7... it's not a
>> big deal but if the intent is to distribute the tool it will probably be an
>> obstacle for a lot of people, or maybe the community is more tech savy
>> nowadays... who knows :)
>>
>> On Sat, Mar 19, 2016 at 2:47 AM, Martin Yara  wrote:
>>
>>> In Maya I'm using a heavily modified version of a script called
>>> skinWrangler.
>>> (I'm writing Maya Python like crazy these days, and to be honest, it's
>>> pretty cool. Tons of options with OpenMaya, Pymel and the old commands)
>>>
>>> https://github.com/chrisevans3d/skinWrangler
>>>
>>> Is there something like this already built and available for Softimage?
>>> I'm thinking in writing one but it would be much better if there is
>>> something already done.
>>>
>>> This GUI uses an xml and PySide for the GUI.
>>> Would it be possible to reuse this GUI in Softimage? I've never been
>>> into PySide in Softimage so I'm kinda clueless at the moment.
>>> Do I need to install an external Python ? (This project will be in SI
>>> 2013)
>>>
>>> Using only the Softimage PPGs to replicate it seems like a pretty big
>>> task.
>>>
>>> Thanks
>>>
>>> Martin
>>>
>>> --
>>> Softimage Mailing List.
>>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>>> with "unsubscribe" in the subject, and reply to confirm.
>>>
>>
>>
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: Weight Tools

2016-03-22 Thread Martin Yara
Thanks for your response.

So far, after a couple of days fighting with PySide and Python, I've been
able to reuse the GUI. In my tests, it works fine with Softimage 2013 and
2015.

I couldn't use an external Python I don't know why, SI just kept crashing,
so I installed Python 2.6, pywin and PySide and copied the PySide folders
into Softimage's Python Lib\site-packages Folder. So far so good,

Softimage 2015 also kept crashing with an external Python 2.7 so I did the
same and it's working fine.

Is there any way to just add these PySide to the Python path everytime
Softimage starts up without modifying the setenv.bat ?
I did something similar with Maya 2013 adding PySide folders with a simple
sys.path.append, it would be cool to do it like this in Softimage so I only
have to distribute a Workgroup folder without installing anything.

Now I only have to convert the code to Softimage.


Martin


On Tue, Mar 22, 2016 at 7:14 PM, Cesar Saez  wrote:

> You should be able to reuse the GUI as it is through PyQtForSoftimage
> (it's a pretty lightweight implementation, kudos to the people involved),
> but it requires the user to install the plugin + pyqt 4.8.x (I don't think
> the plugin is compatible with recent versions of qt as there are a lot of
> breaking changes on 5.x) and probably an external python 2.7... it's not a
> big deal but if the intent is to distribute the tool it will probably be an
> obstacle for a lot of people, or maybe the community is more tech savy
> nowadays... who knows :)
>
> On Sat, Mar 19, 2016 at 2:47 AM, Martin Yara  wrote:
>
>> In Maya I'm using a heavily modified version of a script called
>> skinWrangler.
>> (I'm writing Maya Python like crazy these days, and to be honest, it's
>> pretty cool. Tons of options with OpenMaya, Pymel and the old commands)
>>
>> https://github.com/chrisevans3d/skinWrangler
>>
>> Is there something like this already built and available for Softimage?
>> I'm thinking in writing one but it would be much better if there is
>> something already done.
>>
>> This GUI uses an xml and PySide for the GUI.
>> Would it be possible to reuse this GUI in Softimage? I've never been into
>> PySide in Softimage so I'm kinda clueless at the moment.
>> Do I need to install an external Python ? (This project will be in SI
>> 2013)
>>
>> Using only the Softimage PPGs to replicate it seems like a pretty big
>> task.
>>
>> Thanks
>>
>> Martin
>>
>> --
>> Softimage Mailing List.
>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: Weight Tools

2016-03-22 Thread Cesar Saez
You should be able to reuse the GUI as it is through PyQtForSoftimage (it's
a pretty lightweight implementation, kudos to the people involved), but it
requires the user to install the plugin + pyqt 4.8.x (I don't think the
plugin is compatible with recent versions of qt as there are a lot of
breaking changes on 5.x) and probably an external python 2.7... it's not a
big deal but if the intent is to distribute the tool it will probably be an
obstacle for a lot of people, or maybe the community is more tech savy
nowadays... who knows :)

On Sat, Mar 19, 2016 at 2:47 AM, Martin Yara  wrote:

> In Maya I'm using a heavily modified version of a script called
> skinWrangler.
> (I'm writing Maya Python like crazy these days, and to be honest, it's
> pretty cool. Tons of options with OpenMaya, Pymel and the old commands)
>
> https://github.com/chrisevans3d/skinWrangler
>
> Is there something like this already built and available for Softimage?
> I'm thinking in writing one but it would be much better if there is
> something already done.
>
> This GUI uses an xml and PySide for the GUI.
> Would it be possible to reuse this GUI in Softimage? I've never been into
> PySide in Softimage so I'm kinda clueless at the moment.
> Do I need to install an external Python ? (This project will be in SI 2013)
>
> Using only the Softimage PPGs to replicate it seems like a pretty big task.
>
> Thanks
>
> Martin
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Weight Tools

2016-03-19 Thread Martin Yara
In Maya I'm using a heavily modified version of a script called
skinWrangler.
(I'm writing Maya Python like crazy these days, and to be honest, it's
pretty cool. Tons of options with OpenMaya, Pymel and the old commands)

https://github.com/chrisevans3d/skinWrangler

Is there something like this already built and available for Softimage? I'm
thinking in writing one but it would be much better if there is something
already done.

This GUI uses an xml and PySide for the GUI.
Would it be possible to reuse this GUI in Softimage? I've never been into
PySide in Softimage so I'm kinda clueless at the moment.
Do I need to install an external Python ? (This project will be in SI 2013)

Using only the Softimage PPGs to replicate it seems like a pretty big task.

Thanks

Martin
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.