Skip to content

Commit 0077c17

Browse files
committed
gmoccapy: update docs
1 parent 38ecb7b commit 0077c17

File tree

10 files changed

+167
-139
lines changed

10 files changed

+167
-139
lines changed

docs/src/gui/gmoccapy.adoc

Lines changed: 164 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,56 +1134,27 @@ You have three options:
11341134
* _hide cursor_ - Does allow to hide the cursor, what is very useful if you use a touch screen.
11351135
* _hide tooltips_ - Hides the tool tips.
11361136

1137-
.Virtual Keyboard
1137+
.Jog Area
11381138

1139-
The checkboxes allow the user to select if he wants the on board keyboard to be shown immediately
1140-
when entering the MDI Mode, the offset page, the tooledit widget or when open a program in the EDIT mode.
1141-
The keyboard button on the bottom button list will not be affected by these settings, so you are able to show or hide the keyboard by pressing the button.
1139+
* _Jog button size_ - Change the size of the job buttons in the manual mode page
1140+
* _Width right panel_ - Change the width of the right part of window (= width of the DRO)
11421141

1143-
The default setting is:
11441142

1145-
* _Show keyboard on offset_ = False
1146-
* _Show keyboard on tooledit_ = False
1147-
* _Show keyboard on MDI_ = True
1148-
* _Show keyboard on EDIT_ = True
1149-
* _Show keyboard on load file_ = False
1143+
[[gmoccapy:turtle-jog]]
1144+
.Turtle Jog
1145+
This settings will have influence on the jog velocities.
11501146

1151-
[NOTE]
1152-
If this section is not sensitive, you have not installed a virtual keyboard, supported ones are _onboard_ and _matchbox-keyboard_.
1147+
* _Hide turtle jog button_ - Will hide the button right of the jog velocity slider.
1148+
If you hide this button, please take care that the "rabbit mode" is activated,
1149+
otherwise you will not be able to jog faster than the turtle jog velocity,
1150+
which is calculated using the turtle jog factor.
1151+
* _Turtle jog factor_ - Sets the scale to apply for turtle jog mode (button pressed, showing the turtle).
1152+
If you set a factor of 20, the turtle max. jog velocity will be 1/20 of the max. velocity of the machine.
11531153

11541154
[NOTE]
1155-
====
1156-
If the keyboard layout is not correct, i.e. clicking Y gives Z, than the layout has not been set properly, related to your locale settings.
1157-
For onboard it can be solved with a small batch file with the following content:
1158-
1159-
----
1160-
#!/bin/bash
1161-
setxkbmap -model pc105 -layout de -variant basic
1162-
----
1163-
1164-
The letters "de" are for German, you will have to set them according to your locale settings.
1165-
Just execute this file before starting LinuxCNC, it can be done also adding a starter to your local folder.
1166-
1167-
----
1168-
./config/autostart
1169-
----
1170-
1171-
So that the layout is set automatically on starting.
1172-
1173-
For matchbox-keyboard you will have to make your own layout, for a German layout ask in the forum.
1174-
====
1175-
1176-
.GMOCCAPY with Onboard keyboard in edit mode
1177-
image:images/gmoccapy_keyboard_edit_mode_mid.png["Onboard keyboard",align="left",link="images/gmoccapy_keyboard_edit_mode.png"]
1178-
1179-
.On Touch Off
1180-
1181-
This gives the option whether to show the preview tab or the offset page tab when you enter the touch off mode by clicking the corresponding bottom button.
1182-
1183-
* _show preview_
1184-
* _show offsets_
1155+
This button can be controlled using the <<gmoccapy:jog-velocity,Turtle-Jog HAL Pin>>.
11851156

1186-
.DRO Options
1157+
.DRO
11871158
You have the option to select the background colors of the different DRO states.
11881159
So users suffering from protanopia (red/green weakness) are able to select proper colors.
11891160

@@ -1212,7 +1183,7 @@ making it easier to set the value, as you will not need to go over the touch off
12121183
Imperial will show one digit more that metric.
12131184
So if you are in imperial machine units and set the digit value to 1, you will get no digit at all in metric.
12141185
====
1215-
* _toggle DRO mode_ - If not active, a mouse click on the DRO will not take any action. +
1186+
* _Toggle DRO mode by clicking on the DRO_ - If not active, a mouse click on the DRO will not take any action. +
12161187
By default this checkbox is active, so every click on any DRO will toggle the DRO readout from actual to relative to DTG (distance to go). +
12171188
Neverthereless a click on the axis letter will open the popup dialog to set the axis value.
12181189

