Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
votes
1answer
16 views

Python - writing console output to disk

Is there a way to write the console output to disk? In other words, as the system writes to the console, it also writes to a text file? I am hoping that there is a simple setting in blender rather ...
0
votes
0answers
12 views

Cannot Render Frames From Command Line/PowerShell

So I've been learning to use Blender and want to render the first and last frame of an animation that I created. Looking at the documentation, I came up with this command: ...
0
votes
0answers
9 views

How to see a shader and its nodes thru python or text console?

Can i inspect how a shader node is build seeing it thru python console or text script? it's possible to save/export shaders as scripts?
0
votes
1answer
28 views

Error with Python script when run using `--background`

With the following minimal example: test.py: import bpy bpy.ops.mesh.primitive_plane_add(size=1, location=(0, 0, 0)) Calling ...
0
votes
0answers
16 views

Reduce text output of command-line render

When executing something like blender -b project.blend -a a line for each object syncing objectxy1, ...
1
vote
1answer
55 views

Rendering on command-line with GPU?

I am trying to submit a render job via slurm on our cluster with blender 2.8, that is, completely command-line based with no way to start the GUI on the computing nodes. I have assigned 38 CPU to the ...
0
votes
1answer
40 views

Blender kiosk mode?

Sorry if the question is stupid or doesn't make sense. I'm playing around wiht Blender as a programmer, I'm not an 3d artist. Is there a way to open Blender in this kiosk mode (like Electron does ...
0
votes
1answer
93 views

How to select all non-CPU CUDA or non-CPU OpenCL devices for Cycles rendering (command line)?

I'm looking for a way to have Blender 2.8 render with Cycles using CUDA but only for Nvidia GPUs (no CPUs selected) and do the same using OpenCL with only AMD GPUs (no CPUs selected). My goal is to ...
1
vote
1answer
95 views

ImportError when loading Open3D module into Blender python console

I have installed the Open3D module using pip into the interpreter of Blender 2.79b, which uses Python 3.5.3. If I open the Python interpreter from the system ...
0
votes
1answer
41 views

Why do I get 'addon not found' errors when starting blender from the command line?

I installed blender with the source code and when I start from the command line it shows: ...
2
votes
1answer
40 views

Blender hangs on exit with console window open?

Has anyone run into an issue with Blender randomly freezing/hanging when you attempt to close while the console window is open? I can't say for sure that the console is the murder weapon, but after a ...
0
votes
0answers
22 views

Command Line OBJ Model Merging and Texture Applcation

I would like to use the command line to take 2 obj files and merge them while also merging their associated material files. I would also like to be able to in the same command line apply a texture to ...
1
vote
1answer
37 views

How can I make Blender to exit with the same exit code as the python expression?

I am running a python expression through blender from the commandline. I want to know if the python expression is executed correctly or not. But Blender always exits with a 0 code. Is there any way to ...
0
votes
1answer
19 views

How are scripts from commandline executed

to state it right away, I'm a complete beginner to scripting in blender. I have a simple python script to change the text of a text element. The script works when run from the scripting tab in ...
0
votes
1answer
301 views

Blender 2.8 - AWS EC2 command line EEVEE render

I have been trying to get this to work for a couple days now. I have an EC2 P2 instance with NVIDIA CUDA configured by default, its a Deep learning Ubuntu AMI. This OS does not have a GUI so ...
1
vote
0answers
31 views

Calling blender in PHP outputs nothing

I'm currently running a python script in my command line that uses blender: blender -b -P script.py -- argument1 This works fine in my terminal however it ...
0
votes
0answers
33 views

Is there some way I can update the viewer node during background rendering to output the correct results?

I'm rendering several images from one blender file and I would like to manipulate the pixels of the render output directly. I implemented the workaround from https://blender.stackexchange.com/a/71264/...
0
votes
0answers
26 views

