I am trying to devise a way where I can "point and click" to create a line geometry and specify the number of vertices in this line.
So, this would look like me setting a "start" point / vertex by clicking, and then clicking at some other location to finish the shape (forming a line) but then being able to specify the number of vertices in that line (equally spaced) so that I do not have to go through the long process of extruding and dragging each time I want to create a vertex or trying to subdivide after I have made a line.
This way I could just click two points in 3D and say "join these points with a line that has X vertices".
Is there a pre-existing or relatively straightforward way to do this? The reason I am interested in using a "line" is that I am trying to make a correspondence between each vertex and a light, so I do not need a grid which would have two vertices at each point.