Questions tagged [numpy]
A python library adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays
30 questions
0 votes
0 answers
16 views
How to fix Python/Numpy installation error on A.N.T. landscape install addon? [closed]
I've been trying to install A.N.T. in 4.4 on my Mac, but I keep getting this exception error message. ...
2 votes
1 answer
140 views
create an object from scratch by using numpy
I'm trying to create one object from scratch using numpy (in the example, in order to make it very simple, only two vertices and one edge). The code below works (Hurray!) but ... Could anyone give me ...
1 vote
0 answers
1k views
Using NumPy in Blender Add-ons Without Requiring External Installation
When developing Blender add-ons, I often find myself in need of the numpy package due to its optimized algorithms for array manipulation. However, a significant ...
1 vote
1 answer
352 views
How do I get a "correct" isosurface from points to volume to mesh workflow?
I am a computational chemist, looking to visualize an electron density in blender. The density is basically a 3D-array with a value assigned to each point. I managed to load the density to blender, ...
3 votes
1 answer
212 views
vertex positional difference alternative using numpy
I have a function looking at a difference in vertex positions, and storing that difference on a third mesh - ...
1 vote
0 answers
194 views
Faster way to get selection bounding boxes
I'm trying to get the bounding box coordinates of certain groups of faces. I am running this in a frame update so I'm trying to squeeze out as much performance as possible. I use the result of the ...
1 vote
1 answer
2k views
Calculate the distance for every entry of 2 lists with x y z 3D coordinates using python
I have two numpy lists with 3D coordinates of vertecies of two meshes. These lists are of unequal length. I would like to calculate the 3D distance between every coordinate in arrayA and arrayB. ...
2 votes
1 answer
1k views
What is the fastest way to set global vertices coordinates to a numpy array using bpy?
The fastest way I know to get the vertices coordinates from the mesh is to use .foreach_get() method: ...