honeypot@pipelinefx.com
Overview
Contact Us
Management Team
History
Careers
Overview
Features
Technical Specs
Supported Applications
FAQ
Qube
!
for Film
Qube
!
for Games
Qube
!
for Education
Movies
Services Overview
Consultant Bios
Training
Resellers
Demo Qube
!
License Rentals
!
Technical Support
Forum
Download Quick Support App
Broadcast
Design
Education
Film/VFX
Game
Government
Post
May 24, 2013, 06:07:09 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: See
Announcements
for latest Qube updates.
Home
Help
Search
Calendar
Login
Register
PipelineFX Forum
>
Qube!
>
Jobtypes and Applications
(Moderator:
shinya
) >
Submitting nCloth caches
Pages: [
1
]
« previous
next »
Print
Author
Topic: Submitting nCloth caches (Read 3236 times)
Bizzywater
Jr. Member
Posts: 6
Submitting nCloth caches
«
on:
August 28, 2009, 10:40:37 AM »
Hello,
Let me start by saying how great i think Qube is - it has been fantastic for our rendering pipeline. We have had no major issues with rendering, but my question pertains to caching. My artists would like to be able to submit there nCloth caches to the farm so they can keep working while the caches run. I can get the command to run fine within Maya, ex:
select pPlane1; doCreateNclothCache 4 { "2", "1", "10", "OneFilePerFrame", "1", "Ncloth_Data","0","Cloth_Test","1", "add", "0", "1", "1","0","1" };
Is there a way to design a job which would just open Maya and create the cache on 1 subjob for a certain frame range with out engaging the renderer? I have been trying to create a command line job to so but its a little over my head. Any suggestions would be much appreciated.
Logged
shinya
Administrator
Posts: 216
Re: Submitting nCloth caches
«
Reply #1 on:
August 28, 2009, 05:32:53 PM »
Hi Bizzywater,
Thanks for your compliments!
You can probably do that with the cmdline jobtype. You'd have to first find out
how exactly to run that entirely on the command line, outside of qube.
I'd save your mel command in a script, and use maya's prompt/batch mode to
run it.
mayabatch -prompt -batch -file "/path/to/scene.mb" -script "/path/to/myscript.mel"
Depending on you platform, the "mayabatch" command may need to be substituted
with "maya", and/or you may need to specify the full-path to it. Also, you probably
want to add a "quit -f" to the end of your script too, so that maya exits after
it's done running the script.
Once you've got that working outside of qube, then you can just submit
the same command line using the "cmdline" job submission from the Qube GUI,
or from "qbsub".
Hope that helps!
Logged
Bizzywater
Jr. Member
Posts: 6
Re: Submitting nCloth caches
«
Reply #2 on:
August 31, 2009, 02:16:00 PM »
Thank you for the quick response. So far unfortunately i have been unable to get it working. I thought maybe i could use the Maya Mel Job submission to allow me to submit my caches, but no matter what i enter it always returns a syntax error. Even when i submit a blank Maya Mel "ls" Job it returns a syntax error on the base command: print `ls %(nodes)s` that is there by default with this job. Is this a bug with the Mel submission forms?
Any further advice would be very helpful.
Thank you again,
Bizzwater
Logged
Scot Brew
Hero Member
Posts: 272
Re: Submitting nCloth caches
«
Reply #3 on:
September 15, 2009, 10:10:35 PM »
We cannot reproduce it on our side with 5.4.5 or the current in-development version. Regardless, the fix should be something simple. What version of the QubeGUI are you using?
Logged
Scot Brew
Hero Member
Posts: 272
Re: Submitting nCloth caches
«
Reply #4 on:
September 15, 2009, 11:59:51 PM »
We have found an issue with single quotes (') on Windows that may be causing an error, though it will work on Linux and OSX.
Using the double quote (") will work, but it will mean that any quoted items in the command will have to be escaped with \. A cross-platform solution will be posted soon to address this so it will work on Windows, Linux, and OSX.
Logged
Scot Brew
Hero Member
Posts: 272
Re: Submitting nCloth caches
«
Reply #5 on:
September 16, 2009, 04:21:53 PM »
Attached is an updated maya_melCmds.py interface that will work on Windows, Linux, and OSX. That should get you up and running no matter what platform you are using. It will be incorporated as well in the next release.
The single-quote ('), double-quote ("), and grave (`) behave slightly differently on Windows as compared with OSX and Linux.
On Linux/OSX, one can get around a lot of the escaping of characters by using single-quotes (') in the cmdTemplate around the -command option.
maya_melCmds.py
(3.8 KB - downloaded 242 times.)
Logged
mefx
Newbie
Posts: 1
Re: Submitting nCloth caches
«
Reply #6 on:
January 06, 2012, 06:07:38 AM »
hi, is it possible to have an example of how to make the double quote work. I'm trying to submit a Maya Mel job and it's getting rid of the double quotes in tube. an example of how to write the command in the submission window would be very helpful. thanks
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Pipelinefx
-----------------------------
=> Announcements
-----------------------------
Qube!
-----------------------------
=> General
=> Installation and Configuration
===> Typical Installation Scenarios
=> GUI
=> Bug Fixes and Patches
=> Jobtypes and Applications
=> SimpleCmds
=> Developer Customization
Powered by SMF 1.1.18
|
SMF © 2006-2009, Simple Machines
Loading...