All Questions
75
questions
0
votes
0
answers
20
views
Placing an object along an edge over another
I want to place an object along an edge over another, but keep the same angle betwen faces. My English is not good so I hope a couple pictures can show what I want. I put manually a pyramid over a ...
1
vote
0
answers
20
views
How do you find the active element of an object's edit mode components (verts, points, faces, loops, ..whatever) using python?
Where does blender store the information for the active element for an object?
For example, I can tab in and out of edit mode for a mesh, and the active element remains the same. This is the same for ...
0
votes
0
answers
71
views
How can I access and modify a boolean attribute in edit mode?
Re Manually setting custom attributes per edge / vertex / etc
TLDR : In edit mode, the regular interface to access and edit attributes, ...
0
votes
0
answers
25
views
How to highlight a vertex in Edit Mode?
I'm working on an addon, and I have an operation that manipulate vertices in some way.
The problem is that after this manipulation I want the user to easily see which vertices were effected by the ...
0
votes
1
answer
41
views
Move a vertex programmatically from Python
I am trying to move vertices programmatically, but whatever I do, there is no effect.
I am using this simple script on the default cube in Blender 2.93 (for use with luxCore)
...
0
votes
1
answer
36
views
How to create an inset on a cube using the Blender API
I'm attempting to inset the top face of a cube using the Blender API using the code below. If anyone could help me understand why I am not seeing any inset within edit mode after running my script ...
1
vote
0
answers
19
views
Detect when Grease Pencil object is edited
I want the blender script to call a function when a Grease Pencil object is edited. This way, I can get the difference between the unedited and edited strokes.
This is because I want to get the ...
1
vote
1
answer
40
views
Scaling multiple independent meshes in an object from their centers, and, scaling only meshes whose centers are engulfed within specific coordinates
In the MWE (Minimal Working Example) below I created 4 spheres and placed them at 4 different locations along the Y-axis. I would like to scale each sphere as per my wish (lets say 2 in the X,Y,Z).
<...
1
vote
0
answers
181
views
Access Face Maps using python script - in edit mode
I am writing an addon that needs to access faces and face maps in edit mode. (I am referering to the face maps that appeared in Blender 3.0 and can be used similar to vertex groups rather than UV face ...
2
votes
1
answer
304
views
EXCEPTION_ACCESS_VIOLATION on bpy.ops.mesh.decimate()
Hey I'm running blender 3.3.1 and I am having an issue in my script where I am getting the error EXCEPTION_ACCESS_VIOLATION, the second time that I select a group of polygons. I believe it may be ...
2
votes
1
answer
394
views
To select the vertex at the highest point on the z-axis in edit mode
When modifying the Hi-Poly model, I would like to find and select the vertex at the highest point on the z-axis, but is there a simple way to find this vertex?
1
vote
1
answer
671
views
RuntimeError: Operator bpy.ops.object.mode_set.poll() failed, context is incorrect [duplicate]
I want my object to switch between Edit mode and Object mode every one second, So I wrote this code:
...
0
votes
0
answers
190
views
Double click the left mouse button will appear c, how to fix this problem
Double click the left mouse button will appear c, how to fix this problem.When I in edit mode.It will always appear circle select.like this,I can't edit the bisect.Really need help.
edit in 11.17 ...
7
votes
3
answers
3k
views
Manually setting custom attributes per edge / vertex / etc
I'm trying to determine if it's possible to define custom attributes associated with vertices or edges of a mesh and then assign values to them manually as part of the mesh creation process, much like ...
0
votes
1
answer
416
views
grease pencil edit mode simplify stroke in python
Can someone can help me to simplify a stroke in grease pencil edit mode?
I'm looking for the equivalent of this command used on curves:
but in Python and for Grease Pencil objects.