blob: 91870b9787d3f4d573397fff1829d1b8a98f279e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#********************************************************************
# Description: emchelp.tcl
# This file, 'emchelp.tcl', implements messages for tkemc
# baloon help.
#
# Author:
# License: GPL Version 2
#
# Copyright (c) 2005-2009 All rights reserved.
#********************************************************************/
# Functions that return help strings for various EMC settings
# Units help, for help with widgets that get their settings from
# emc_display_linear_units
proc unithelp {u} {
if {$u == "inch"} {
return "\
Displayed values are in inches, regardless of the\n\
programmed units."
}
if {$u == "mm"} {
return "\
Displayed values are in millimeters, regardless of\n\
the programmed units."
}
if {$u == "cm"} {
return "\
Displayed values are in centimeters, regardless of\n\
the programmed units."
}
if {$u == "(inch)"} {
return "\
Displayed values are in program units,\n\
currently set to inches."
}
if {$u == "(mm)"} {
return "\
Displayed values are in program units,\n\
currently set to millimeters."
}
if {$u == "(cm)"} {
return "\
Displayed values are in program units,\n\
currently set to centimeters."
}
# else "custom"
return "\
Custom units are in effect. See the UNITSentries\n\
in the.ini file for their value, in mm."
}
# Work offset help
proc offsethelp {} {
return "\
These are the currently active coordinate offsets,\n\
which give the position of the program origin\n\
relative to the machine origin.\n\n\
Right-clicking on an axis name or position and\n\
entering a value will change the offset so that\n\
the value you enter will be the current position."
}
|