Questions tagged [python]
Python is an object-oriented programming language. In Blender, it is used as a general purpose scripting language and to create add-ons to extend Blender's functionality.
13,277
questions
0
votes
0
answers
6
views
module has no attribute 'register' - Installing Blender 4.2 add-on
Good day, all!
So I finally made my add-on work as it should, but not Blender decided to change how add-ons works) This is great, but now my add-on not installing.
I've removed bl_info from script and ...
1
vote
1
answer
16
views
Add text information directly to the viewport for 5 sec
I am trying to add text information directly to the viewport so that it would be displayed for 5 seconds after the button is pressed and then disappear. I have not been able to realize this using ...
0
votes
0
answers
20
views
Check if any popup is running in 3D viewport
How to check if any popup is running in 3D viewport like adjust last operation menu, not include N-Panel
I am looking for a method to check this to resolve my addon bugs in blender 4.2.
Script for ...
3
votes
0
answers
16
views
how can i import bmesh module just like bpy?
I try to install bpy to my local python package.It work well,but I just want to import bmesh is not found.What can I solve it?
I git clone blender git,and run "make bpy" to import bpy.
0
votes
0
answers
13
views
Blender scripting, run the operator after the save window is closed?
have a problem with my addon.
I have a button that is intended to first save a copy of the file (a basic save copy window shows up) and then it runs some operations on the file's model etc. So ...
1
vote
0
answers
29
views
How to handle invalid context in Blender 4.0 after render [duplicate]
In my Python script, I rotate a randomized dice with a rigid body, play the animation using bpy.ops.screen.animation_play() to apply the physics, and then render ...
-2
votes
1
answer
27
views
AttributeError: 'NoneType' object has no attribute 'type' [closed]
Good time of the day, all.
Can't get rid of this error message. Although the function is working, but I get "AttributeError: 'NoneType' object has no attribute 'type'" error message.
Code:
<...
2
votes
1
answer
79
views
How to get not active object?
What I'm trying to do is select two objects, add Data Transfer modifier to active object in selection and then use not active as source.
So, active object is ...
1
vote
0
answers
18
views
Making a basic n panel template with working properties [duplicate]
I'm trying to display some different property types on a n-panel. I would like to level up from using operator buttons, but I'm having trouble figuring out how to make a panel with some properties.
<...
0
votes
0
answers
24
views
Georeference 3D data generated using BlenderGIS
I generated a 3D model (terrain + extruded buildings) using BlenderGIS,and I was wondering if I could integrate them into an ifc project having the right georeferencing using BlenderBIM. The problem ...
0
votes
0
answers
11
views
Binding of machine gun ammunition chain
I made the skeleton of a machine gun, and because I want to achieve the effect of the remaining bullets disappearing bit by bit after finishing the bullet in UE, the parent-child relationship of my ...
0
votes
0
answers
51
views
How can I transfer settings from Blender 4.1 to 4.2? [duplicate]
I recently installed Blender 4.2, but it’s starting with the default factory settings—meaning all my key mappings, shortcuts, and startup preferences are gone. It seems like Blender 4.2 starts from ...
0
votes
0
answers
15
views
Regarding the issue of Blender importing FBX large files being too slow and often unresponsive
May I ask everyone, it always takes a long time for me to import FBX model files that exceed 150M or 200M in Blender, and I often encounter unresponsive situations? How can I solve this problem? First,...
0
votes
0
answers
7
views
How can I rig human-looking face onto a 3d FLAME mesh talking head?
Noob question here as I've just started working with Blender and 3d models:
I'm currently working with Blender 3.4.1 and I'm using Python script which runs blender on ...
0
votes
0
answers
8
views
Copy/Paste and Duplication Differ with Cloth Simulation
I have a baked cloth simulation that looks as follows:
I need to create meshes for each part of the shirt, so I copied and pasted the shirt repeatedly and created a mask for each part of the shirt ...