@@ -1259,25 +1230,164 @@ You are able to set some options:
12591230
* _Max. messages_ - The maximum number of messages you want to see at once.
12601231
If you set this to 10, the 11^th^ message will delete the first one, so you will only see the last 10.
12611232
* _Font_ - The font and size you want to use to display the messages.
1233+
* _Font filter_ - A filter for the font chooser above.
12621234
* _Use frames_ - If you activate the checkbox, each message will be displayed in a frame,
12631235
so it is much easier to distinguish the messages. But you will need a little bit more space.
12641236
* _Launch test message_-button - It will show a message, so you can see the changes of your settings without the need to generate an error.
12651237

12661238

1267-
.Themes and Sounds
1239+
.Themes
1240+
1241+
* _Theme_ - This lets the user select what desktop theme to apply. By default "Follow System Theme" is set.
1242+
1243+
* _Icon Theme_ - Change the icon theme. Currently there are three themes available:
1244+
- classic
1245+
- material
1246+
- material light
1247+
1248+
+
1249+
For more information and how to create custom icon themes, see section <<gmoccapy:icon-theme-section,Icon Theme>>.
1250+
1251+
1252+
* _G-code Theme_ - Select a colour theme for the G-code viewer/editor.
1253+
1254+
* _G-code Font_ - Select a font for the G-code viewer/editor. Default is "monospace 10".
1255+
1256+
.Sound
1257+
1258+
Select what error and messages sounds should be played and if sound should be played at all.
1259+
1260+
1261+
=== Behaviour
1262+
1263+
.GMOCCAPY settings page Behaviour
1264+
image::images/gmoccapy_settings_behaviour.png["Configuration page",align="left"]
1265+
1266+
.Virtual Keyboard
1267+
1268+
The checkboxes allow the user to select if he wants the on board keyboard to be shown immediately
1269+
when entering the MDI Mode, the offset page, the tooledit widget or when open a program in the EDIT mode.
1270+
The keyboard button on the bottom button list will not be affected by these settings, so you are able to show or hide the keyboard by pressing the button.
1271+
1272+
The default setting is:
1273+
1274+
* _Show keyboard on offset_ = False
1275+
* _Show keyboard on tooledit_ = False
1276+
* _Show keyboard on MDI_ = True
1277+
* _Show keyboard on EDIT_ = True
1278+
* _Show keyboard on load file_ = False
1279+
1280+
[NOTE]
1281+
If this section is not sensitive, you have not installed a virtual keyboard, supported ones are _onboard_ and _matchbox-keyboard_.
1282+
1283+
[NOTE]
1284+
====
1285+
If the keyboard layout is not correct, i.e. clicking Y gives Z, than the layout has not been set properly, related to your locale settings.
1286+
For onboard it can be solved with a small batch file with the following content:
1287+
1288+
----
1289+
#!/bin/bash
1290+
setxkbmap -model pc105 -layout de -variant basic
1291+
----
12681292
1269-
This lets the user select what desktop theme to apply and what error and messages sounds should be played.
1293+
The letters "de" are for German, you will have to set them according to your locale settings.
1294+
Just execute this file before starting LinuxCNC, it can be done also adding a starter to your local folder.
12701295
1271-
By default "Follow System Theme" is set.
1296+
----
1297+
./config/autostart
1298+
----
12721299
1273-
It further allows to change the icon theme.
1274-
Currently there are three themes available:
1300+
So that the layout is set automatically on starting.
12751301
1276-
* classic
1277-
* material
1278-
* material light
1302+
For matchbox-keyboard you will have to make your own layout, for a German layout ask in the forum.
1303+
====
12791304

