Linked Questions

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 ...
Alex Husarenko's user avatar
5 votes
1 answer
7k views

How to prevent memory leakage in Blender?

I have to load lots of objects/meshes(50k) in Blender and render them for which I have written a Python script. My meshes have lots of vertices/faces (in the range of ~[10k, 70k]). I noticed that ...
Amir's user avatar
  • 3,074
5 votes
1 answer
6k views

Print all commands in the Info view?

The Info view doesn't show every command (scripts) which I actioned. Example open new file, reload file, import, export... How to show them?
buonnguqua's user avatar
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 ...
CoolCoder's user avatar
  • 626
3 votes
1 answer
786 views

Using argparse in script yeilds memory error

I want to get blender to work with argparse. I found the following implementation in blender here and tried to sum it down to this: ...
GuySoft's user avatar
  • 131
3 votes
1 answer
501 views

How to render an image with edits based on custom input, from the command-line?

I would like to write a webservice, which renders images using blender using the passed pose of the camera. This means I need to start blender within python, pass the scene, place the camera and ...
mojovski's user avatar
  • 131
3 votes
2 answers
531 views

Modify a blend file via console outside of GUI

I have built a little 'smart' robot using a Raspberry Pi and Arduino. Currently it can move around, sense obstacles, determine if it can pass, etc. My biggest problem so far is that it is completely "...
Mungoid's user avatar
  • 185
3 votes
2 answers
2k views

Sequentially importing .obj files becomes drastically slow very quickly

I have written a very straight-forward script that imports many obj files one-by-one and renders them. The imported meshes have ~10k to ~120k vertices. After rendering, I completely remove the ...
Amir's user avatar
  • 3,074
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 ...
Jintor's user avatar
  • 141
2 votes
1 answer
2k views

Cannot pass arguments to Python script when executed by blender.exe

On Windows, I'm trying to have blender.exe execute a Python script that internally uses the argparse module for the arguments handling. What I'm struggling with is ...
ackh's user avatar
  • 318
2 votes
1 answer
789 views

How do I render only part of an image via the command line?

I know that it is possible to render from the command line: https://docs.blender.org/manual/en/dev/render/workflows/command_line.html I'm tring to make it possible to render a single image on ...
man zet's user avatar
  • 123
2 votes
1 answer
695 views

command-line export data to php

I need to open an STL file with Blender, run a script that finds it's dimensions and send them to a php page. All of this should essentially be done through command line or a python script. So far I'...
Alex Husarenko's user avatar
2 votes
1 answer
758 views

How do I delete/remove/replace an image using a script?

I have a script that inserts three images (Image1, Image2, Image3) into a blend and then renders the video. It works great. The images show up exactly when and where they are supposed to. The problem ...
mcgeo52's user avatar
  • 121
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 ...
Kask909's user avatar
  • 31
1 vote
1 answer
2k views

How to output multiple images from Blender's compositor with Python?

I know how to render one image via Python and get an output with Blender's compositor. What if I need it to render 100 images for me with numerical names e.g: img_1...
cxnt 's user avatar
  • 397

15 30 50 per page