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
1answer
68 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
55 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
112 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
32 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
51 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
50 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
127 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
410 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
689 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
131 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
35 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
22 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
451 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
14 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 ...
8
votes
3answers
1k 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
147 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
81 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
140 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
28 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
74 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
127 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
42 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
51 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 ...
5
votes
1answer
353 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
882 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
88 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
63 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 ...
2
votes
1answer
317 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 ...
2
votes
0answers
29 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
145 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
25 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
31 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
245 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
307 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: ...
1
vote
0answers
349 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
137 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
36 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
187 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 ...
1
vote
0answers
50 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
237 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
1answer
260 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
152 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
82 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? ...
2
votes
2answers
436 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
904 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
127 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 ...
0
votes
0answers
56 views

Render to vector file using command line + Freestyle

I am trying to render to a vector file using Freestyle. I have enabled it in my file and when I render to image via GUI, it generates both a PNG and an SVG file, so everything is OK. When I do it via ...
1
vote
1answer
118 views

Blender system console character encoding

I'm using Blender on Korean Windows 10. While studying Blender Python I opened the System Console to check for error messages. By the way, some characters are displayed correctly in English and others ...
1
vote
0answers
312 views

How to execute python inside blend file from command line

I'll explain the numbering of what I did. I created a text file called lowRes inside the blend file as shown in the attached image. And I noticed that when I click Run Script in Blender run with ...
1
vote
1answer
163 views

Setting up Blender headless rendering inside an Ubuntu docker image on a server

Recently I got access to my college server and I want to set up headless rendering for my blender projects in the server. The issue is, they have given me a docker image with Ubuntu 19.10. I tried ...

1
2
3 4 5
8