Linked Questions

17 votes
1 answer

Duplicating a mesh object [duplicate]

I would like to duplicate a mesh object, but on a particular object. Right now this is working: ...
Raspberry's user avatar
  • 425
38 votes
2 answers

Python performance with Blender operators

In my script, I have for loop over many cube objects (~1000) and the treatment is very slow. Looking more in details, I notice that in the same amount of loops: if ...
Salvatore's user avatar
  • 757
14 votes
4 answers

Python move object on local axis

Read through a lot of questions but I didn't find a simple answer. How do I move an object on it's local axis using a vector? I don't want to use bpy.ops.transform.translate, because it's slow. ...
bortran's user avatar
  • 1,362
14 votes
2 answers

link new object to scene with python in 2.8

In Python 2.8, I would like to create copies of the object 'CubeTemplate' but am having no luck. I have reviewed every blender.stackexchange post on this subject (this, this, this and this) but ...
vndep's user avatar
  • 713
5 votes
3 answers

Set driver variable ID-block using python

I am trying to build up a scene using python to copy objects and their drivers. The object to copy is a simple cube which has the Custom Property prop and a driver for its x-location. The driver ...
Symmetronic's user avatar
1 vote
1 answer

Export collection and set FBX file name as collection name?

How difficult is it to make a selection by collection and set the FBX file name as the collection name? ...
KasAndrr's user avatar
1 vote
1 answer

Duplicating an object in script (by name) [duplicate]

I want to duplicate an object (by name). In this case, tried "Cube": ...
fran35's user avatar
  • 13
1 vote
0 answers

problems in duplicating a object/ creating a object through python API

I created a city scene which has a vehicle model inside, I need to duplicate the vehicle model to display a dozen of them in the city scene through python API. The vehicle object name is BMWM1. I have ...
user824624's user avatar
0 votes
2 answers

How to take meshes and generate objects from them and add them to master collection using python

I am currently working with a script that was originally written for Blender 2.49, the last part of the code is meant to copy a group of objects multiple times in a pre-arranged way I have upgraded it ...
Daklinus's user avatar
1 vote
1 answer

Using Blender to map XYZ objects from Homeworld RTS Space map HELP

I am new to blender, and not a 3d artist. I am making a map for a RTS game called Homeworld. The location of objects in this game are in XYZ coordinates of a 3d space. e.g. "Player Object,{3607, -...
B8factor's user avatar