.\" Man page generated from reStructuredText. . .TH "MORSE-RUN" "1" "February 17, 2016" "UNKNOWN-dirty" "MORSE" .SH NAME morse-run \- Runs a MORSE simulation . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBmorse run\fP [\-h] [\-\-name NAME] [\-g GEOM] [env] [file] [pyoptions...] .SH DESCRIPTION .sp Runs a simulation (must be a Python script) without loading the Blender interface. .SH OPTIONS .INDENT 0.0 .TP .B env the simulation environment to run. .TP .B file the exact scene (.py or .blend) to run (if \(aqenv\(aq is given, within this environment). See section FILE RESOLUTION below for details. .TP .B pyoptions optional parameters, passed to the Blender python engine in sys.argv .TP .B \-h, \-\-help show this help message and exit .TP .B \-\-name NAME when running in multi\-node mode, sets the name of this node (defaults to either MORSE_NODE if defined or current hostname). .TP .B \-g GEOM, \-\-geometry GEOM sets the simulator window geometry. Expected format: WxH or WxH+dx,dy to set an initial x,y delta (from lower left corner). .UNINDENT .sp Refer to \fImorse(1)\fP for global MORSE options. .SH FILE RESOLUTION .sp MORSE tries to figure out which simulation you want to open with the following strategy: .sp \fBIf only one parameter *arg* is given:\fP .INDENT 0.0 .IP \(bu 2 .INDENT 2.0 .TP .B if \fIarg\fP is a configured simulation environment with prefix $ENVROOT: .INDENT 7.0 .IP \(bu 2 if \fI$ENVROOT/default.py\fP exists, launch it. .IP \(bu 2 else, if any file with an extension {.py|.blend} exists, launch the first one (in alphanumerical order) .IP \(bu 2 else if a file called \fIarg\fP exists in the current directory, launch it. .IP \(bu 2 else, fail .UNINDENT .UNINDENT .IP \(bu 2 else check if a file called \fIarg\fP exists, and launch it (note that in that case, \fIarg\fP can contain an absolute path or a path relative to the current directory). .UNINDENT .sp \fBIf two parameters *arg1* and *arg2* are given:\fP .INDENT 0.0 .IP \(bu 2 .INDENT 2.0 .TP .B if \fIarg1\fP is a configured simulation environment with prefix $ENVROOT: .INDENT 7.0 .IP \(bu 2 if \fI$ENVROOT/arg2\fP exists, launch it .IP \(bu 2 else, add $ENVROOT to MORSE environment, and if \fIarg2\fP exists, launch it (note that \fIarg2\fP can contain an absolute path or a path relative to the current directory) .UNINDENT .UNINDENT .IP \(bu 2 else fail .UNINDENT .SH SEE ALSO .sp \fImorse(1)\fP .SH COPYRIGHT Copyright (c) 2009-2010 ONERA Copyright (c) 2009-2016 LAAS-CNRS Copyright (c) 2015-2016 ISAE-SUPAERO Copyright held by the MORSE authors or the institutions employing them, refer to the AUTHORS file for the list. The list of the contributors to each file can be obtained from the commit history ('git log '). .\" Generated by docutils manpage writer. .