Linked Questions

5
votes
1answer
2k views

How to get vertex coordinates after modifier in Python in Blender 2.80? [duplicate]

I have a mesh with armature modifier. Is there any efficient way to read its vertices coordinates with modifiers accounted in Blender 2.80? So far the only way I found is to duplicate the object, ...
2
votes
1answer
114 views

Extracting vertices data after transformations [duplicate]

I'm using few rotations and scale changes in a model and then export the location of the vertices after the change, but when I do so, the vertices extracted are those of before the transformations and ...
0
votes
0answers
13 views

I'm writing a python file exporter for Blender 2.91. How can I make temporary duplicate objects/meshes and apply all modifiers to them for export? [duplicate]

I had an existing python exporter for Blender 2.7 which iterated through all the visible objects in the scene, grabbed any child meshes and duplicated them, applied modifiers, triangulated the ...
13
votes
2answers
6k views

How to get a new mesh with modifiers applied using Blender Python API?

I've been scouring the Blender Python API docs for a way to get access to the mesh data that is displayed in the view-port. (with modifiers applied - WYSIWYG) For reference, this was possible with ...
5
votes
3answers
3k views

Is there a low level alternative for bpy.ops.object.convert()?

I am using bpy.ops.object.convert(target='MESH', keep_original= False) in a python function in blender to convert metaballs to a mesh. The script works fine when ...
5
votes
3answers
9k views

Show the polycount of selected objects in object mode

How to show the polycount statistics (faces, tris, etc) of selected objects in object mode? The bar on the bottom of screen shows polycount of the whole scene: I know I can switch to edit mode and ...
2
votes
3answers
1k views

Python in Blender 2.8 - testing if two objects overlap in the XY Plane?

In Python is there a way to test if two objects overlap? I am somewhat randomizing the location of two objects and I need to make sure that they do not overlap. I have spent several hours (without ...
1
vote
1answer
1k views

Boolean difference not making any diiference (Python scripting)

I'm using Blender 2.76 on a Win 7 x64 machine. I should warn you I'm new to Blender & its Python API although I have used Python extensively before I'm no expert. I run the following script ...
3
votes
2answers
430 views

Is it possible to get vertex locations (world) from a vertex group?

How can I get the vertices location connected to animated bones? E.g. the vertices of vertexgroup "foot.L" at keyframe 2?
3
votes
1answer
286 views

Updating a 2.7 script that uses frame_current to work with 2.8+

There's a script I find very useful that works in 2.7x that is no longer working in 2.8x, 2.9x. I want to update it to work with current Blender versions. The script takes an object and makes a ...
2
votes
1answer
486 views

Get Point Coordinates generated with Geometry Nodes?

Say you generate some random points using Geometry Nodes, how can you get all those point coordinates using the python api? The only hint I have is that the point coords are located under Point Cloud ...
0
votes
1answer
417 views

executing modifier on object does not have any effect

I have a dataset, called ModelNet, containing *.off-files. I need to read each file, decimate the mesh and store it to another file. Problem: For some reason the ...
2
votes
2answers
113 views

Number of vertices and edges report no changes after adding boolean intersect modifier

I am trying to check if a cube and a cone with 7 vertices (python will show 8) intersect or not. To do so, I am using a boolean intersect modifier and check how many vertices are there, after adding ...
1
vote
1answer
142 views

Get frame to frame object location Blender 2.81 +

I have a script which generates a curve path and sets an object to follow the path, I can see the object moving correctly in the animation move, and it also moves to the correct location (at least ...
1
vote
2answers
175 views

Get bmesh and list of vertices

I try to get the are_inside function working from: https://blender.stackexchange.com/a/80781/21443 No matter what I try, I just get new errors. My scene is as ...

15 30 50 per page