Skip to main content

All Questions

Tagged with
1 vote
1 answer
38 views

Addon works from Text Editor, but fails to enable from Add-ons preferences [duplicate]

I've written very simple addon that exports triangulated and quad mesh of selected object, deleting all material slots and applying transformation. And all work fine if I run it from the Text Editor, ...
Dmitry Stogov's user avatar
0 votes
0 answers
14 views

How can I turn an Object LineArt into a Poly Curve?

I am really new to bpy and I wrote this script: ...
Psyduck Fan's user avatar
4 votes
1 answer
98 views

Automatic actions after starting addon?

I'm creating an addon in Blender using bpy. It's a side panel with a few buttons and input fields. To speed up development, I would like the addon to automatically ...
lurvas's user avatar
  • 45
1 vote
0 answers
19 views

USD Import Context Error

I am trying to import a USDC file, I am using a custom built QT tool that has a UI, that I am using to manage my assets but each time I try to import something I get a context is incorrect issue. Any ...
Shamiel's user avatar
  • 11
1 vote
0 answers
28 views

Non-free memory in bpy.types.Panel. Solved

I ran into a problem when creating a class instance inside the draw function at the panel. The fact is that when restarting addons in my addon, the values that were involved in the instance of the ...
blend file's user avatar
0 votes
0 answers
28 views

How can I add a FloatVectorProperty to my addon layout? [duplicate]

How to properly register a FloatVectorProperty? When I do: box.prop(self, "amb_day_color") where ...
Oleg Kivasev's user avatar
2 votes
2 answers
34 views

Some operators don't appear in operator search F3 despite being Registered and Developer Extras enabled

I found this thread and I already have Developer Extras enabled but I noticed that sometimes some operators don't show up in the F3 menu search despite ...
Megan Love's user avatar
0 votes
0 answers
18 views

Blender not booting after addon installation attempt

I tried installing this addon through its python script in Blender's text editor: https://github.com/ChicoEevee/Pokemon-Switch-V2-Model-Importer-Blender?tab=readme-ov-file#readme There wasn't any ...
RisingSerperior's user avatar
4 votes
1 answer
161 views

How to validate a float input to 2 precision in panel?

I'm trying to validate the inputs in a FloatProperty and make sure precision is always up to 2 decimal places. Apparently ...
Megan Love's user avatar
3 votes
1 answer
91 views

Python generated geonodes setup not behaving the same with the original geonode setup despite being identical

I have made a python script using this amazing addon Node2Python from the geometry nodes setup I made when I asked about this question. Shoutout to lemon thank you so much for your help! The geometry ...
Megan Love's user avatar
1 vote
1 answer
24 views

Operator in import category working but showing as invalid syntax when accessing bpy.ops.import

I have several operators that import different file types like this example: ...
Harry McKenzie's user avatar
3 votes
1 answer
274 views

How do you correctly add UI elements to adhere to the typing spec?

Here's my understanding of bpy.props.BoolProperty which offers additional functionality and integration with Blender's UI and data system. Using ...
Harry McKenzie's user avatar
1 vote
0 answers
78 views

My blender 4.0.2 freezes while these errors show (charset_normalizer)

Sometimes when I open my blender 4.0.2 (usually after restart of the PC), it freezes for a few minutes while these errors show (charset_normalizer) This does not happen when I force close it once and ...
ursingh's user avatar
  • 11
0 votes
0 answers
73 views

UPBGE error. Why can't I run my script via Logic Node Editor?

Why does an error occur when running a script using a "Run Python Code" node? For some reason, in the error description my script is called a module
Давид Сировский's user avatar
1 vote
1 answer
85 views

Boolean raise ValueError

A boolean modifier that was working is now throwing an error in Blender 4.0.1 raise ValueError("1-2 args execution context is supported") ...
Increality's user avatar
0 votes
1 answer
242 views

Error on any FBX import or export on Blender 3.6

Whenever I try to import or export a model, I get this error: I have tried rein-stalling blender, and the same thing happens. This has only happened recently, and I did not modify Blender in any way ...
The_Impiersonator's user avatar
2 votes
1 answer
192 views

AttributeError: 'NonType' object has no attribute 'name'

I am getting the error mentioned in the title: ...
Temeos's user avatar
  • 43
0 votes
2 answers
186 views

Module installation error

I have a Blender script that requires Pillow. The snippet shown below is the part that imports it. In one computer it works totally fine, in another computer it shows the following traceback: ...
TIF_vbcuban's user avatar
0 votes
0 answers
31 views

Exception Access violation when refactoring code - original works but separate files don't

I've written a script for a pbd simulation of a chain. The first vertex is pinned to the origin. The others are just vertices extruded in a line ...
ollie d's user avatar
  • 41
1 vote
1 answer
31 views

Glitch(?) - Script to Replace All Selected Objects with Active object

I'm creating some ways to 'retopologize' CAD assemblies with low-poly objects. I came up with a function that takes all the selected objects and replaces them with the active object, while retaining ...
Wes Tomer's user avatar
  • 153
0 votes
0 answers
96 views

Boxcutter won't install

Hi There I have just changed Mac to the Mac Studio, and have had to reinstall Blender 3.64 I cannot seem to get box cutter to install at all I have two versions (paid for) 6.9 Poly Dirk and 7.19.17 6....
Mike Nicholas's user avatar
0 votes
0 answers
88 views

Error Importing .wrl file with Blender

Whenever I try to import a wrl file which is a 3D map from Surfer, it shows me this error below. This is an image showing the error
Xp0's user avatar
  • 1
0 votes
0 answers
226 views

Blender 3.6 menus missing and interface unresponsive after fresh install

I have installed 3.6 for the first time but the interface remains mostly empty and is completely unresponsive to input. There are no errors shown upon launch and the only thing i'm able to do is ...
Moosetuin's user avatar
0 votes
0 answers
31 views

Error in the script for generating 2D rectangles

I tried to run the script below in Blender 3.6, which errors out with message: ...
saded's user avatar
  • 807
1 vote
1 answer
281 views

Why does bpy.ops.view3d.view_axis not work in View 3d context?

I'm on Blender 3.6 where the old way to override context is deprecated. I know that some bpy.ops commands need to be run in a certain context. I'm fairly certain ...
Harry McKenzie's user avatar
2 votes
1 answer
65 views

How do I separate spline (using bpy) to a new curve?

I have a very straight-forward code, it's not working. I wonder why does it select nothing and raise "No points selected" error. (Yes, it's a Nurbs curve, not Bezier) ...
Void's user avatar
  • 25
0 votes
1 answer
90 views

Modifying an exposed parameter of a geometry nodes setup via python

I have a Geometry Nodes setup, where I have an exposed parameter called Inflate amount: I want to change this value via script. I'm trying the following, but it ...
Nedudgi's user avatar
1 vote
1 answer
136 views

How to UV unwrap list of objects using Python?

I want to UV Unwrap with Smart UV Project but don't want to use bpy.ops.uv.smart_project(). In Blender 3.6 LTS, I tried with <...
Karan's user avatar
  • 2,381
0 votes
2 answers
259 views

Function not working when being called by operator

I'm doing a scritp with several functions. All of them have been tested and work fine if you execute them from a py file. The problem is when I put them on an operator and call them when pressing the ...
AntGarGal's user avatar
0 votes
1 answer
226 views

'Scene' object has no attribute my_tool after changing import method from classes to modules in __init__.py

Everything worked until I reworked my import methods to import modules instead of every single class. Now, however, my my_tool call does not work anymore because I can't simply use type=...
caddev20's user avatar

15 30 50 per page
1
2 3 4 5 6