Given a selection of vertices (ie, a boolean that distinguishes certain vertices from others), how can I get all neighbouring vertices from the selection within a certain distance? The 2 vertices pointing to in the diagram have an attribute set to 1.
Ultimately I want to remove all the other vertices nearby (that don’t have an attribute of 1) within a certain distance (e.g. 0.0001) of these vertices:
^ Vertices are represented as red dots.
The vertices on the tip (corner) are already selected.
Probably ignore the ‘merge by distance’ text in the image - ideally I’d just delete them from the geometry. A merge would not be appropriate as I need those corner vertices to stay in place.