7BIndustries / Semblage

Semblage is an open source CAD GUI backed by a programmatic CAD API named CadQuery.
https://semblage.7bindustries.com/en/latest/
GNU Lesser General Public License v2.1
48 stars 3 forks source link

Make Vertices Selectable With the Mouse #50

Closed jmwright closed 2 years ago

jmwright commented 3 years ago

Vertices need to be selectable to support selector synthesis. Since there can be many vertices which can clutter up the 3D view and slow down rendering, I have two current thoughts on how to handle this.

The second option would be closer to how most GUI CAD programs handle it, but that technique requires continually checking a ray cast from the mouse pointer to see if it intersects with the bounding box of a vertex. It also does not help a user if there are vertices mid-line that are not obvious. Some users may dislike it, but I'm leaning towards option 1 as the most efficient and the one that most explicitly captures user intent.

jmwright commented 2 years ago

Added in commit 1a64ddfaa6364b97beafa6268173c48c4f90775e