I am using the 'Add Mesh: Extra Objects' addon in Blender to plot points at specified coordinates. Each point is added to a mesh of points instead of being a separate object. My goal is to implement a functionality where I can delete individual points from the mesh one by one, similar to a stack.
Current Approach: I have an operator with an execute method that plots points at specified coordinates using primitive_vert_add(). Each point's coordinates are stored in a list named points_list.
Challenge: Now, I need a method to delete vertices one by one from the mesh created using the addon.
Requirements:
- Delete vertices individually from the mesh.
- Ensure that deletion occurs in a stack-like manner, meaning the most recently added point can be deleted first.