Questions tagged [command-line]

Questions pertaining to using Blender from the command line or using Blender's console window.

The Console Window, also called a Terminal, is an operating system text window that displays messages about Blender’s operations, status, and internal errors.

When Blender is manually started from a terminal, Blender output is shown in the Console Window it is started from.

Use Cases:

  • For rendering animation.

  • For automation and batch processing which require launching Blender with different arguments.

  • For Python development, to see the output of the print() function.

  • If Blender exits unexpectedly, the messages may indicate the cause or error.

  • When troubleshooting, to see the output of --debug messages.

See: Launching from the Command Line for specific instructions on launching Blender from the command line.

429 questions
11
votes
3 answers

How to view the system console message after Blender crashes?

I am testing a script in Blender game engine. I can view the helpful message on the external system console when the script throws exception. Sometimes the bugs of the script cause the Blender to crash and close the console immediately. Is there…
ShungChing
  • 343
  • 3
  • 9
9
votes
3 answers

Get number of frames in scene from the command line?

I'd like to know if there is a command-line option (or combination, or a way!) to get the number of frames that are included in a specified blender scene; for example I'd like to use is like this: $ blender
jtimz
  • 193
  • 1
  • 3
7
votes
2 answers

What does "Invalid clnors in this fan!" mean?

When I open or render a frame of one specific scene, I have several messages in the Console with the note "Invalid clnors in this fan!" This message also shows up when I try command line rendering. I'm having problems rendering this and other…
Antonio Buch
  • 2,177
  • 14
  • 37
5
votes
4 answers

Generate thumbnail image in addition to main image? (command line render)

I'd like to set up a command line script that renders out each frame to the desired output image type (EXR, PNG, TGA, etc.) at full resolution, but then also generates and saves a small thumbnail JPG image at a specified width (say 400px for…
Todd McIntosh
  • 9,421
  • 25
  • 50
5
votes
1 answer

What values do the --verbose and --debug-value options accept?

Running blender with either blender --verbose or blender --debug-value returns Error: you must specify a verbosity level. The wiki page about command line options does not specify what these options do or what values they accept. What are some…
gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
4
votes
2 answers

Why doesn't the Blender console go away when opening the program?

I started having an issue a few days ago with Blender. When starting up the program it runs the console and it never goes away, it stays like the image. I can still use the program, but i don't know why this is happening. Any solution?
3
votes
2 answers

Blender hangs on exit with console window open?

Has anyone run into an issue with Blender randomly freezing/hanging when you attempt to close while the console window is open? I can't say for sure that the console is the murder weapon, but after a lot of testing, it seems likely. I've tried…
Robert
  • 1,265
  • 1
  • 13
  • 29
2
votes
2 answers

Blender file keeps crashing - how do I open it in safe mode?

I'm making a blender video using the VSE and compositor, with multiple scenes. I noticed that it's a bit buggy when I'm using blender scenes in the VSE editor, but so far everything was working. Now all of sudden, I can't even open the blender file…
2
votes
1 answer

enable-autoexec option not working in ubuntu blender

main.py: import bpy bpy.ops.wm.addon_enable(module="io_import_scene_mhx") bpy.ops.import_scene.makehuman_mhx(filepath="~/Desktop/first_gen.mhx") blender --background --enable-autoexec --python main.py GIVES THE ERROR: Error when loading MHX file…
Nitish Reddy
  • 162
  • 7
2
votes
1 answer

Blender doesn't work on a server

I have a server with Linux installed on it. I also installed Blender with apt install blender and I want to start a render on it with blender -b -a but it returns those errors : Do you know how to fix that ? Thank you very much.
Eloi
  • 41
  • 2
2
votes
2 answers

What does "Saving: time" stand for in the the finished command line render?

Using blender from the command line e.g. blender -b I see Time: 02:11.63 (Saving: 00:00.52)at the finished output. What for is this part: (Saving: 00:00.52)?
jjk
  • 980
  • 4
  • 18
2
votes
0 answers

How to launch render from command line with load trusted option?

How to launch render from command line with load trusted option? I haven't found any keys for allowing launching of scripts in a file: $ /opt/blender-2.73-linux-glibc211-x86_64/blender -b ./v/Scenes/10/sc10.blend -o //out/ -s 064 -e 126 -a …
crantisz
  • 21
  • 1
2
votes
2 answers

How to execute a method from the console

I'm just getting started with bpy and I wish to know how can I execute the addon below from the console. # hello_world.py bl_info = { "name": "Hello World", "category": "Object", } import bpy class HelloWorld(bpy.types.Operator): …
isar
  • 427
  • 1
  • 3
  • 12
1
vote
2 answers

Objects/textures not showing when using command line render (Blender 2.5x)

I have a scene that renders differently when rendering from the command line and using the GUI. Specifically, objects go missing from the render when using the command line. I use the following command (tested in OS-X…
user3345
1
vote
0 answers

I lost bottom and side scroll bars in my logic editor

rel 2.70 in Blender Game mode I lost bottom and side scroll bars in my logic editor panel Can anyone help a Newbie? thx.
1
2 3