Dynamic display of coordinates - mkraska/meclib GitHub Wiki

Some objects have points, which display their coordinates if the mouse is close to them in the format (x,y).

By default, the values are given in grid coordinates with one digit of decimal precision. This matches the standard gridsnap of 0.1 grid units.

Scaling and decimal precision of the display can be modified by optional arguments of the "grid" object.

Note that this doesn't change the coordinate system for the definition of objects, it is just a display feature. Only the "circle2p" and "line2p" are defined in display coordinates.

"spline" objects display coordinates with scaling and decimal precision as specified by "grid" but with reference to a local origin. The definition and return values are in unscaled local coordinates.

"force" objects: The coordinate display at the head control point displays the components in scaled grid coordinates in the format Vector (dx,dy). The decimal precision is by one more than the decimal precision of the grid (default value or set by "grid". The tail point shows it's scaled coordinates also with increased precision.