1280-
To create custom icon themes, see section <<gmoccapy:icon-theme-section,Icon Theme>> for details.
1305+
.GMOCCAPY with Onboard keyboard in edit mode
1306+
image:images/gmoccapy_keyboard_edit_mode_mid.png["Onboard keyboard",align="left",link="images/gmoccapy_keyboard_edit_mode.png"]
1307+
1308+
.On Touch Off
1309+
1310+
This gives the option whether to show the preview tab or the offset page tab when you enter the touch off mode by clicking the corresponding bottom button.
1311+
1312+
* _show preview_
1313+
* _show offsets_
1314+
1315+
1316+
.Run from Line
1317+
1318+
You can allow or disallow the run from line.
1319+
This will set the corresponding button insensitive (grayed out), so the user will not be able to use this option.
1320+
The default is disable run from line.
1321+
1322+
[WARNING]
1323+
It is not recommend to use run from line, as LinuxCNC will not take care of any previous lines in the code before the starting line.
1324+
So errors or crashes are fairly likely.
1325+
1326+
1327+
.Keyboard shortcuts
1328+
1329+
Some users want to jog their machine using the keyboard buttons and there are others that will never allow this.
1330+
So everybody can select whether to use them or not. +
1331+
Keyboard shortcuts are disabled by default. They can be activated by the checkbox
1332+
1333+
* _Use keyboard shortcuts_
1334+
1335+
[WARNING]
1336+
It is not recommended to use keyboard jogging, as it represents a serious risk for operator and machine.
1337+
1338+
Please take care if you use a lathe, then the shortcuts will be different,
1339+
see the <<gmoccapy:lathe-section,Lathe Specific Section>>.
1340+
****
1341+
General::
1342+
1343+
* _F1_ - Trigger Estop (will work even if keyboard shortcuts are disabled)
1344+
* _F2_ - Toggle machine on/off
1345+
* _F3_ - Manual mode
1346+
* _F5_ - MDI mode
1347+
* _ESC_ - Abort
1348+
1349+
In Manual Mode::
1350+
1351+
* _Arrow_Left_ or _NumPad_Left_ - Jog X minus
1352+
* _Arrow_Right_ or _NumPad_Right_ - Jog X plus
1353+
* _Arrow_up_ or _NumPad_Up_ - Jog Y plus
1354+
* _Arrow_Down_ or _NumPad_Down_ - Jog Y minus
1355+
* _Page_Up_ or _NumPad_Page_Up_ - Jog Z plus
1356+
* _Page_Down_ or _NumPad_Page_Down_ - Jog Z minus
1357+
1358+
In Auto Mode::
1359+
1360+
* _R_ or _r_ - Run program
1361+
* _P_ or _p_ - Pause program
1362+
* _S_ or _s_ - Resume program
1363+
* _Control + R_ or _Control + r_ - Reload the loaded file
1364+
1365+
Message handling (see <<gmoccapy:message-behavior,Message behavior and appearance>>)::
1366+
1367+
* _WINDOWS_ - Delete last message
1368+
* _Control + Space_ - Delete all messages
1369+
****
1370+
1371+
.File to load on start up
1372+
1373+
Select the file you want to be loaded on start up.
1374+
If a file is loaded, it can be set by pressing the current button.
1375+
To avoid that any program is loaded at start up, just press the None button.
1376+
1377+
The file selection screen will use the filters you have set in the INI file,
1378+
if there aren't any filters given, you will only see *NGC files*.
1379+
The path will be set according to the INI settings in `[DISPLAY] PROGRAM_PREFIX`.
1380+
1381+
.Jump to dir
1382+
1383+
You can set here the directory to jump to if you press the corresponding button in the file selection dialog.
1384+
1385+
// image::images/gmoccapy_file_selection_dialog_with_keyboard.png["Directory selection",align="left"]
1386+
1387+
1388+
.File and folder list
1389+
1390+
For the file chooser page it is possible to change the sorting options with these parameters.
12811391

12821392
=== Hardware
12831393

@@ -1318,7 +1428,7 @@ MAX = 6000
13181428
It is no error giving wrong values.
13191429
If you give a maximum of 2000 and your spindle makes 4000 RPM, only the bar level will be wrong on higher speeds than 2000 RPM.
13201430

1321-
.Unlock options
1431+
.Unlock settings
13221432

13231433
There are three options to unlock the settings page:
13241434

@@ -1328,19 +1438,6 @@ There are three options to unlock the settings page:
13281438

13291439
Default is _use unlock code_ (default code is *123*).
13301440

1331-
[[gmoccapy:turtle-jog]]
1332-
.Turtle Jog
1333-
This settings will have influence on the jog velocities.
1334-
1335-
* _Hide turtle jog button_ - Will hide the button right of the jog velocity slider.
1336-
If you hide this button, please take care that the "rabbit mode" is activated,
1337-
otherwise you will not be able to jog faster than the turtle jog velocity,
1338-
which is calculated using the turtle jog factor.
1339-
* _Turtle jog factor_ - Sets the scale to apply for turtle jog mode (button pressed, showing the turtle).
1340-
If you set a factor of 20, the turtle max. jog velocity will be 1/20 of the max. velocity of the machine.
1341-
1342-
[NOTE]
1343-
This button can be controlled using the <<gmoccapy:jog-velocity,Turtle-Jog HAL Pin>>.
13441441

13451442
[[gmoccapy:advanced-settings]]
13461443
=== Advanced Settings
@@ -1408,77 +1505,6 @@ The tool will be loaded after all axes are homed, because before it is not
14081505
allowed to execute MDI commands. If you use NO_FORCE_HOMING you can not use
14091506
this feature, because the needed all_homed_signal will never be emitted.
14101507

