two clic to make a line

hello

I wonder if somebody could make a simple script to create a line by two clics and make the pivot of the line to have its x axis aligned to the line.
Thanks.
(no ui, just run script, clic, clic, and voilà)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
titane357's picture

Thanks for help. But too

Thanks for help. But too complex for me...

titane357's picture

nobody ?

nobody ?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.