Linked Questions

0 votes
1 answer
74 views

The import time is increasing gradually over time while trying to automate a rendering process

My goal is to optimize a synthetic dataset program that imports N-number of .glb files, places them randomly, and fixates a camera on the center of all these objects (so it can render an image of ...
0 votes
2 answers
1k views

How to remove unreferenced UV Coordinates from a Texture

I have a textured mesh that I have bisected and the mesh now only contains the parts that I want (the rest has been deleted). The result is, in my limited understanding, that the parts of the mesh ...
1 vote
1 answer
2k views

How to delete unwanted/unused parts of texture?

I've used photogrammetry to scan two objects. The texture that was generated has tiny patches of unconnected faces of both objects all mixed up together. These patches make up the texture for both of ...
1 vote
2 answers
953 views

sound_bake in command line script

I'm making an audio visualizer which I want to render from the command line. Unfortunately the bpy.ops.graph.sound_bake() function seems only to work from the GUI. ...
0 votes
1 answer
1k views

Running a python script with arguments in blender from terminal [duplicate]

I want to run a python script for a blend file within blender and I want to give the command from terminal. Blender has this option as follows: ...
3 votes
1 answer
1k views

Is there any way to change the number of rendering samples using command-line?

I am sending my .blends to another remote machine for rendering, and then I render them using command-line. Sometimes, the size of the .blends become as high as ...
2 votes
2 answers
1k views

Blender command line cli : create a new .blend from a normal 3d model like .obj, .fbx..... [[ FROM .OBJ -->> TO .BLEND ]] without a desktop

CONTEXT : I'm building a website where users can upload many files. [WEB SERVER, no gpu] WHAT I WANT : that an uploaded .obj => render an image preview as a .png WHY : to manage a library of ...
0 votes
1 answer
375 views

Particles not rendered using python script

Following this example I added a psys to my scene. I add the cube from the script because for this application I CAN NOT use the GUI, so adding this snippet: ...
0 votes
0 answers
132 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 ...
1 vote
1 answer
2k 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 ...
0 votes
1 answer
234 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: ...
21 votes
1 answer
159k views

open .stl file with blender [duplicate]

I need to open .stl files with blender, without importing them! In the properties of my .stl file, blender is set as "open with", but when I double click on the file it just opens blender as my ...
1 vote
0 answers
858 views

Create mesh in scene with modifiers, export and save it, then load later with modifiers preserved

I aim to do the following using Blender 2.82a and python: (a) create a mesh in a scene with modifiers and save it, then (b) in another python script, load that same mesh with the same modifiers ...
0 votes
0 answers
911 views

Debug python script inside Blender with passing arguments

I'm trying to debug a python script in which passing arguments is required. Since I want to debug, using -b flag is not an option (otherwise there is no problem ...
0 votes
0 answers
159 views

Render a .blend file in command line

I have a .blend file with some pre-configured lighting, camera,... The script in the file loads an external .stl file and render ...

15 30 50 per page