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

Filter by
Sorted by
Tagged with
2 votes
1 answer
2k views

Create curve from Numpy Array using Python

I have looked through previous questions on this and many other boards and I cannot seem to find a previous answer. I have a largish Numpy generated ndarray that represents a harmonograph output (...
Terela02's user avatar
16 votes
4 answers
3k views

Replace matrix @ vector list comprehensions with something more efficient

I'm looking to replace list comprehensions like the following with something more efficient and I was wondering if numpy can be used. ...
MACHIN3's user avatar
  • 807
7 votes
2 answers
552 views

Fastest way to skin a grid

Having recently answered a question re the Z surface math function, from the add mesh extras addon, made me get back to coding same via numpy for instance with a ...
batFINGER's user avatar
  • 84.3k
5 votes
1 answer
3k views

Python : Custom Attribute for Vertices

I want to store custom Vector attribute for each vertex (custom vertex positions). I want to get it through numpy as I have millions of vertices: ...
mifth's user avatar
  • 2,341
4 votes
2 answers
2k views

Fastest way copying from bgl.Buffer() to numpy array

I have some rendered or processed pixel data in a bgl.Buffer() object and need it in a numpy array but that proccess seems to take very long. Here is what I have tried so far: ...
Gottfried Hofmann's user avatar
1 vote
1 answer
130 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, ...
Hendrik's user avatar
  • 41