All Questions
245
questions
0
votes
0
answers
15
views
Continue baking after changing modifier and adding a new object
blenderers!
I want to write a Python script to simulate two clothes being dropped on top of a cube. Here are the steps that I want to take:
I want to drop the first cloth and simulate the physics for ...
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 ...
1
vote
1
answer
31
views
How to Set Object Viewport Colors Based on PBR Material Properties?
I'm trying to create a script in Blender that sets the viewport colors of objects based on the properties of their physically-based rendering (PBR) materials. However, I'm encountering difficulties in ...
0
votes
0
answers
37
views
Automated rotations
I am stuck on a problem in Blender. I am trying to create a function that automatically aligns an object based on its dimensions to the world axis. This mean for example the largest axis will be ...
0
votes
1
answer
24
views
Changing the size of the box by the user
I want to create a box, export it using Blend4Web to html and post it on the site. And so that the site visitor chooses the width, height and depth of the box. I need these parameters to be changeable....
0
votes
1
answer
33
views
Align vertices behind each other
Have seven objects behind each other in a straight row and aligned with x,y axis.
Zooming in, the vertex's from each object does not align to each other. Here and there they do, most are scattered. Is ...
0
votes
2
answers
93
views
Adding a camera in front of an object based on xyz rotation (Euler to Spherical conversion)
About the script:
I would like to add a camera in front of a selected object.
The front of the object is based on a calculation using a pre-defined polarangle, azimuthal angle and distance.
The ...
0
votes
0
answers
37
views
Blender 3.6.2 > Move a selection of vertex's from selected vertex
Have a object (10 disks with 5 round holes in them).
After selecting a cluster of vertex (total 4) the script need to:
Move selected cluster down by 1mm
Select next cluster (to the left) and move ...
2
votes
1
answer
163
views
How to loop duplicate one object on top of all selected objects?
How to loop duplicate one object and translate the copy origin on top of the origin of all selected objects (origin position in the belonging objects unchanged) one by one with a python script?
Edit ...
3
votes
3
answers
339
views
Blender Python: How to test for "selectable" objects in viewport?
Is there a way to check if objects are selectable in Blender Python?
The code below checks if an object is visible, but is there also something to check if an object is also selectable in viewport?
...
1
vote
1
answer
39
views
Scaling multiple independent meshes in an object from their centers, and, scaling only meshes whose centers are engulfed within specific coordinates
In the MWE (Minimal Working Example) below I created 4 spheres and placed them at 4 different locations along the Y-axis. I would like to scale each sphere as per my wish (lets say 2 in the X,Y,Z).
<...
3
votes
3
answers
586
views
Generate non-overlapping spheres having different diameters in a cube
I would like to generate a 'N' number of spheres having different diameters within a cube. The condition is that the spheres shall not overlap. I use the following code to generate spheres (random ...
0
votes
0
answers
33
views
How to lock an updating object to the screen using scripts (Blender 3.5)
I wanted to create an object that automatically updates with scripts and displays on the screen in a fixed position in Blender viewport. Kind of like how 'Objectives' in the top right of the image ...
0
votes
1
answer
137
views
RuntimeError: Error: Object ‘Base_01_Low.001’ can’t be selected because it is not in View Layer ‘ViewLayer’!
How can i add the object to a view layer?
I mean not just with code, but even manually how can i do that?
i trying to execute a script and first time it works fine, but second time it gives an error ...
0
votes
1
answer
214
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=...