Macro FCInfoToMouse/en

Description
Provide informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen



Use
After installing the macro in your macros directory, run the macro annotation is created and the mouse coordinates information is displayed in real time.




 * X, Y, Z : coordinates mouse displayed in the bubble (For the mode "Single" alone this mode is displayed)

After the first click, the other information is displayed (For the mode "Forced" alone this mode is displayed)




 * X1, Y1, Z1 : first coordinates on click mouse
 * X2, Y2, Z2 : second coordinates on mouse
 * L : length between the first mouse click and the current mouse movement
 * XY, YZ, XZ : angles between the first point and moving the mouse in the plans XY, YZ, XZ

if the mouse is over an object, the object name appears at the top of the annotation



Uses the key :

 +  : for quit FCInfoToMouse, if you leave the macro annotation remains at the current location of the mouse to maintain the information at the point of the mouse. If you want to delete the annotation manually.

 +  : for force display "visualisation complete", mode "single", mode "normal"
 * The mode single displayed only the coordinates of mouse

 +  : for "hidden / visible"

 +  : for "open / close" a spreadSheet in document the coordinate saved to:



At any time, you can change the properties of the annotation by clicking the object FCInfoToMouse in Combo View and click the View tab

If you want change the number of decimal change the line 43 (default 4)

Example for 6 decimal places:

original value

replace to

To make the configuration of the permanent annotation you can change the values in the configuration section lines 104 to 122

Script
The icon FCInfoToMouse.png for the Customize_ToolsBar

Macro_FCInfoToMouse.FCMacro

or to Gists Macro_FCInfoToMouse.FCMacro or the zip Macro_FCInfoToMouse.FCMacro.zip

Limitation
It is possible that the macro does not recognize some keys

Links
The discussion on the forum From autocad to freecad

My macros on mario52a gists

Version
27/03/2018 ver 00.04 : add function "Save the coordinate in a spreadSheet key "D" flip/flop on,off

24/01/2016 ver 00.03 : add section configuration and replace key "C" to "M"

23/01/2016 ver 00.02 : add function "single", replace key "H" to "C" and correct bug

02/01/2016 : ver 0.1