How to install blender 2.79 -on-centos-7 DEDICATED SERVER? (CentOS Linux release 7.6.1810 (Core)

Only need to use blender to render in the background via .py script, GUI not needed. This video is why I think it will work, published on Jun 27, 2019: https://www.youtube.com/watch?v=LbadAU8CULs (...
1
vote
1answer
44 views

How to start rendering (and save result) in terminal on Ubuntu?

I am getting ready, to try out cloud computing for Blender rendering, that's why I'm curious if I can just drop the .blend file and render the scene from the terminal. PS: Can Somebody tell me if I ...
0
votes
0answers
68 views

Is there any way to iterate the name of output image file?

This is the command that I'm putting into console: ...
1
vote
1answer
62 views

Blender - b Why blender is quiting?

...
0
votes
0answers
22 views

Blender as a Python Module Mac

I've been following this tutorial on how to build blender as a python module. I am current working on a Mac. I've successfully got the source from Git, but I'm stuck trying to edit the CMake ...
0
votes
1answer
87 views

Display full error at the bottom right of blender 2.8

I am using a python addon throwing an exception and i can't figure out how to display the full error in blender 2.8+ :
0
votes
0answers
24 views

Program shutting down after 1 minute

I have come back to Blender after a while of being away but now when I open Blender it closes the program after 1 minute of it being open without giving a message. I have tried reinstalling the ...
0
votes
0answers
103 views

why do i am getting unrecognized arguments while parsing with argparse? [duplicate]

i am running a blender script where it takes command line arguments which are these ...
0
votes
0answers
60 views

blender Python script not running from command line in background mode

I am using blender from last 2 months and i built a python script to generate animation and it was running pretty nice from command line by ...
0
votes
0answers
153 views

Does Blender 2.8 (cycles) require OpenGL 3.3 even when rendering on command line?

Blender 2.8 seems to be running only on OpenGL 3.3. I would like to test out Blender 2.8 rendering on Raspberry Pi 4 which comes with OpenGL ES 3.0 support only. Does Blender 2.8 Cycles require ...
0
votes
1answer
35 views

How to show operator properties when running operator in scripts or console?

I run an operator in the console, but the operator properties are not shown in Tool Panel. However, if I run the operator from search, the properties will be shown up. How to show operator ...
1
vote
0answers
19 views

Dynamic sys.stdout memory location, constantly changing the address

I am going to use logging.StreamHandler in Blender console. But, sys.stdout is constantly changing in the memory. In Windows Console: In Blender Console: Because of that, I cannot use logging....
1
vote
1answer
34 views

2.79b to run script using command line in windows, preferably with a desktop shortcut or exe

Here's the code i have written so far, it's working inside blender text editor. I however like to run this script without opening blender, with command-line, better yet to create a shortcut icon on a ...
0
votes
0answers
19 views

Command Line Arguments for Hybrid Rendering (Parallel CPU + GPU)

There doesn't appear to be anything mentioned in the 2.8 user manual yet, unless I missed it. Are there any CLI arguments we can pass to set it to hybrid rendering? My blend file is setup to do this ...
2
votes
1answer
62 views

Different behaviour in script compared to Python Console

I'm running a script in Blender 2.79b to save 2D proyections of a 3D face model with annotated facial landmarks, I apply random transformations to the mesh and the landmarks, render the mesh and save ...
0
votes
0answers
43 views

Failed to set 44100hz, use 48000hz instead [duplicate]

How do i fix this? Ive used youtube videos and online information but nothing helps. My computer is an Lenovo, Ideapad 330. Its processor is an AMD A9, Radeon R5, 5 compute Cores 2C+3G. It also had ...
0
votes
0answers
39 views

How do I use a cached/baked smoke simulation with command line rendering?

Under cache in the physics tab on the smoke domain, I have Use Library Path and External checked and a ...
0
votes
0answers
21 views

How Blender uses the command line to detect missing texture files

How does Blender use the command line to detect missing texture files and display prints? I am not very good at English.
0
votes
0answers
75 views

Open blend from script and render after interface fully loaded

Blender 2.79b Ubuntu 18.10 I use CLI to start Blender. My blend file is simple animation with a movie appended to one object, to be played during animation. When I run ...
1
vote
0answers
103 views

Headless rendering on remote Ubuntu server results in blank render

If I try and render this .blend on my Windows machine, using this command, I get the correct output: .\blender.exe -b testrender.blend -f 0 -F PNG -o frame_0.png ...
0
votes
0answers
109 views

Blender Crashes seconds after startup

{Lenoveo Ideapad 330, Windows 10, Intel core i5-825U @1.60 GHz 1.80 GHz, 8 GB RAM, Intel UH Graphics 620} Hello friends, I downloaded blender today to try it out. When I launch the program, the ...
1
vote
1answer
345 views

How to use Keyframes and the Python API programmatically?

Currently I have a default cube and 400 frames. Here's what I have working without keyframing ...
0
votes
0answers
94 views

Is composite able to be rendered by command line?

Could composite be done by command line too?
1
vote
2answers
126 views

duplicate the mesh in edit mode and flip normals using python script

I want to make my two sided (input model is collada). so, for that i want to duplicate all the faces in edit mode and then flip normals, and then export the model as fbx. i want to do this using ...
0
votes
0answers
19 views

Blender console loading for a long time

A few days ago I ran into a problem with Blender. When I open Blender the command window just stays there for several minutes and then blender opens, the problem is that blender just freezes when I ...
0
votes
0answers
70 views

Join two imported objects to set shape key via bpy script from cmdline

For an automated workflow (call from cmd), I am trying to import two objects into blender and would like to generate linearly interpolated shape keys based on the ...
1
vote
0answers
143 views

How to run Blender through VNC on Ubuntu?

I am using tightVNC to connect to an Ubuntu 18.04 server. When I try to start blender, I get the following error in the command line: ...
0
votes
0answers
226 views

Found bundled python and crash

If I open Blender 2.79b, it gives a command window briefly which says found bundled python: C:\Program Files\Blender Foundation\Blender\2.79\python I did this ...
1
vote
1answer
84 views

Rendering without fire when executed from command prompt

I am rendering from command prompt and output file is something like: expected: I executed this command(My installation Directory): ...
1
vote
1answer
1k views

How to render in command line? [duplicate]

I have a very very slow computer, but would like to animate 3D. I'm aware we can render via the command line. but I don't know how. I want to render the entire animation of my Tutorial.blend file in ...
1
vote
0answers
28 views

Render from Comand line

I am rendering a scene on some private HPC, they gave me putty to run render with command line: $ srun -N1 -pgpu blender -b test_gpu.blend -o //_###.png -P cuda.py -a everything works fine, but my ...
0
votes
1answer
478 views

How to export mesh object to FBX from command line?

I'd like to open a scene with certain mesh object and export it to FBX file from command line. I read some related questions; importing and exporting via command line as per https://stackoverflow.com/...
0
votes
0answers
104 views

Import SVG and export as OBJ using command line

I want to use the command line to import an SVG file type and export it as an OBJ file type. Being able to modify the scale and the extrusion would be a plus, but no other operations need to be ...