Skip to main content

All Questions

Tagged with
0 votes
0 answers
37 views

Automated rotations

I am stuck on a problem in Blender. I am trying to create a function that automatically aligns an object based on its dimensions to the world axis. This mean for example the largest axis will be ...
Alessandro leone's user avatar
1 vote
2 answers
503 views

Script to scale objects resets scale when scrubbing through frames

I am writing a Python script for Blender 2.8 in which I replace objects in the scene with new objects. I start by importing the new object as a .FBX and linking the original object data to the new ...
JakeRSA's user avatar
  • 11
1 vote
2 answers
558 views

How do I add an .obj file from a relative file location?

I need help adding an .obj file via scripting. I've tried using this line of code, but I'm having issues importing the obj file: ...
VortexHero's user avatar
3 votes
0 answers
674 views

How to properly import an obj with all materials and textures using python?

I'm just about to import an .obj mesh to Blender and render it all by using a python script. There are three files: .obj, <...
YCL's user avatar
  • 31
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,062
4 votes
1 answer
21k views

Blender 2.78 .obj import via script [duplicate]

So is importing .obj in 2.78 via script broken, or am I not doing it right? It's crashing on import in my script when I try and reference the object at all. ...
J Rowoldt's user avatar
  • 335
0 votes
1 answer
662 views

How to translate imported obj's based on its respective filename?

Ok. So, I'm very new to Python, and I'm not very skilled with Blender either. I do have some C# experience, if it helps. I'm working on a module/add-on that takes OBJs made with World Machine and ...
Alexander Meyers's user avatar
12 votes
2 answers
29k views

Import 3D XML in Blender or convert it with another tool

I would like to find a way to import 3D XML (zipped file with XML Data and textures) files into Blender or find a workaround without using 3dvia, or AutoDesk to convert it. I know there is a python ...
Abel's user avatar
  • 562