Questions tagged [command-line]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Blender is crashing how do I know what the problem is? [duplicate]

Blender is crashing how do I know what the problem is? Is there a error log file somewhere?
danielkotzer's user avatar
0 votes
0 answers
17 views

Installing blender from file

I'm new to Ubuntu, and I want to install blender on Linux from *.tar.xz file I have downloaded from the blender.org, but I just can't make it work. If I install blender from the Repository, it works ...
danielkotzer's user avatar
1 vote
1 answer
30 views

how to get 2d bounding box(x_min,x_max,y_min,y_max values) from IndexOB output of RenderLayer node in Blender compositor?

I'm doing synthetic data generation for AI training. I need to render lots of images a scene, and giving the 2d bounding box value of each object in the image(assuming that all object in the scene ...
miaomiao's user avatar
0 votes
1 answer
13 views

Blender console when clicking on UI elements in python console

I am working on a blender addon. After working with the addon enabled in the blender window. I start seeing the following bug in the console. ...
arpit's user avatar
  • 1
0 votes
0 answers
11 views

How to free a fluid bake on the commandline?

I want to rerun the fluid bake. I'm using the code at https://blender.stackexchange.com/a/311453/158745 to bake the fluid, which seems to work. I try a variation on this code, to free the fluid: ...
Hugh Perkins's user avatar
0 votes
1 answer
13 views

How to bake rigidbody simulation from commandline?

How to bake rigidbody simulation from commandline? I want to run simulation from cloud services, which are head-less. So I want to run from command-line. I searched around for a while, and tried ...
Hugh Perkins's user avatar
0 votes
0 answers
14 views

Exception_Access_Violation --- command line render always quits

Recently i had a new CPU put into my system, i9 from i7. Since then i've been getting this error always when i do command line renders.. it usually goes for a while then stops. Anyone have a clue what ...
Steve Cady's user avatar
0 votes
1 answer
116 views

Blender Quits while trying to render in Command Line

I Am getting an Error when i'm trying to render in CMDLine 2023-12-18 21:12:13,417 - app - WARNING - REGISTRATION FAILED: MODULE NOT FOUND (ui_registration.py:57) i ...
SDRS's user avatar
  • 1
0 votes
1 answer
62 views

Console Window not displaying Japanese characters

I can't seem to get the Console Window to display these Japanese characters. I can copy/paste from the blender console window into Notepad and it will display the characters properly, but the console ...
wikid24's user avatar
1 vote
1 answer
288 views

Keymap warnings when using the "Industry Compatible" keymap on Blender 4.0

I'm using the Industry Compatible keymap. When I open the console, it's getting flushed with this warning: ...
clawjelly's user avatar
  • 117
1 vote
1 answer
34 views

Blender doesn't recognize '-P' or '--python' command line argument when called with subprocess.run()

I'm trying to run a headless Blender from inside a Python program. I intend to have Blender run another Python program after it opens a file. I can make this work from the command line as such ...
CDMM's user avatar
  • 23
0 votes
0 answers
65 views

Problem: Rendering from command line longer than rendering from Blender GUI?

Can someone please explain why command line render took almost twice as longer when it was supposed to be faster then a render via GUI? I am confused, everyone's talking about how command render is ...
Vuk's user avatar
  • 11
1 vote
0 answers
29 views

Multi files rendering with windows script command dont work

I have a recent problem that prevents me from using windows scripts for render queue on my desktop workstation. The commands work, but the only problem is that it doesn't chain the next command to ...
Pomess's user avatar
  • 431
4 votes
1 answer
105 views

Can Blender addons execute Shell commands on Linux?

I'd make an addon that would use several external command line programs to process output images. Is this possible?
reign's user avatar
  • 319
0 votes
0 answers
112 views

Adding image sequence to sequencer + render as video in commandline not working properly. (Only shows first frame)

In the code below I am adding an image sequence(multiple images) and then render it as a video. Scenario 1 - script in Blender text editor: When I run this code in the text editor in Blender it works ...
muckyu's user avatar
  • 171
0 votes
1 answer
43 views

Why drivers shows error when running in command line?

My blender file contains drivers and when I run Blender using the command line it gives this error ...
Karan's user avatar
  • 1,984
-2 votes
1 answer
154 views

The system command line prompts for a WARN, how do I fix it? [closed]

