Skip to main content

All Questions

Tagged with
0 votes
0 answers
25 views

Delete vertices one by one, when using the 'Add Mesh: Extra Objects' addon to plot points

I am using the 'Add Mesh: Extra Objects' addon in Blender to plot points at specified coordinates. Each point is added to a mesh of points instead of being a separate object. My goal is to implement a ...
crisplettuce's user avatar
0 votes
1 answer
63 views

Minimal object add-on UI with sub-meshes and Redo

I finally have this working UI, after exploring many rabbit-holes, so wanted to share it in the hope of improving its performance. Follow-up to this question. The key goal is to preserve the 'redo' ...
koober's user avatar
  • 51
0 votes
0 answers
74 views

Select and join specific objects into one in python

I'm making a plugin to extract meshes from a game. Actually, it extracts well the vertices and indicies/faces of each mesh. Blender version: 3.2.0 Addon target: <...
V E L Δ's user avatar
1 vote
1 answer
175 views

How to bundle 3D meshes and assets with an addon

I am thinking about adding 3D objects to my addon, and implementing an "add object" interface that allows a few simple, limited geometrical transformations (like scale width and height). I ...
Stefan Karlsson's user avatar
0 votes
1 answer
201 views

Getting crazy about activating/deactivating objects with python on a blender add on

Working on my add on, and I'm slightly getting mad because I have things that gave different results and should not.... So I have scripts, in scripts, in scripts. When I execute 2 levels on blender, ...
Alexandre 's user avatar
0 votes
1 answer
1k views

Why does 'bpy.context.object' return 'None' when accessed by an operator in a panel?

I wanted to switch between Display modes with hot keys. And I decided to write my own operator for this and create a small add-on to be able to start using hot keys and switch between these modes. The ...
White Raven's user avatar
  • 1,055
1 vote
1 answer
1k views

How to update Blender's naming index thing (.001, .002, etc.) after joining objects

I've been trying to reuse certain parts of code as functions in my bpy scripts. But that means that the same bmesh will be created as 'my_bmesh.001' the next time I run that function. To deal with ...
Perregrinne's user avatar
1 vote
1 answer
692 views

Creating a python script that will add objects in fixed time intervals

I want to create a python script that will add objects at a fixed time intervals. So for example, when I run my script, I want to add a cube, and 1 second later I want to add another cube at a ...
Viktor Raspberry's user avatar
1 vote
1 answer
230 views

Python Join Same Name function

I'm getting this error and am not quite sure how to fix it Please see below for my code.... ...
dood's user avatar
  • 35
1 vote
2 answers
140 views

Custom property hops{}

Blender 2.78c adds an object custom property hops{} which is labeled "API Defin" - can't be edited, won't stay deleted, can't find docs on it. Anyone know what it is and if it's documented somewhere?
LeighT's user avatar
  • 33
1 vote
0 answers
598 views

Create object using operator (bpy.types.Operator)

I faced the situation when I have to create an object using an operator. However, documentation says that operators "can’t pass data such as objects, meshes or materials to operate on (operators use ...
Nikita Zeulin's user avatar
2 votes
3 answers
785 views

Ellipse Construction Advice

I'm working on a add-on for Blender, and part of this add-on requires me to calculate the position verts along the arc of an ellipse. At the moment, I'm using the { ...
Francisco Chavez-Tejeda's user avatar
2 votes
3 answers
2k views

How to have a boundary box around a whole group instance?

Enabling bounds display on a group instance draws bounding boxes for each individual object: How to have a boundary box around the entire group instance? Via python or not. It seems to possible, this ...
PLyczkowski's user avatar
2 votes
1 answer
1k views

How to create properties for new object types

I try to create some properties for custom primitives in property group classes and I want to access them from an operator in another .py file to create primitives, ...
Ray's user avatar
  • 81
5 votes
2 answers
4k views

Update StringProperty on object selection change?

I have a StringProperty that I want to show the name of the selected object. Currently, I update the property by invoking an operator manually from a panel. However,...
dwitvliet's user avatar
  • 409

15 30 50 per page