1411-
.File to load on start up
1412-
1413-
Select the file you want to be loaded on start up.
1414-
If a file is loaded, it can be set by pressing the current button.
1415-
To avoid that any program is loaded at start up, just press the None button.
1416-
1417-
The file selection screen will use the filters you have set in the INI file,
1418-
if there aren't any filters given, you will only see *NGC files*.
1419-
The path will be set according to the INI settings in `[DISPLAY] PROGRAM_PREFIX`.
1420-
1421-
.Jump to dir
1422-
1423-
You can set here the directory to jump to if you press the corresponding button in the file selection dialog.
1424-
1425-
// image::images/gmoccapy_file_selection_dialog_with_keyboard.png["Directory selection",align="left"]
1426-
1427-
1428-
.Run from Line
1429-
1430-
You can allow or disallow the run from line.
1431-
This will set the corresponding button insensitive (grayed out), so the user will not be able to use this option.
1432-
The default is disable run from line.
1433-
1434-
[WARNING]
1435-
It is not recommend to use run from line, as LinuxCNC will not take care of any previous lines in the code before the starting line.
1436-
So errors or crashes are fairly likely.
1437-
1438-
1439-
.Keyboard shortcuts
1440-
1441-
Some users want to jog their machine using the keyboard buttons and there are others that will never allow this.
1442-
So everybody can select whether to use them or not. +
1443-
Keyboard shortcuts are disabled by default. They can be activated by the checkbox
1444-
1445-
* _Use keyboard shortcuts_
1446-
1447-
[WARNING]
1448-
It is not recommended to use keyboard jogging, as it represents a serious risk for operator and machine.
1449-
1450-
Please take care if you use a lathe, then the shortcuts will be different,
1451-
see the <<gmoccapy:lathe-section,Lathe Specific Section>>.
1452-
****
1453-
General::
1454-
1455-
* _F1_ - Trigger Estop (will work even if keyboard shortcuts are disabled)
1456-
* _F2_ - Toggle machine on/off
1457-
* _F3_ - Manual mode
1458-
* _F5_ - MDI mode
1459-
* _ESC_ - Abort
1460-
1461-
In Manual Mode::
1462-
1463-
* _Arrow_Left_ or _NumPad_Left_ - Jog X minus
1464-
* _Arrow_Right_ or _NumPad_Right_ - Jog X plus
1465-
* _Arrow_up_ or _NumPad_Up_ - Jog Y plus
1466-
* _Arrow_Down_ or _NumPad_Down_ - Jog Y minus
1467-
* _Page_Up_ or _NumPad_Page_Up_ - Jog Z plus
1468-
* _Page_Down_ or _NumPad_Page_Down_ - Jog Z minus
1469-
1470-
In Auto Mode::
1471-
1472-
* _R_ or _r_ - Run program
1473-
* _P_ or _p_ - Pause program
1474-
* _S_ or _s_ - Resume program
1475-
* _Control + R_ or _Control + r_ - Reload the loaded file
1476-
1477-
Message handling (see <<gmoccapy:message-behavior,Message behavior and appearance>>)::
1478-
1479-
* _WINDOWS_ - Delete last message
1480-
* _Control + Space_ - Delete all messages
1481-
****
14821508

14831509
[[gmoccapy:icon-theme-section]]
14841510
== Icon Theme
-27.4 KB
Loading
-62 KB
Loading
12.2 KB
Loading
16.4 KB
Loading
-21.7 KB
Loading
-12.7 KB
Loading
117 KB
Loading
-7.63 KB
Loading

src/emc/usr_intf/gmoccapy/gmoccapy.glade

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3858,7 +3858,7 @@ uncomment selection</property>
38583858
<property name="can-focus">False</property>
38593859
<property name="xpad">5</property>
38603860
<property name="ypad">5</property>
3861-
<property name="label" translatable="yes">Width right pane</property>
3861+
<property name="label" translatable="yes">Width right panel</property>
38623862
<property name="xalign">0</property>
38633863
</object>
38643864
<packing>
@@ -4345,6 +4345,7 @@ clicking on the DRO</property>
43454345
<object class="GtkLabel" id="label8">
43464346
<property name="visible">True</property>
43474347
<property name="can-focus">False</property>
4348+
<property name="tooltip-text" translatable="yes">Grid size in Inch</property>
43484349
<property name="margin-start">3</property>
43494350
<property name="hexpand">True</property>
43504351
<property name="label" translatable="yes">Grid size</property>
@@ -4360,6 +4361,7 @@ clicking on the DRO</property>
43604361
<object class="GtkSpinButton" id="grid_size">
43614362
<property name="visible">True</property>
43624363
<property name="can-focus">True</property>
4364+
<property name="tooltip-text" translatable="yes">Grid size in Inch</property>
43634365
<property name="invisible-char">●</property>
43644366
<property name="xalign">1</property>
43654367
<property name="primary-icon-activatable">False</property>

0 commit comments

Comments
 (0)