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
2 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
12 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 ...
0
votes
0answers
13 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
27 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
35 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
40 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
22 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
15 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
66 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
11 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
341 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
31 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
22 views

How to change the default system console to Windows Terminal?

Any way to change the default system console to Windows Terminal?
0
votes
0answers
33 views

'blender' is not recognized as an internal or external command, operable program or batch file

I can't get any blender commands to work in the windows command line. I have added to the PATH and changed the directory to where Blender is on my laptop but I just keep getting this error: 'blender' ...
3
votes
1answer
23 views

Flask crashes blender when ran in command line

I'm trying to get a flask server to run in blender with blender -P app.py template.blend, however whenever I do that, it opens up two black windows and the crashes ...
1
vote
0answers
27 views

Cause of large delay occurring before rendering of each frame?

I'm trying to do background CYCLES rendering on a multi-gpu server using NUMA. However, adding any gpu's beyond 2 offers no speeds up as a unstated delay occurs before each keyframe. The more gpus I ...
0
votes
1answer
40 views

Cannot render from CLI: wm_main_playanim_intern: no filepath argument given

When I try to render from CLI using something like: blender '/home/lxif/VFX/OZELOT/vfx clip/VFX/scenes/TREES _ FLOOR/FLOOR_2.blend' -a irrespective of what file I ...
0
votes
0answers
24 views

why is the sky of a large equirectangular render transparent?

using blender 2.83.0 im trying to render a large equirectangular panoramic image (40000 x 20000) in the commandline (because its 5x faster that way). The main part of the image renders correctly, but ...
0
votes
0answers
21 views

How to merge two rendered .mkv videos from command prompt

So I was trying to use video sequencer to merge videos (I have 10 videos to merge) and I have the code. This code uses the line bpy.context.area.type='SEQUENCER_EDITOR'. When I try to run the code ...
1
vote
0answers
27 views

What are these Errors / Warnings when running simple command line script

I followed the official documentation to run a simple script: import bpy bpy.data.objects["Cube"].data.vertices[0].co.x += 1.0 by command ...
6
votes
1answer
297 views

Command line script renders without shaders

I'm trying to render a simple scene using the Python API. I've created a red cube in blender and want to output it using the Python API. The only things I've changed from the default new file is the ...
0
votes
0answers
130 views

How Do I Install and Run Blender 2.83 on CentOS 7?

Trying to use my vps to run Blender server-side. I've tried a number of tutorials, but no success. So far... https://snapcraft.io/install/blender/centos https://wpguru.co.uk/2019/07/how-to-install-...
1
vote
1answer
65 views

Blender 2.83.0 suddenly begins crashing on startup with call to libc.8.so

Blender version 2.83.0 has been running nicely on my system for several months. Suddenly a couple of days ago, it started crashing on startup just after a call to libc.so.6. I suspected an out of ...
0
votes
0answers
16 views

Console Error when Starting Blender: SetChannelMap - Is this Normal? What does this mean?

Here's an image of my console window that pops up right before Blender opens: Blender continues to run normally after, but the error still bugs me. And I didn't get the same error on my laptop. After ...
0
votes
0answers
16 views

How to access a follow path constrained object's location from a command line render

In Blender 2.82a, using Eevee as the render engine, I can access the following matrix_world attributes successfully to obtain the location of a Cube move in an animation using the "follow path" ...
2
votes
1answer
127 views

Frameserve to external ffmpeg?

I want to frameserve rendered images to an external ffmpeg binary for x264rgb/lossless encoding (its much faster/smaller/efficient than PNG/FFV1). In Blender 2.7x there was OUTPUT->FRAMESERVER that ...
0
votes
0answers
18 views

Intercept Info window python commands

I have an operator that I want to do something everytime any object is transformed. I'm not sure besides polling in a Python OP how to do this. I see that the Blender Info pane on the scripting ...
2
votes
0answers
21 views

Using Knife_project in command line

I have developped an addon and I want to call a few function from command line. Everything works fine except when I'm using knife_project. Here is my code: ...
0
votes
0answers
31 views

Is there a way to see render progress when rendering from the command line?

I'm using google colab to render my projects, and, due to not being able to set up x via ssh (or ssh at all), I'm stuck to rendering with command-line. I do get updates on how much was rendered ...
0
votes
0answers
21 views

Is it possible to disable errors being printed to the console?

