1BLENDER(1) General Commands Manual BLENDER(1)
2
3
4
6 blender - a full-featured 3D application
7
9 blender [args ...] [file] [args ...]
10
12 blender is a full-featured 3D application. It supports the entirety of
13 the 3D pipeline - modeling, rigging, animation, simulation, rendering,
14 compositing, motion tracking, and video editing.
15
16 Use Blender to create 3D images and animations, films and commercials,
17 content for games, architectural and industrial visualizatons, and sci‐
18 entific visualizations.
19
20 https://www.blender.org
21
23 Color management: using fallback mode for management Color management:
24 Error could not find role data role. Blender 2.93.5 Usage: blender
25 [args ...] [file] [args ...]
26
27 Render Options:
28 -b or --background
29 Run in background (often used for UI-less rendering).
30
31
32 -a or --render-anim
33 Render frames from start to end (inclusive).
34
35
36 -S or --scene <name>
37 Set the active scene <name> for rendering.
38
39
40 -f or --render-frame <frame>
41 Render frame <frame> and save it.
42
43
44 * +<frame> start frame relative, -<frame> end frame relative.
45 * A comma separated list of frames can also be used (no spaces).
46 * A range of frames can be expressed using '..' separator be‐
47 tween the first and last frames (inclusive).
48
49
50 -s or --frame-start <frame>
51 Set start to frame <frame>, supports +/- for relative frames
52 too.
53
54
55 -e or --frame-end <frame>
56 Set end to frame <frame>, supports +/- for relative frames too.
57
58
59 -j or --frame-jump <frames>
60 Set number of frames to step forward after each rendered frame.
61
62
63 -o or --render-output <path>
64 Set the render path and file name.
65 Use '//' at the start of the path to render relative to the
66 blend-file.
67
68
69 The '#' characters are replaced by the frame number, and used to
70 define zero padding.
71
72
73 * 'animation_##_test.png' becomes 'animation_01_test.png'
74 * 'test-######.png' becomes 'test-000001.png'
75
76
77 When the filename does not contain '#', The suffix '####' is
78 added to the filename.
79
80
81 The frame number will be added at the end of the filename, eg:
82 # blender -b animation.blend -o //render_ -F PNG -x 1 -a
83
84
85 -E or --engine <engine>
86 Specify the render engine.
87 Use '-E help' to list available engines.
88
89
90 -t or --threads <threads>
91 Use amount of <threads> for rendering and other operations
92 [1-1024], 0 for systems processor count.
93
94
95 Format Options:
96 -F or --render-format <format>
97 Set the render format.
98 Valid options are:
99
100
101 Formats that can be compiled into Blender, not available on all
102 systems:
103
104
105 -x or --use-extension <bool>
106 Set option to add the file extension to the end of the file.
107
108
109 Animation Playback Options:
110 -a <options> <file(s)>
111 Instead of showing Blender's user interface, this runs Blender
112 as an animation player,
113 to view movies and image sequences rendered in Blender (ignored
114 if '-b' is set).
115
116
117 Playback Arguments:
118
119
120 -p <sx> <sy>
121 Open with lower left corner at <sx>, <sy>.
122 -m
123 Read from disk (Do not buffer).
124 -f <fps> <fps-base>
125 Specify FPS to start with.
126 -j <frame>
127 Set frame step to <frame>.
128 -s <frame>
129 Play from <frame>.
130 -e <frame>
131 Play until <frame>.
132 -c <cache_memory>
133 Amount of memory in megabytes to allow for caching images dur‐
134 ing playback.
135 Zero disables (clamping to a fixed number of frames instead).
136
137
138 Window Options:
139 -w or --window-border
140 Force opening with borders.
141
142
143 -W or --window-fullscreen
144 Force opening in fullscreen mode.
145
146
147 -p or --window-geometry <sx> <sy> <w> <h>
148 Open with lower left corner at <sx>, <sy> and width and height
149 as <w>, <h>.
150
151
152 -M or --window-maximized
153 Force opening maximized.
154
155
156 -con or --start-console
157 Start with the console window open (ignored if '-b' is set),
158 (Windows only).
159
160
161 --no-native-pixels
162 Do not use native pixel size, for high resolution displays (Mac‐
163 Book 'Retina').
164
165
166 --no-window-focus
167 Open behind other windows and without taking focus.
168
169
170 Python Options:
171 -y or --enable-autoexec
172 Enable automatic Python script execution.
173
174
175 -Y or --disable-autoexec
176 Disable automatic Python script execution (pydrivers & startup
177 scripts), (compiled as non-standard default).
178
179
180 -P or --python <filename>
181 Run the given Python script file.
182
183
184 --python-text <name>
185 Run the given Python script text block.
186
187
188 --python-expr <expression>
189 Run the given expression as a Python script.
190
191
192 --python-console
193 Run Blender with an interactive console.
194
195
196 --python-exit-code <code>
197 Set the exit-code in [0..255] to exit if a Python exception is
198 raised
199 (only for scripts executed from the command line), zero dis‐
200 ables.
201
202
203 --python-use-system-env
204 Allow Python to use system environment variables such as
205 'PYTHONPATH' and the user site-packages directory.
206
207
208 --addons <addon(s)>
209 Comma separated list of add-ons (no spaces).
210
211
212 Logging Options:
213 --log <match>
214 Enable logging categories, taking a single comma separated argu‐
215 ment.
216 Multiple categories can be matched using a '.*' suffix,
217 so '--log "wm.*"' logs every kind of window-manager message.
218 Sub-string can be matched using a '*' prefix and suffix,
219 so '--log "*undo*"' logs every kind of undo-related message.
220 Use "^" prefix to ignore, so '--log "*,^wm.operator.*"' logs all
221 except for 'wm.operators.*'
222 Use "*" to log everything.
223
224
225 --log-level <level>
226 Set the logging verbosity level (higher for more details) de‐
227 faults to 1,
228 use -1 to log all levels.
229
230
231 --log-show-basename
232 Only show file name in output (not the leading path).
233
234
235 --log-show-backtrace
236 Show a back trace for each log message (debug builds only).
237
238
239 --log-show-timestamp
240 Show a timestamp for each log message in seconds since start.
241
242
243 --log-file <filename>
244 Set a file to output the log to.
245
246
247 Debug Options:
248 -d or --debug
249 Turn debugging on.
250
251
252 * Enables memory error detection
253 * Disables mouse grab (to interact with a debugger in some
254 cases)
255 * Keeps Python's 'sys.stdin' rather than setting it to None
256
257
258 --debug-value <value>
259 Set debug value of <value> on startup.
260
261
262 --debug-events
263 Enable debug messages for the event system.
264
265
266 --debug-handlers
267 Enable debug messages for event handling.
268
269
270 --debug-libmv
271 Enable debug messages from libmv library.
272
273
274 --debug-cycles
275 Enable debug messages from Cycles.
276
277
278 --debug-memory
279 Enable fully guarded memory allocation and debugging.
280
281
282 --debug-jobs
283 Enable time profiling for background jobs.
284
285
286 --debug-python
287 Enable debug messages for Python.
288
289
290 --debug-depsgraph
291 Enable all debug messages from dependency graph.
292
293
294 --debug-depsgraph-eval
295 Enable debug messages from dependency graph related on evalua‐
296 tion.
297
298
299 --debug-depsgraph-build
300 Enable debug messages from dependency graph related on graph
301 construction.
302
303
304 --debug-depsgraph-tag
305 Enable debug messages from dependency graph related on tagging.
306
307
308 --debug-depsgraph-no-threads
309 Switch dependency graph to a single threaded evaluation.
310
311
312 --debug-depsgraph-time
313 Enable debug messages from dependency graph related on timing.
314
315
316 --debug-depsgraph-pretty
317 Enable colors for dependency graph debug messages.
318
319
320 --debug-depsgraph-uuid
321 Enable debug messages from dependency graph related on graph
322 construction.
323
324
325 --debug-ghost
326 Enable debug messages for event handling.
327
328
329 --debug-gpu
330 Enable GPU debug context and information for OpenGL 4.3+.
331
332
333 --debug-gpu-force-workarounds
334 Enable workarounds for typical GPU issues and disable all GPU
335 extensions.
336
337
338 --debug-wm
339 Enable debug messages for the window manager, shows all opera‐
340 tors in search, shows keymap errors.
341
342
343 --debug-all
344 Enable all debug messages.
345
346
347 --debug-io
348 Enable debug messages for I/O (Collada, ...).
349
350
351 --debug-fpe
352 Enable floating-point exceptions.
353
354
355 --debug-exit-on-error
356 Immediately exit when internal errors are detected.
357
358
359 --disable-crash-handler
360 Disable the crash handler.
361
362
363 --disable-abort-handler
364 Disable the abort handler.
365
366
367 --verbose <verbose>
368 Set the logging verbosity level for debug messages that support
369 it.
370
371
372 Misc Options:
373 --open-last
374 Open the most recently opened blend file, instead of the default
375 startup file.
376
377
378 --app-template <template>
379 Set the application template (matching the directory name), use
380 'default' for none.
381
382
383 --factory-startup
384 Skip reading the BLENDER_STARTUP_FILE in the users home direc‐
385 tory.
386
387
388 --enable-event-simulate
389 Enable event simulation testing feature 'bpy.types.Win‐
390 dow.event_simulate'.
391
392
393 --env-system-datafiles
394 Set the BLENDER_SYSTEM_DATAFILES environment variable.
395
396
397 --env-system-scripts
398 Set the BLENDER_SYSTEM_SCRIPTS environment variable.
399
400
401 --env-system-python
402 Set the BLENDER_SYSTEM_PYTHON environment variable.
403
404
405 -noaudio
406 Force sound system to None.
407
408
409 -setaudio
410 Force sound system to a specific device.
411
412
413 -h or --help
414 Print this help text and exit.
415
416
417 /?
418 Print this help text and exit (Windows only).
419
420
421 -R
422 Register blend-file extension, then exit (Windows only).
423
424
425 -r
426 Silently register blend-file extension, then exit (Windows
427 only).
428
429
430 -v or --version
431 Print Blender version and exit.
432
433
434 --
435 End option processing, following arguments passed unchanged. Ac‐
436 cess via Python's 'sys.argv'.
437
438
439 Other Options:
440 --debug-freestyle
441 Enable debug messages for Freestyle.
442
443
444 Argument Parsing:
445 Arguments must be separated by white space, eg:
446 # blender -ba test.blend
447 ...will exit since '-ba' is an unknown argument.
448
449 Argument Order:
450 Arguments are executed in the order they are given. eg:
451 # blender --background test.blend --render-frame 1 --render-output
452 '/tmp'
453 ...will not render to '/tmp' because '--render-frame 1' renders be‐
454 fore the output path is set.
455 # blender --background --render-output /tmp test.blend --render-frame
456 1
457 ...will not render to '/tmp' because loading the blend-file over‐
458 writes the render output that was set.
459 # blender --background test.blend --render-output /tmp --render-frame
460 1
461 ...works as expected.
462
464 $BLENDER_USER_CONFIG Directory for user configuration files.
465 $BLENDER_USER_SCRIPTS Directory for user scripts.
466 $BLENDER_SYSTEM_SCRIPTS Directory for system wide scripts.
467 $BLENDER_USER_DATAFILES Directory for user data files (icons,
468 translations, ..).
469 $BLENDER_SYSTEM_DATAFILES Directory for system wide data files.
470 $BLENDER_SYSTEM_PYTHON Directory for system Python libraries.
471 $TMP or $TMPDIR Store temporary files here.
472
473
475 luxrender(1)
476
477
479 This manpage was written for a Debian GNU/Linux system by Daniel Mester
480 <mester@uni-bremen.de> and updated by Cyril Brulebois <cyril.brule‐
481 bois@enst-bretagne.fr> and Dan Eicher <dan@trollwerks.org>.
482
483
484
485Blender 2.93.5 October 07, 2021 BLENDER(1)