Re: SimulatedFrameFraction on polymesh ?
I may be totally wrong but isn’t ‘SimulatedFrameFaction’ the amount of time for each simulation step – so time divided by steps. I believe I have come across this SimulatedFrameFaction inside one of the factory compounds, but which one? the first ones that come to mind are ‘state’ and ‘simulate particles or rigid bodies’ or perhaps ‘bounce’. or wasn’t there a simulation root with integrated states? as a hack you can just create it I’d go for a scalar value of 1 and save it as self.SimulatedFrameFaction (per cloud not per particle I’d say) and see if this helps? that said – you might not really need a state machine! you can get a lot done by just adding an integer value as per particle data and using conditions based on this data. get data > self.mystate > if = 1 > execute ... (I hope that’s not too cryptic?) the ‘case’ node is particularly useful for this – plug self.mystate (integer number) into condition and add as many case inputs as states you want – and plug execute nodes in there. think of each execute node as a hub for all you want to do with a particular state – set data (set color to see what’s happening!), add forces, filter,... anything really. changing states is as simple as setting self.mystate to some other number and next step it’s done. The cool thing is that this plays nice with your regular simulation, while the state machine can interfere and change behavior (perhaps precisely because of this simulated frame faction) I imagine you have islands in your mesh that have to switch between paper and cloth based on some condition? that approach should work fine for that. (if the ‘simulate mesh’ can work on a designated part of the mesh – I don’t know if it does) From: Olivier Jeannel Sent: Tuesday, March 22, 2016 4:35 PM To: softimage@listproc.autodesk.com Subject: SimulatedFrameFraction on polymesh ? Hi list, I'm doing some paper/cloth simulation using "Simulate Mesh Using Verlet Integration". I'd like to work with States / State Machine, but this needs a "SimulatedFrameFraction". I don't know how to compute this, or even if I could have it available for polymesh. Does someone know how / where I can grab that data "SimulatedFrameFraction" ? Any help apreciated ! -- 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.
SimulatedFrameFraction on polymesh ?
Hi list, I'm doing some paper/cloth simulation using "Simulate Mesh Using Verlet Integration". I'd like to work with States / State Machine, but this needs a "SimulatedFrameFraction". I don't know how to compute this, or even if I could have it available for polymesh. Does someone know how / where I can grab that data "SimulatedFrameFraction" ? Any help apreciated ! -- 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
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
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
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.