I'm working on an addon that will do a lot of action in the same time. At each action Blender will check and print the Rig error in the console: This wastes a lot of time during the addon process ...
0
votes
0answers
17 views

“Bundled python” in command console after reinstall blender 2.8, and unusual console command shows up every time

Reinstall blender. and "found bundled python" shows up every time. Is something wrong? If so, how can I fix it? Thank you edit1 added the unusual console command, something to do with rigging
0
votes
0answers
15 views

Random line apperar in object modee

a line appear in object mode, but it doen´t appear in edit mode. how can i delete it??
0
votes
0answers
54 views

Suppress console output during render

I render an animation using a Python script inside of the Blender 2.82a text editor: ...
2
votes
1answer
166 views

Mantaflow bake fluid from command line, “NameError” : not defined

When trying to bake fluid from command line using: import bpy bpy.ops.fluid.bake_all() I receive the following errors: ...
0
votes
0answers
16 views

Freestyle not rendered only when rendering from command line

My freestyle works well when rendering in Blender by pressing F12: But when I render the exact image from command line with ...
1
vote
0answers
113 views

How to pass parameter(s) to a Python script via the command line and also render in the same command?

I am trying to render a scene where I run a script with given parameters and then render the animation by passing parameters to the blender executable through the command line. Given the following ...
0
votes
0answers
13 views

'Toggle System Console' is not in the window tab

v2.82a mac osx high sierra. Anyway to turn this on elsewhere? I've tried the search menu and check earlier versions. Thanks
0
votes
0answers
10 views

bpy.ops.render.render forcibly opens CMD window

I am on Windows and have a python script, which is running silently in background using described vbs approach (1st one) (call .cmd file which calls ...
0
votes
0answers
21 views

Troubleshoot performance?

Are there any tools or options to help troubleshoot performance? When using blender, every few seconds I get a split-second of lag. This interrupts any smooth movements, like transforms, or scrubbing ...
0
votes
0answers
31 views

Properly control compositor's output file names when using command line rendering

My compositor looks like: It's simply two render layers, rendered to two separate files. But when I run: blender -b test.blend -E BLENDER_EEVEE -f 1 It ...
0
votes
0answers
10 views

Script : deduce code from console to manipulate object

sorry if it's basic. I select an emty for instance. I delete a rigid body constraint. The code is visible in the console : bpy.ops.rigidbody.constraint_remove() ...
1
vote
0answers
37 views

Why does my render look different when submitted from command line to a Linux cluster?

If I render this scene using Cycles from my personal computer I get the scene on the left and if I run it from the command line on my university supercomputer, I get the image on the right. Both ...
0
votes
1answer
85 views

How can I turn this math formula into a 3d model?

how can i turn a 3d model made in surfer into a 3d file that i can print
0
votes
0answers
43 views

Blender 2.79b to 2.82

I can't update Blender 2.79b to 2.82. I am using a HP Chrombook x360 Linux. I tried to update on the Linux app and on the terminal. I did an update as well.
0
votes
1answer
71 views

Issue running Blender Command Line Arguments using Python Subprocess

I have the following code in a file named call.py, which I've reduced down for debugging. Note: I've tried various paths, either using os.path (join) or absolutes, as seen below: ...
1
vote
1answer
65 views

System console encoding format problem? [closed]

I'm using blender 2.82 on windows.The default blender system console is cmd.exe and it doesn't support Unicode so the non-ascii characters be garbled. Here's my question: 1.can i replace the default ...
0
votes
1answer
44 views

GPU rendering via CLI not working in 2.81

Blender 2.81 seems to have broken CLI headless rendering with CUDA GPU. Here's the Py script people often use: Rendering on command-line with GPU? ...
1
vote
2answers
129 views

Linux cmdline rendering on multiple GPUs

I'm running a number of benchmarks on Linux (Ubuntu 18.04) cloud VMs that have multiple GPUs attached, however I can only ever render on a single GPU. I'm not using the standard Blender benchmark ...
1
vote
1answer
317 views

How to automate the conversion of objects generated by Python script to fbx or to obj?

I've several Python scripts (around 6000 scripts). Each of them generates 3D objects. I want to find a way to export these generated objects to either fbx or obj files. Is there a way to do it using ...
1
vote
0answers
46 views

Is it possible to use loop statement via --python-expr in command line?

I have several scenes in a blend file. Sometimes I want to render all scenes with lower resolution, or mute some of the input nodes in the compositor of all the scenes. I can accomplish the above ...

1
2 3 4 5
7