Linked Questions

14
votes
7answers
2k views

How to find the number of loose parts with Blender's Python API?

I want to find out how many loose parts a mesh has using Python, i.e. write a function that takes a mesh object as an argument and returns an int. So far I haven't found a way to access this ...
2
votes
2answers
5k views

What are all values in bound_box?

I want to compute the total scene bounding box, so I can fit the scene in rendered image automatically. I have found bound_box. But why are there so many values <...
2
votes
2answers
2k views

Slicing an object in 4 parts

I want to cut a model which otherwise would be too big to 3D print in 4 parts . I use the fastcarve add-on and use a plane to slice the model in 2 in the y-axis (|). When I then select a half and use ...
5
votes
1answer
1k views

How to model 14,16 and 18 sided dice?

I've already modeled the 4,6,8,10,12 and 20 sided dice via regular solids (tetrahedron, icosahedron, etc...) and the 10 sided following a tutorial. Now I need the 14,16 and 18 sided ones, but I don't ...
4
votes
1answer
749 views

Script for splitting a mesh into n components along z axis

I'm trying to divide a mesh into multiple parts along the z axis. I've followed another tutorial and managed this, which divides the mesh into 2 parts, but I can't seem to divide it into more than two....
1
vote
2answers
1k views

What is the best way to copy/append geometry from one bmesh to another

I get geometry from bisecting some mesh bm_tmp by a plane and I want to copy/append the resulting geometry r['geom_cut'] (only ...
2
votes
1answer
129 views

Left/Right Test

I am new to blender python scripting. I was stuck up with testing an object location whether it is left or right to the centroid. To describe in detail, I have a group of fishes going together (school)...
0
votes
1answer
147 views

bisect_plane not clearing in python API

Here is my bisect plane command, which does infact produce new verticies along the bisected plane (Blender 2.90): ...
1
vote
0answers
101 views

What section of a sphere does the camera 'see'? Intersection of camera viewport and sphere

Blender 2.8 Scene: A sphere and a camera. The camera can be moved, but it will always show a part of the sphere. Later on, textures should be loaded onto the sphere BUT ONLY for the part of the ...
0
votes
2answers
74 views

What is the most efficient way to finely "slice" layers though objects with python

I'm wondering the most efficient way to programatically "slice" though objects to generate a 2D set of faces, vertex loops and derivatives such as face area, and centrons (for more complex ...
2
votes
0answers
24 views

Separate a Mesh into several small meshes using Python

I would like to separate a mesh into smaller individual meshes using Python script. The whole mesh as shown in the picture has 500 m in length, and I would like to set up a series of parallel Planes ...
0
votes
0answers
21 views

Separate Mesh into parts based on spacial geometry and not linked-rule

I was able to run a python script that cuts my mesh into several meshes based on the following thread : Bisect mesh into n parts, without separate 'LOOSE'. However, some of these parts should still ...