You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QtDragon has the ability to send loaded files through a 'filter program'.
245
-
This filter can do any desired task: Something as simple as making sure the file ends with 'M2', or something as complicated as generating G-Code from an image.
249
+
This filter can do any desired task: Something as simple as making sure the file ends with 'M2', or something as complicated as generating G-code from an image.
246
250
See <<cha:filter,Filter Programs>> for more information.
247
251
248
252
The '[FILTER]' section of the INI file controls how filters work.
249
253
First, for each type of file, write a 'PROGRAM_EXTENSION' line.
250
254
Then, specify the program to execute for each type of file.
251
255
This program is given the name of the input file as its first argument, and must write rs274ngc code to standard output.
252
256
This output is what will be displayed in the text area, previewed in the display area, and executed by LinuxCNC when 'Run'.
257
+
253
258
The following lines add support for the `image-to-gcode` converter included with LinuxCNC and running Python based filter programs:
254
259
255
260
[source,{ini}]
@@ -318,7 +323,8 @@ m2
318
323
----
319
324
320
325
=== Startup codes
321
-
You should set default M/G code for start up. These will be overridden by running a ngc file. +
326
+
327
+
You should set default M/G code for start up. These will be overridden by running a NGC file. +
322
328
These are only sample codes, integrator should choose appropriate codes.
323
329
324
330
[source,{ini}]
@@ -335,7 +341,8 @@ These could also call OWord routines if desired. +
335
341
In the sample configurations they are labelled for moving between
336
342
current user system origin (zero point) and Machine system origin. +
337
343
User origin is the first MDI command in the INI list, machine origin is the second. +
338
-
This example shows how to move Z axis up first. The commands are separated by the ';'
344
+
This example shows how to move Z axis up first. The commands are separated by the ';'.
345
+
339
346
The label is set after the comma. The symbols '\n' adds a line break.
These optional HAL files will be called after QtDragon has loaded everything else. +
352
359
You can add multiple line for multiple file. Each one will be called in the order they appear. +
353
-
Calling HAL files after QtDragon is already loaded assures that QtDragon's HAL pins are available. +
354
-
This sample shows typical entries, but must be adjusted to actual requirements.
355
-
360
+
Calling HAL files after QtDragon is already loaded assures that QtDragon's HAL pins are available.
361
+
362
+
.Sample with typical entries for the specificion of HAL files to be read after the QtDragon was startd. Adjust these lines to match actual requirements.
The sample configurations 'sim/qtdragon/' or `sim/qtdragon_hd` are already configured to use QtDragon as the screen. +
381
-
There are several examples, to demonstrate different machine configurations.
387
+
The sample configurations `sim/qtdragon/` or `sim/qtdragon_hd` are already configured to use QtDragon as the screen.
388
+
There are several examples that demonstrate various machine configurations.
382
389
383
390
== Key Bindings
384
391
@@ -397,14 +404,14 @@ Pause - Pause Machine Movement
397
404
398
405
== Buttons
399
406
400
-
Buttons that are checkable will change their text colour when checked. +
401
-
This is controlled by the stylesheet/theme +
407
+
Buttons that are checkable will change their text colour when checked.
408
+
This is controlled by the stylesheet/theme
402
409
403
410
== Virtual Keyboard
404
411
405
-
QtDragon includes a virtual keyboard for use with touchscreens. +
406
-
To enable the keyboard, check the Use Virtual Keyboard checkbox in the Settings page. +
407
-
Clicking on any input field, such as probe parameters or tool table entries, will show the keyboard. +
412
+
QtDragon includes a virtual keyboard for use with touchscreens.
413
+
To enable the keyboard, check the Use Virtual Keyboard checkbox in the Settings page.
414
+
Clicking on any input field, such as probe parameters or tool table entries, will show the keyboard.
408
415
To hide the keyboard, do one of the following:
409
416
410
417
- click the MAIN page button
@@ -583,7 +590,7 @@ The file can be modified or updated at any time while compensation is disabled.
583
590
When next enabled, the file will be reread and the compensation map is recalculated.
584
591
This file is expected to be in the configuration directory.
585
592
586
-
The probe data file is generated by a probing program, which itself is generated by an external python program called gcode_ripper,
593
+
The probe data file is generated by a probing program, which itself is generated by an external python program called `gcode_ripper`,
587
594
which can be launched from the file manager tab using the 'G-code Ripper' button.
588
595
589
596
=== Using G-code Ripper for Z level Compensation
@@ -596,7 +603,7 @@ G-code Ripper offers many functions that we will not go in to here.
596
603
This is only available in the QtDragon_hd version.
597
604
598
605
* In Qtdragon_hd switch to the file tab and press the load G-code Ripper button.
599
-
* Set origin to match the origin of the gcode file to be probed.
606
+
* Set origin to match the origin of the G-code file to be probed.
600
607
* Under G-Code Operations, check Auto Probe.
601
608
* File -> Open G-Code File (The file you will run after compensation)
602
609
* If necessary, make adjustments and press Recalculate.
@@ -676,7 +683,7 @@ then the tool is lowered until it touches the plate, triggering the probe signal
676
683
Z0 is set to probe height - plate thickness.
677
684
678
685
The second method uses a tool setter in a fixed position and a known height above the table where the probe signal will be triggered.
679
-
In order to set Z0 to the top of the workpiece, it has to know how far above the table the probe trigger point is (tool setter height)
686
+
In order to set Z0 to the top of the workpiece, it has to know how far above the table the probe trigger point is (tool setter height).
680
687
and how far above the table the top of the workpiece is.
681
688
This operation has to be done every time the tool is changed as the tool length is not saved.
682
689
@@ -936,7 +943,7 @@ Z = -2
936
943
937
944
==== The Python Section
938
945
939
-
The Python section sets up what files LinuxCNC's Python interpreter looks for, e.g., 'toplevel.py' file in the 'python' folder in the configuration directory:
946
+
The Python section sets up what files LinuxCNC's Python interpreter looks for, e.g., `toplevel.py` file in the `python` folder in the configuration directory:
940
947
941
948
[source,{ini}]
942
949
----
@@ -956,18 +963,18 @@ First create a folder named 'python' in your machine's configuration folder.
956
963
If using a compiled RIP version of LinuxCNC: +
957
964
From 'YOUR-LINUXCNC-DIRECTORY/configs/sim/QtDragon/python', copy 'toplevel.py' and 'remap.py' to your configuration's new 'python' folder.
958
965
959
-
if using an installed version of LinuxCNC: +
966
+
If using an installed version of LinuxCNC: +
960
967
from '/usr/share/doc/linuxcnc/examples/sample-configs/sim/qtvcp_screens/qtdragon/python/', copy 'toplevel.py' and 'remap.py' to your configuration's new 'python' folder.
961
968
962
969
Alternately, you can make new files in your 'python' folder that you made in your configuration folder, with a text editor.
963
970
964
-
One named 'remap.py' saved with this text:
971
+
One named `remap.py` saved with this text:
965
972
[source,python]
966
973
----
967
974
from stdglue import *
968
975
----
969
976
970
-
One named 'toplevel.py' saved with this text:
977
+
One named `toplevel.py` saved with this text:
971
978
[source,python]
972
979
----
973
980
import remap
@@ -983,7 +990,7 @@ In `~/linuxcnc/nc_files/examples/remap_lib/python_stdglue/` folder.
983
990
These file names and location could be different depending on installed verses development (RIP) version of LinuxCNC.
984
991
For instance `~/linuxcnc/nc_files/macros` is `~/linuxcnc/nc_files/examples/macros` in installed versions of LinuxCNC.
985
992
You could use customized versions of the same files or name them differently.
986
-
The entries in the '[RS274NGC]' section dictate to LinuxCNC what and where to look.
993
+
The entries in the `[RS274NGC]` section dictate to LinuxCNC what and where to look.
987
994
The names and location quoted should be available in either system by default.
988
995
989
996
=== Needed HAL Connections
@@ -1033,14 +1040,14 @@ The side buttons will control the display.
1033
1040
* '+', '-': Zoom controls
1034
1041
* 'C': Clear graphics of tool movement lines
1035
1042
1036
-
In QtDragon_hd there are also macro buttons available on the right side.
1043
+
In `qtdragon_hd` there are also macro buttons available on the right side.
1037
1044
Up to tens buttons can be defined in the INI.
1038
1045
1039
1046
=== File Tab
1040
1047
1041
1048
You can use this tab to load or transfer programs.
1042
1049
Editing of G-code programs can be selected from this tab.
1043
-
With qtdragon_hd, this is where you can load 'Gcode Ripper'.
1050
+
With `qtdragon_hd`, this is where you can load the 'G-code Ripper'
1044
1051
1045
1052
=== Offsets Tab
1046
1053
@@ -1108,7 +1115,7 @@ This tabs will display another stab election of G-code utility programs:
1108
1115
* 'Hole Circle': allows quick setting of a program to drill a bolt circle of definable diameter and number of holes.
1109
1116
* 'NGCGUI': is a QtVCP version of the popular G-code subroutine builder/selector, see <<sub:qtvcp:widgets:qt-ngcgui,Widgets-NGCGUI>>.
1110
1117
1111
-
Custom QtVCP panels can be displayed here by setting the EMBED_TAB_LOCATION option to 'tabWidget_utilities'
1118
+
Custom QtVCP panels can be displayed here by setting the EMBED_TAB_LOCATION option to `tabWidget_utilities`
0 commit comments