blob: 6cb42ed3ff5e7a5ab231bdc999600b162968cffe (
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
|
Probe: a linuxcnc interaction example
Files:
probe.ini config file
probe.ui gladevcp file
probe.hal gladevcp file
probe.py gladevcp file
probe.ngc gcode subroutine
probe.tcl start gladevcp and simulate_probe
probe.txt (this)
probe.save generated for probing
-----------------------
Old instructions for running independently:
This needs a running LinuxCNC, for instance Axis - it does 'menu-based probing'
It does run fine in simulator mode - just fake a probe contact with the 'Simulated probe contact' button
Make sure LinuxCNC can find the probe.ngc G-code file in this directory.
run like so:
$ export INI_FILE_NAME=/home/mah/linuxcnc2/configs/sim/axis_mm_mah.ini
$ gladevcp -u probe.py -H probe.hal probe.ui
or to get a lot of debug output what gladevcp and probe.py are doing:
$ gladevcp -d -d -u probe.py -U debug=3 -H probe.hal probe.ui
|