MORSE-RUN(1)

πŸ“¦ version 1.4, in debian bookworm

πŸ’… MORSE-RUN(1) β€” morse-run πŸ’…

okay bestie, buckle up, because this is the page for morse-run in the MORSE manual, and it's literally the one that makes your simulation go brrr without dragging Blender's whole UI along for the ride ✨


🌸 NAME 🌸

morse-run β€” runs a MORSE simulation πŸ¦‹


✨ SYNOPSIS ✨

morse run [-h] [--name NAME] [-g GEOM] [env] [file] [pyoptions...]

πŸŽ€ DESCRIPTION πŸŽ€

It runs a simulation β€” and no cap, that simulation has to be a Python script πŸ’… β€” and it does it without loading the Blender interface. so you get the sim, minus the whole GUI situation. iconic, honestly.


πŸ‘‘ OPTIONS πŸ‘‘

  • env β€” the simulation environment you wanna run 🌈
  • file β€” the exact scene to run, and yes it's .py or .blend (and if env is given, then it's a scene inside that environment, iykyk). peep the FILE RESOLUTION section down below for the whole detective arc πŸ”
  • pyoptions β€” optional lil parameters, passed to the Blender python engine in sys.argv 🧚
  • -h, --help β€” shows this help message and dips ✌️
  • --name NAME β€” when you're running in multi-node mode, this sets the name of this node. defaults to either MORSE_NODE if it's defined, or the current hostname 🫢
  • -g GEOM, --geometry GEOM β€” sets the simulator window geometry. expected format: WxH or WxH+dx,dy to set an initial x,y delta (from the lower left corner) πŸ’–
also!! go check morse(1) for the global MORSE options, bestie, that's where the rest of the lore lives πŸ“–

πŸ” FILE RESOLUTION πŸ”

so MORSE is out here trying to figure out which simulation you're trying to open, and here's the strategy it uses, step by step, no skips:

if you give it only ONE parameter, arg: πŸ“

  • if arg is a configured simulation environment with prefix $ENVROOT:
    • if $ENVROOT/default.py exists, launch it ✨
    • else, if any file with an extension {.py|.blend} exists, launch the first one (in alphanumerical order) πŸ“š
    • else if a file called arg exists in the current directory, launch it πŸ’«
    • else, fail πŸ’€
  • else check if a file called arg exists, and launch it β€” and note that in that case, arg can contain an absolute path or a path relative to the current directory πŸ—ΊοΈ

if you give it TWO parameters, arg1 and arg2: πŸŽ€

  • if arg1 is a configured simulation environment with prefix $ENVROOT:
    • if $ENVROOT/arg2 exists, launch it 🌟
    • else, add $ENVROOT to MORSE environment, and if arg2 exists, launch it β€” and note that arg2 can contain an absolute path or a path relative to the current directory 🧭
  • else fail 😭

🌈 SEE ALSO 🌈

morse(1)


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 <file>).


k that's the whole page, bestie, you ate 🫢 this was MORSE-RUN(1), page 1.4, dated Feb 06, 2023 β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from