...
lee blues's user avatar
  • 121
0 votes
0 answers
176 views

Can I load a blend file and execute a script with the blend file with Blender in the background

I would like Blender to perform a task in the background. In order to do the task, I need to have a blend file loaded and run a script (or an operator). I've tried the following batch file (with the ...
SJK's user avatar
  • 169
0 votes
0 answers
79 views

Is there a documentation of Blender's installer's command line arguments?

I only found documentation of CLI for Blender itself. What about the installer? I can't find any sort of info anywhere, I also asked few times in the support chat with no reply. Why do I need it? Main ...
Destroy666's user avatar
0 votes
1 answer
22 views

Python: Rotation not applying to child object

I am trying to pose a hand using values read from an XML file. All the joints are parented to the previous joint and finally the fingers to the hand. Í am using the following code: ...
Felix Küper's user avatar
0 votes
0 answers
512 views

How to get recent Blender version to work on Linux?

How to get latest or recent Blender (headless okay) to work on Linux ARM64? I am using Ubuntu 22.04, but I can choose from Oracle Linux (based on Red Hat), Ubuntu 22.04, AlmaLinux, or Rocky Linux, or ...
wjwrpoyob's user avatar
  • 123
1 vote
0 answers
49 views

Taming big bad Blender

How big is Blender lite and headless (uncompressed) on Linux? Blender 3.5.1 uncompressed is roughly 1250 MB. I can delete directories like addons, Eevee engine, built-in world shaders/EXRs, and still ...
chhdgxhuc's user avatar
0 votes
1 answer
251 views

How to run script in a new blender subprocess

In my code I am trying to open a new blender subprocess with this code I am trying to do some action like this how to run a give code = ''' import bpy''' like in code below, in that new blender ...
NamanDeep's user avatar
  • 461
0 votes
0 answers
137 views

Error During Running Python file in a Blender Subprocess from blender

I am working on this code from the post: How can I run blender from command line or a python script without opening a GUI? I am trying to open a blend file and have a script run in that blend file to ...
NamanDeep's user avatar
  • 461
1 vote
0 answers
47 views

ID user decrement error raised in the console but has no actual effect on Blender. What's the cause of that?

By displaying the property I am getting this error by editing the property or simple scrolling around in the node editor. So maybe something with the layout or UI? ERROR (bke.lib_id): C:\Users\...
Erasers45-Studios's user avatar
0 votes
0 answers
13 views

Loading VDB files in Blender using command line

My blender scene has a Vdb volume object, and I am rendering it in cycles. I wish to perform the rendering using command line (in hpc). I am looking for a command to specify vdb files in command line ...
Nitesh Bhatia's user avatar
1 vote
1 answer
35 views

Passing commands to blender with GUI open

is there a way to pass python commands to blender with the GUI visible? I have a simulator made in Matlab where measurements can be changed. When one of these measurements change I want the script to ...
Robert's user avatar
  • 11
0 votes
0 answers
71 views

How change scale text

in command bpy.ops.object.text_add scale not worked #scale=(0.005, 0.005, 0.005) ...
Andriu Andriu's user avatar
0 votes
1 answer
80 views

Create bmesh & save into OBJ format without opening blender

I want to create a mesh outside of blender, using bmesh module, and save it into an OBJ or whatever, completely through a python script. ...
MohammadHossein Jamshidi's user avatar
-1 votes
2 answers
66 views

how to set CommandLine Blender default version?

I type blender in the command line tools, then 3.3 start, but i want to use blender 3.4 actually, so how can i specify the start blender version?
willFederer's user avatar
1 vote
1 answer
75 views

The results of python scripts and python console are different?

I'm running a script to create a bone and rotate it by setting rotation_euler of the PoseBone. But I got wrong results from the scripts. My scripts code: ...
Nutcracker's user avatar
1 vote
0 answers
71 views

Blender only takes first value from Arduino and sensors

I am currently working on a 3D model of an arm. Therefore I get data from 2 sensors with a Arduino and in my Arduino IDE Serial Monitor the data changes as I move the sensor. However, in Blender I ...
Geblendet's user avatar
3 votes
0 answers
77 views

Specify the order of execution for a Blender plugin and an external script?

I'm trying to use an external script at the same time with a Blender plugin but I am having a few issues because I believe the script is being computed/processed before the plugin and for this ...
Johnny R.'s user avatar
0 votes
1 answer
202 views

blender cannot be started from command line / wrong path in environment variables?

I am trying to run blender from the command line on windows and followed this instruction Command line. I have a problem setting up the path in System properties/environment Variables. I actually ...
user123511's user avatar
  • 1,193
0 votes
1 answer
42 views

How can I tell Blender not to quit after finishing my script

So after my Python-Blender script finishes running from the command line, the command line window immediately closes..not giving me a chance to see any feedback, errors, etc. Can I make it not close? ...
AO A0's user avatar
  • 1
0 votes
2 answers
93 views

Restarting Blender with a Script

I am trying to create an operator that restarts Blender. This script has worked for me in the past: ...
Dr. Pontchartrain's user avatar
0 votes
0 answers
39 views

Running Blender Script via Console - Error

I wrote a Blender Script to create me images and Text elements (via Python Script) in a Timeline. All Works! But via Console it doesn't Work. I know, it has something to do with the GUI and the ...
dazzafact's user avatar
  • 111
2 votes
0 answers
129 views

How can I iterate and print all elements of a Menu (not objects or elements on scene)?

I'm having this little problem that is already costing me more than 24h of research hahaha. I didn't find the answer in any forum and I can't solve it myself in blender. My question is quite simple. I ...
Charles - charbavito - Barros's user avatar
1 vote
0 answers
95 views

Blender CLI does not work when blender is installed through Windows Store

In order to have a blender version manager I installed blender through the Windows store. When you install through the windows store it seems that they store the file in ...
Joel's user avatar
  • 11
1 vote
0 answers
180 views

How to disable all addons while using blender with --background command line option?

I found the commandline parameter --addons. But when I leave the parameter value empty it does not have any effect. Blender still loads all addons. Is it possible ...
Stephan Ahlf's user avatar
0 votes
0 answers
550 views

Is command line rendering faster than normal rendering?

blender users! https://docs.blender.org/manual/en/latest/advanced/command_line/render.html This manual write-on command line rendering is faster than regular rendering. I tried it, but the result was ...
Yuri Sato's user avatar
4 votes
2 answers
3k views

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 ...
Juan Cruz Marino's user avatar
2 votes
1 answer
403 views

Where is the output of the text script which is run at the Python console (not run on the text editor)

I have scripts loaded in the text editor. They are made internal, they are registered and saved under scripts/startup/myAddOns. They run OK when I run directly on ...
user2800464's user avatar
0 votes
1 answer
485 views

How to run python script with multiple files from console?

I want to run a python script in Blender via the console, but I split the script into multiple files. The folder consists of two files, "main.py" and "poser.py". I call the main ...
Philipp Köhler's user avatar
0 votes
1 answer
168 views

How to open and replace image texture via command line

This is how i could replace the Base Color if it was just a default color option : ...
smbl's user avatar
  • 111
1 vote
0 answers
88 views

How to do parametrized rendering (replacing text/image inputs dynamically before render)

I am currently generating a dynamic blender file with 2 text and 1 image objects that should be replaced with custom text/image inputs. I currently got the CLI command and placement of text/image ...
smbl's user avatar
  • 111
1 vote
0 answers
54 views

Programmatically retrieve available file extension/format options

So as per the documentation, you can override the file extension/type setting for the Blender CLI: https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html#format-options Set ...
S. Magnusson's user avatar
  • 1,503
1 vote
1 answer
314 views

How can I export 2 file formats using command line rendering WITHOUT re-rendering?

When I render via Blender, after rendering it's very easy for me to choose a different format and save it as that. Therefore I can get both Open EXR and PNG. However, when rendering an animation, say ...
Hmm's user avatar
  • 739
1 vote
0 answers
359 views

writing "print" statements in Blender console

I know and use the great script from Codemanx from which you can start python script in the Blender-console and you would see print statements in the Blender-console. Unfortunately it looks like this ...
Chris's user avatar
  • 59.9k
2 votes
1 answer
276 views

Render from command line different (and bad) compared to render from GUI

I'm on blender 3.2.2 and I'd like to use SheepIt and/or Google Colab to support my render. The scene uses Cycles @ 2048 samples, no de-noise, output PNG without compression. The main features of the ...
Kiamur's user avatar
  • 93

1
2 3 4 5
9