On a regular object I can use foreach_get to efficiently copy data into Numpy arrays and use numpy ufuncs instead of looping through the contents of the bmesh. However all the bmesh examples I see use a regular python loop or list comprehension to manipulate data. Is it possible to do this with Numpy instead?

I am using bmesh because I want to control the selection of faces, but doing so using foreach_set on a regular mesh does not have any effect.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.