Hello Everyone!
I’m trying to make some line drawing tool. I want to draw a line pressing e.g. button “1” and “2” to pick the start and the end of the line. Those three modes are:
“M” button pressed –> mesh (“1”) - mesh (“2”)
“P” button pressed –> point cloud (“1”) - point cloud (“2”)
“B” button pressed –> mesh (“1”) - point cloud (“2”)
I’ve managed to make this drawing tool, but at this point, I’m using 6 keyboard buttons (1-2, 3-4, 5-6), so I want to simplify the use (always press “1” and “2” to pick the line ends).
I will be very grateful for some tips, on how to solve this problem
Greetings!