All Questions
169
questions
1
vote
1
answer
239
views
How to get "Add Modifiers" panel as enum value?
I need all modifiers list as my custom enum value,
i only know to write this by hand, here for example:
...
1
vote
2
answers
3k
views
How to draw Inputs from Geometry nodes modifier in a panel
I am trying to draw the inputs of the Geometry Nodes modifier to a panel, and I tried doing this
...
1
vote
1
answer
281
views
How can I assign string variables to an object selection list
I wanna make a script witch automatically connects my sim geo to my high res geo with a Surface Deformer.
But Object lists only accept objects, not strings. Is there any way to convert strings to ...
0
votes
0
answers
135
views
Blender API - Repair meshes, similar to Windows 3D Viewer?
I have a question about repairing an stl, particularly after a Bollean union. I've been working on a script that allows me to make customizable game pieces for 3d printing. It involves combining a ...
1
vote
1
answer
46
views
How do I define a command for each of the options?
I created a dropdown using dynamic property. How can I set it so that, for example, I can apply that modifier to the name of one of the modifiers selected in the list, but unfortunately I can not get ...
1
vote
1
answer
53
views
How to store multiple added empties IDs used in a warp modifier so they don't conflict with new warp modifiers?
this is my first time coding for Blender, I haven't gotten around to organizing the code yet. I'm self taught so my code's not the cleanest.
I'm attempting to create a 'dorito' deformer using this ...
1
vote
0
answers
509
views
Is there a way to change default Modifiers' options?
Is there a way to change the default Modifiers' options? For example, Boolean options.
Let me explain: I work with high-poly models for 3D printing. And each time I forget to turn off preview option I ...
1
vote
1
answer
183
views
Set a projector at UVProjection modifier (script)
I am trying to create a script that involves the creation and setup of a UV Project modifier. When it comes to set the UV Map of the projector, there is no problem at all:
...
0
votes
0
answers
102
views
How to get cache name with a script
I have a script that needs to get an object's cache name. Basically this:
I have tried with
...
2
votes
3
answers
803
views
How to add a mirror modifier to all objects of a certain collection?
I'd like to add a mirror modifier to each object of a certain collection.
The problem is that the modifier will be only added to the last object which even gets the same modifier several times and I ...
2
votes
1
answer
578
views
How to hook a vertex of a curve to a certain object?
I'm trying to hook a curve vertex to an object and this method works perfectly:
bpy.ops.object.hook_add_selob(use_bone=False)
The problem is when I try to do this ...
0
votes
1
answer
1k
views
Boolean with bevel bezier curve
I have loaded an stl file and want to do some boolean stuff on it using python API (see code below). First I create the bevel spline and move the end points where I want them. Then I create a boolean ...
0
votes
0
answers
73
views
Add-on script problem
Can anyone tell me why Blender thinks that object type Object does not have attribute modifier_add?
When you check what code Blender use when you manually add any modifier to object, it is this (in ...
3
votes
1
answer
239
views
Addon script not working
I am newbie to Blender scripting, but I am trying to make very simple Addon with the help of the YT tutorial that looks like this but it is giving me error that something is wrong, tho there is no ...
3
votes
2
answers
320
views
Number of vertices and edges report no changes after adding boolean intersect modifier
I am trying to check if a cube and a cone with 7 vertices (python will show 8) intersect or not. To do so, I am using a boolean intersect modifier and check how many vertices are there, after adding ...