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
1
vote
0answers
13 views

Rendering with a different texture filename using texture node without manually changing filename each time

Rendering with a different texture filename using the texture node without manually changing the filename each time. I have several different texture files that i want to render out using the same ...
0
votes
0answers
24 views

Baking particles from command line

I am trying to bake particle systems from the command line. I saw this: Baking smoke on headless machine and I have been playing around with it, but I can't seem to get it to work for particles. I'm ...
0
votes
0answers
23 views

Run Blender from CLI with GUI

Hello dear blender community, I am trying to automate a few tasks in Blender, and trigger their execution from the command line like this: ...
0
votes
1answer
57 views

Is there no way of rendering headless using EEVEE?

I am using a computer without good graphics card and a remote LINUX server with a K40 Tesla card. I am operating on a remote server by MobaX to get the rendering working. For now I'm using Cycles to ...
0
votes
0answers
39 views

Why is area.type None when starting Blender + script from CMD?

coders! I get an unnerving error im my python script when running blender 2.91 (same for 2.92) from the command-line under windows 10 and executing a python script on the blend-file with the ...
0
votes
1answer
23 views

Issues running Blender from the command line despite setting up environmental variables

I have become interested in running Blender from the command line (Windows) to make my workflow more efficient. I also want to be able to run it directly without pointing Windows to my directory each ...
0
votes
0answers
25 views

How to get the angle of an object at each frame

In an animation of an object how will I get the real time angle value for an object at each frame. Is there any command for that just like for the location ...
1
vote
0answers
29 views

Initialize totally empty background instance of Blender

I'm using Blender python api as one part of a larger pipeline, to convert between Collada versions (1.5 --> 1.4). The simple script is this: ...
0
votes
0answers
38 views

Why isn't my GPU rendering anything in blender (cycles)?

I have a non-compatible GPU that I want to use in blender. I realize that you can't use non-compatible GPUs, but I saw this video where someone uses the windows command prompt to enable it. To my ...
0
votes
0answers
23 views

How to change to pose-mode when running a Python script

How can I change to pose-mode with a Python script while the whole program is running in the background? When I use bpy.ops.object.posemode_toggle(), it just shows <...
0
votes
0answers
31 views

Error when running Blender headless on a Ubuntu server without GNOME installed?

I am trying to deploy Blender on a Linux server running Ubuntu 20.04. This is a server without a display device; and therefore GNOME is not installed. I get the following error when running Blender ...
0
votes
0answers
27 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
31 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
56 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
32 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
17 views

Running commandline blender in background returns bke.fcurve error

sudo prime-run blender --background x.blend ...
0
votes
0answers
30 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
37 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
49 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
45 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
46 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
148 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
47 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
81 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
29 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
25 views

Script calculated multiple times on frame

I have a simple script like this: ...
0
votes
0answers
41 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
14 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
122 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
276 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
30 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
21 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
18 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
190 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
142 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
19 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
58 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
61 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
131 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
34 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
16 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
42 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
53 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
46 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
94 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
27 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
46 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
38 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 ...

1
2 3 4 5
8