Advertisement
Guest User

blender 2.81 linux arguments

a guest
Dec 3rd, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.33 KB | None | 0 0
  1. Blender 2.81 (sub 16)
  2. Usage: blender [args ...] [file] [args ...]
  3.  
  4. Render Options:
  5. -b or --background
  6. Run in background (often used for UI-less rendering).
  7.  
  8. -a or --render-anim
  9. Render frames from start to end (inclusive).
  10.  
  11. -S or --scene <name>
  12. Set the active scene <name> for rendering.
  13.  
  14. -f or --render-frame <frame>
  15. Render frame <frame> and save it.
  16.  
  17. * +<frame> start frame relative, -<frame> end frame relative.
  18. * A comma separated list of frames can also be used (no spaces).
  19. * A range of frames can be expressed using '..' separator between the first and last frames (inclusive).
  20.  
  21.  
  22. -s or --frame-start <frame>
  23. Set start to frame <frame>, supports +/- for relative frames too.
  24.  
  25. -e or --frame-end <frame>
  26. Set end to frame <frame>, supports +/- for relative frames too.
  27.  
  28. -j or --frame-jump <frames>
  29. Set number of frames to step forward after each rendered frame.
  30.  
  31. -o or --render-output <path>
  32. Set the render path and file name.
  33. Use '//' at the start of the path to render relative to the blend-file.
  34.  
  35. The '#' characters are replaced by the frame number, and used to define zero padding.
  36.  
  37. * 'animation_##_test.png' becomes 'animation_01_test.png'
  38. * 'test-######.png' becomes 'test-000001.png'
  39.  
  40. When the filename does not contain '#', The suffix '####' is added to the filename.
  41.  
  42. The frame number will be added at the end of the filename, eg:
  43. # blender -b animation.blend -o //render_ -F PNG -x 1 -a
  44. '//render_' becomes '//render_####', writing frames as '//render_0001.png'
  45.  
  46. -E or --engine <engine>
  47. Specify the render engine.
  48. Use '-E' help to list available engines.
  49.  
  50. -t or --threads <threads>
  51. Use amount of <threads> for rendering and other operations
  52. [1-1024], 0 for systems processor count.
  53.  
  54.  
  55. Format Options:
  56. -F or --render-format <format>
  57. Set the render format.
  58. Valid options are:
  59. 'TGA' 'RAWTGA' 'JPEG' 'IRIS' 'IRIZ' 'AVIRAW' 'AVIJPEG' 'PNG' 'BMP'
  60.  
  61. Formats that can be compiled into Blender, not available on all systems:
  62. 'HDR' 'TIFF' 'OPEN_EXR' 'OPEN_EXR_MULTILAYER' 'MPEG' 'CINEON' 'DPX' 'DDS' 'JP2'
  63.  
  64. -x or --use-extension <bool>
  65. Set option to add the file extension to the end of the file.
  66.  
  67.  
  68. Animation Playback Options:
  69. -a <options> <file(s)>
  70. Instead of showing Blender's user interface, this runs Blender as an animation player,
  71. to view movies and image sequences rendered in Blender (ignored if '-b' is set).
  72.  
  73. Playback Arguments:
  74.  
  75. -p <sx> <sy>
  76. Open with lower left corner at <sx>, <sy>.
  77. -m
  78. Read from disk (Do not buffer).
  79. -f <fps> <fps-base>
  80. Specify FPS to start with.
  81. -j <frame>
  82. Set frame step to <frame>.
  83. -s <frame>
  84. Play from <frame>.
  85. -e <frame>
  86. Play until <frame>.
  87.  
  88.  
  89. Window Options:
  90. -w or --window-border
  91. Force opening with borders.
  92.  
  93. -W or --window-fullscreen
  94. Force opening in fullscreen mode.
  95.  
  96. -p or --window-geometry <sx> <sy> <w> <h>
  97. Open with lower left corner at <sx>, <sy> and width and height as <w>, <h>.
  98.  
  99. -M or --window-maximized
  100. Force opening maximized.
  101.  
  102. -con or --start-console
  103. Start with the console window open (ignored if '-b' is set), (Windows only).
  104.  
  105. --no-native-pixels
  106. Do not use native pixel size, for high resolution displays (MacBook 'Retina').
  107.  
  108. --no-window-focus
  109. Open behind other windows and without taking focus.
  110.  
  111.  
  112. Python Options:
  113. -y or --enable-autoexec
  114. Enable automatic Python script execution.
  115.  
  116. -Y or --disable-autoexec
  117. Disable automatic Python script execution (pydrivers & startup scripts), (compiled as non-standard default).
  118.  
  119.  
  120. -P or --python <filename>
  121. Run the given Python script file.
  122.  
  123. --python-text <name>
  124. Run the given Python script text block.
  125.  
  126. --python-expr <expression>
  127. Run the given expression as a Python script.
  128.  
  129. --python-console
  130. Run Blender with an interactive console.
  131.  
  132. --python-exit-code <code>
  133. Set the exit-code in [0..255] to exit if a Python exception is raised
  134. (only for scripts executed from the command line), zero disables.
  135.  
  136. --addons <addon(s)>
  137. Comma separated list of add-ons (no spaces).
  138.  
  139.  
  140. Logging Options:
  141. --log <match>
  142. Enable logging categories, taking a single comma separated argument.
  143. Multiple categories can be matched using a '.*' suffix,
  144. so '--log "wm.*"' logs every kind of window-manager message.
  145. Use "^" prefix to ignore, so '--log "*,^wm.operator.*"' logs all except for 'wm.operators.*'
  146. Use "*" to log everything.
  147.  
  148. --log-level <level>
  149. Set the logging verbosity level (higher for more details) defaults to 1,
  150. use -1 to log all levels.
  151.  
  152. --log-show-basename
  153. Only show file name in output (not the leading path).
  154.  
  155. --log-show-backtrace
  156. Show a back trace for each log message (debug builds only).
  157.  
  158. --log-show-timestamp
  159. Show a timestamp for each log message in seconds since start.
  160.  
  161. --log-file <filename>
  162. Set a file to output the log to.
  163.  
  164.  
  165. Debug Options:
  166. -d or --debug
  167. Turn debugging on.
  168.  
  169. * Enables memory error detection
  170. * Disables mouse grab (to interact with a debugger in some cases)
  171. * Keeps Python's 'sys.stdin' rather than setting it to None
  172.  
  173. --debug-value <value>
  174. Set debug value of <value> on startup.
  175.  
  176.  
  177. --debug-events
  178. Enable debug messages for the event system.
  179.  
  180. --debug-ffmpeg
  181. Enable debug messages from FFmpeg library.
  182.  
  183. --debug-handlers
  184. Enable debug messages for event handling.
  185.  
  186. --debug-libmv
  187. Enable debug messages from libmv library.
  188.  
  189. --debug-cycles
  190. Enable debug messages from Cycles.
  191.  
  192. --debug-memory
  193. Enable fully guarded memory allocation and debugging.
  194.  
  195. --debug-jobs
  196. Enable time profiling for background jobs.
  197.  
  198. --debug-python
  199. Enable debug messages for Python.
  200.  
  201. --debug-depsgraph
  202. Enable all debug messages from dependency graph.
  203.  
  204. --debug-depsgraph-eval
  205. Enable debug messages from dependency graph related on evaluation.
  206.  
  207. --debug-depsgraph-build
  208. Enable debug messages from dependency graph related on graph construction.
  209.  
  210. --debug-depsgraph-tag
  211. Enable debug messages from dependency graph related on tagging.
  212.  
  213. --debug-depsgraph-no-threads
  214. Switch dependency graph to a single threaded evaluation.
  215.  
  216. --debug-depsgraph-time
  217. Enable debug messages from dependency graph related on timing.
  218.  
  219. --debug-depsgraph-pretty
  220. Enable colors for dependency graph debug messages.
  221.  
  222. --debug-gpu
  223. Enable gpu debug context and information for OpenGL 4.3+.
  224.  
  225. --debug-gpumem
  226. Enable GPU memory stats in status bar.
  227.  
  228. --debug-gpu-shaders
  229. Enable GPU memory stats in status bar.
  230.  
  231. --debug-gpu-force-workarounds
  232. Enable GPU memory stats in status bar.
  233.  
  234. --debug-wm
  235. Enable debug messages for the window manager, shows all operators in search, shows keymap errors.
  236.  
  237. --debug-all
  238. Enable all debug messages.
  239.  
  240. --debug-io
  241. Enable debug messages for I/O (collada, ...).
  242.  
  243.  
  244. --debug-fpe
  245. Enable floating point exceptions.
  246.  
  247. --disable-crash-handler
  248. Disable the crash handler.
  249.  
  250. --disable-abort-handler
  251. Disable the abort handler.
  252.  
  253.  
  254. Misc Options:
  255. --app-template <template>
  256. Set the application template (matching the directory name), use 'default' for none.
  257.  
  258. --factory-startup
  259. Skip reading the BLENDER_STARTUP_FILE in the users home directory.
  260.  
  261. --enable-event-simulate
  262. Enable event simulation testing feature 'bpy.types.Window.event_simulate'.
  263.  
  264.  
  265. --env-system-datafiles
  266. Set the BLENDER_SYSTEM_DATAFILES environment variable.
  267.  
  268. --env-system-scripts
  269. Set the BLENDER_SYSTEM_SCRIPTS environment variable.
  270.  
  271. --env-system-python
  272. Set the BLENDER_SYSTEM_PYTHON environment variable.
  273.  
  274.  
  275. -noaudio
  276. Force sound system to None.
  277.  
  278. -setaudio
  279. Force sound system to a specific device.
  280. 'NULL' 'SDL' 'OPENAL' 'JACK'.
  281.  
  282.  
  283. -h or --help
  284. Print this help text and exit.
  285.  
  286. -R
  287. Register blend-file extension, then exit (Windows only).
  288.  
  289. -r
  290. Silently register blend-file extension, then exit (Windows only).
  291.  
  292. -v or --version
  293. Print Blender version and exit.
  294.  
  295. --
  296. End option processing, following arguments passed unchanged. Access via Python's 'sys.argv'.
  297.  
  298.  
  299. Other Options:
  300. /?
  301. Print this help text and exit (windows only).
  302.  
  303. --debug-freestyle
  304. Enable debug messages for Freestyle.
  305.  
  306. --verbose <verbose>
  307. Set logging verbosity level for debug messages which supports it.
  308.  
  309. --disable-library-override
  310. Enable Library Override features in the UI.
  311.  
  312.  
  313. Argument Parsing:
  314. Arguments must be separated by white space, eg:
  315. # blender -ba test.blend
  316. ...will exit since '-ba' is an unknown argument.
  317. Argument Order:
  318. Arguments are executed in the order they are given. eg:
  319. # blender --background test.blend --render-frame 1 --render-output '/tmp'
  320. ...will not render to '/tmp' because '--render-frame 1' renders before the output path is set.
  321. # blender --background --render-output /tmp test.blend --render-frame 1
  322. ...will not render to '/tmp' because loading the blend-file overwrites the render output that was set.
  323. # blender --background test.blend --render-output /tmp --render-frame 1
  324. ...works as expected.
  325.  
  326. Environment Variables:
  327. $BLENDER_USER_CONFIG Directory for user configuration files.
  328. $BLENDER_USER_SCRIPTS Directory for user scripts.
  329. $BLENDER_SYSTEM_SCRIPTS Directory for system wide scripts.
  330. $BLENDER_USER_DATAFILES Directory for user data files (icons, translations, ..).
  331. $BLENDER_SYSTEM_DATAFILES Directory for system wide data files.
  332. $BLENDER_SYSTEM_PYTHON Directory for system Python libraries.
  333. $TMP or $TMPDIR Store temporary files here.
  334. $SDL_AUDIODRIVER LibSDL audio driver - alsa, esd, dma.
  335. $PYTHONHOME Path to the Python directory, eg. /usr/lib/python.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement