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
0answers
12 views

Composite nodes being ignored when rendering from command line

I am trying to render an animation using cycles from the command line but my composite nodes are being ignored. The images look ok, just the denoising and glare are missing. In blender on my other ...
1
vote
1answer
29 views

problem during script execution

hi I wrote a simple script to take screenshots, but the frames are not updating in the screenshots i.e all screenshots are the same image (a single frame). I introduced a time delay in case blender ...
0
votes
0answers
26 views

os.system and subprocess not working in blender

i am not able to run an external script from blender python console using os.system or subprocess.run While if i use another ...
1
vote
1answer
31 views

Is this Normal when starting Blender?

Whenever I start Blender, this console window keeps popping up! I'm not that techy with devices, is there anything I should do to stop it?
0
votes
0answers
7 views

Running commandline blender in background returns bke.fcurve error

sudo prime-run blender --background x.blend ...
0
votes
0answers
17 views

Renders crashing using the Command-line interface (“BKE_animsys_eval_driver: invalid driver”)

I'm trying to use the command line tool to render some parts of an (Eevee) scene. I need to slice it a lot so it would be awesome to have the terminal working for this; as I have already done for past ...
0
votes
0answers
33 views

Using blender API in python outisde Blender

I'm currently trying to create a python script that allows me to render multiple .blend files with multiple rendering options at once and in the non-GUI mode. So far I have the python script to run ...
0
votes
0answers
40 views

Problem running blender script from command line

I am trying to run a python script from command line as ./blender -P my_script.py, inside the script I have the following loop: ...
1
vote
0answers
30 views

How to Copy Python Command (with python)

I would like to copy the python command from operators in edit mode, but the "Copy Python Command" is disabled Is there any way to copy the python command from these operators that don't ...
0
votes
0answers
7 views

Can Blender render a Compositor graph on an input images supplied via command line

Is there an existing workflow in Blender that can facilitate changing the input images on a Compositor graph and render the result from the command line or do I have to code my own solution similar to ...
2
votes
0answers
43 views

Is there a way to auto name my AOV outputs?

So in most other software I use like Houdini and C4D there are tokens you can use to assign auto naming conventions such as the $ (dollar sign) expression. In C4D <...
0
votes
0answers
49 views

DAZ import (diffeomorphic addon), baking pose animations? — doesn't render in batch cmd line

If I import a DAZ file using the diffeomorphic addon, I am able to use the "Expressions" and set keys on frames to animate a facial expression. If I Render Animation via the interface (ctl-...
1
vote
0answers
39 views

How to edit blender file parameters + settings from command line or python?

Note: This is not a duplicate of this question: How can I run blender from command line or a python script without opening a GUI? That question only addresses rendering, not modifying parameters in a ...
3
votes
1answer
52 views

Invalid drivers aren't shown and can't be deleted

I have following problem. With the minecraft rig works everything fine (thomas rig) but when I open the console there are displayed invalid drivers of already deleted objects. How can I delete them? ...
1
vote
0answers
21 views

Render Passes File Output in Headless Mode

Here is the blender manual on command line rendering: https://docs.blender.org/manual/en/latest/advanced/command_line/render.html I am having an issue in blender where blender hangs on rendering in UI ...
2
votes
2answers
24 views

Script calculated multiple times on frame

I have a simple script like this: ...
0
votes
0answers
35 views

Run Blender Import-Addon from Python

I try too call a Import-Function from Command-Line or Python Script. (Addon: https://github.com/neverhood311/Stop-motion-OBJ) However, with ...
2
votes
0answers
11 views

Accessing Python Command Line Script Objects

If I generate an object in a python script e.g. called draw_a_cube.py def my_mesh_func(*kwargs): return useful_mesh ...
1
vote
0answers
69 views

“Unable to open a display” AWS EC2 Background Rendering

I launched an AWS EC2 T3 Medium Ubuntu 20.04 instance and installed blender 2.83.9 When I launch the simple command line blender -b -f 1 I get this error message : <...
1
vote
1answer
134 views

ModuleNotFoundError: No module named 'bpy'

I am attempting to use blender from the command line including bpy functions using https://pypi.org/project/bpy/ I have completed a pip installation and have had no errors or warnings, however when I ...
0
votes
1answer
17 views

How to render an animation through command prompt in Cycles?

I have been trying to render a 180 frames animation from command prompt with blender -b file.blend -a but instead of giving me an MP4 file it rendered me each frame ...
0
votes
0answers
17 views

Dynamic Paint Headless Printing

I have been working on a code which uses dynamic paint to take images of 2D slices through a scene and output them to a folder. This has worked fine in Blender 2.90, however this is part of larger ...
0
votes
0answers
15 views

Render slow, console log “Using fallback” and after start render process

When I want render an image to animation, I prefer to render by CLI. It's more quiet. But my last render appear with this message ...
0
votes
0answers
110 views

blender on server with command line : Calling operator “bpy.ops.import_scene.gltf” error

I am building a 3D web app with threejs, in javascript. For renders, i want to use a renderfarm, so : i save threejs scenes in .glTF i command line blender to import and save these scene in .blend ...
0
votes
1answer
82 views

How do I do GPU rendering with enabled OptiX from the Command Line?

I need help running Blender from the command line with GPU rendering. Also, Optix must be enabled. I read this article: How do I do GPU rendering from the Command Line? very much helped, but now I ...
1
vote
1answer
17 views

Workbench Outlines not appearing when rendering animation from command line

The "Outlines" feature of the Workbench render engine Properties / Render Properties / Options / Outline provides the expected results when rendering an animation from the UI Render / Render ...
0
votes
2answers
44 views

How to copy objects and set their origins with Python console?

I am trying to copy Cube and set different random origins to the copies. I use the following code: ...
0
votes
0answers
33 views

MSI Silent Install Switch

Good morning Is there anybody that could assist me with the silent install switches for the latest version (2.91.0) please? Happy to revert to an older version if required or switch to an .exe if one ...
1
vote
2answers
113 views

bpy - how to select an image running blender in -background mode so an operator can use it?

I need to invert an image running blender from the command line using the -background flag. To archive it I need to make the image active and later apply the ...
1
vote
0answers
37 views

Update a script for Unwrapping trees using a python script

I was hoping someone in the community will be able to help with this. A similar question was posted back in 2017 and the user @Rich Sedman answered with a custom made python script that was able to ...
0
votes
0answers
29 views

How to query .blend file via command line, or python script, and extract data from it

I need to query the .blend file and extract any type of data from it. Things like: does it have composition enabled? what is the output file and format set by ...
0
votes
0answers
13 views

Animation rendered from command line only shows the first frame

I am rendering an animation using blender -b file.blend -a. The blender file is set to save animations as an ".mp4". It runs OK and creates an output ...
1
vote
0answers
37 views

PNG error messages in command line

I use image textures a lot and regularly get the following messages pop up in command line... libpng warning: interlace handling should be turned on when using png_read_image libpng warning: iCCP ...
0
votes
1answer
46 views

Can i bake a texture in headless mode? 2.80

I'm tring to bake an EMIT texture. The script works inside blender, but when launched in headless mode (-b -p) gives me an ...
0
votes
1answer
36 views

Blender Terminal opens with Script?

is it possible to open Blender Console (Terminal) by running script ? instead of Windows->Toggle System Console Thanks
0
votes
0answers
49 views

Any Python Code Example for RemeshModifier API?

I'm new to Python and Blender, so my question could be ambiguous. I have to make Python script that remeshing OBJ files on Command Line Interface. I've googled about it and probably result code gonna ...
0
votes
0answers
25 views

Baking every object with physics by script

I am trying to create a set of scripts with bpy that render a project automatically from the console command line, and I have created them. But before rendering, I want it to actually bake everything ...
0
votes
0answers
38 views

Mesh Smooth / Remesh on Command Line Interface

I'm new to Blender, so my question could be ambiguous. I need to mesh smooth / remesh / mesh clean up on command line interface. I read command line part of Blender manual but it seems there's no ...
0
votes
1answer
30 views

How to repeat a cyclic animation of an object/armature from command line with Blender API

I need to render a cyclic animation of an object-armature from the command line. At the moment I am stack on how to repeat the keyframes, ie how to copy the keyframes of the first time points and ...
2
votes
0answers
98 views

Launching blender on the command line results in a error

When I launch blender from the command line, it results in the following error: ...
0
votes
1answer
292 views

Blender AttributeError: 'PreferenceView' object has no attribute 'use_international_fonts'

I am at intermediate level in Blender and i recently came across Groove 3D. So, I downloaded and installed it. But when I enable the add-on it displays " Error(see console) " under ...
0
votes
2answers
470 views

How to import obj and convert and export as fbx from command line in Python [duplicate]

I would like to import an obj file and export it as an fbx file without having to use the Blender GUI. The command: blender --background --python myscript.py Is not working for me from Terminal on mac....
0
votes
3answers
88 views

I want to get the names of all models in blender in order

I want to get the names of all models in the blender in order I use blender console for the first time ...
0
votes
1answer
28 views

How to pass command line arguments through Blender without IndexError thrown?

I am trying to execute my command with two arguments in terminal: blender -b Scripting_Testing.blend -P background_job.py -- 1 2 I have used: ...
1
vote
0answers
20 views

save partially rendered image with command line?

I want to render a frame, the image does not need to be 100% rendered, it can be at 40% stop rendering and save through the command line. How can I do that?
0
votes
0answers
330 views

How do I do GPU rendering from the Command Line?

I was searching, and command line rendering is working, but not on GPU. I also find something with custom python script to force it to GPU, but it doesn't work either, probably because of Blender ...
0
votes
0answers
13 views

Is there a way to access blender file's material from command line? [duplicate]

I was wondering if there is anyway that i can increase or decrease strength of emission material via command line.. Scenario is I am using google colab for rendering which do not have GUI. So, process ...
7
votes
2answers
856 views

Can you clear the System Console without restarting Blender?

The question is simple enough, but I can't find the answer. Is there an operator or something similar that clears the Blender System Console history? I would also be willing to create an operator type ...
1
vote
1answer
77 views

Why are some of my command line arguments being ignored?

I am trying to render an animation of gears. In the GUI I have set the options shown in the picture below and when I press Ctrl+F12 the animation renders and saves each frame as a '.jpg' file to the <...
1
vote
0answers
62 views

How to change the default system console to Windows Terminal?

Any way to change the default system console to Windows Terminal?

1
2 3 4 5
7