A blog of ideas and improvements for Tormach CNC machines.
Articles |
PathPilot Plugins |
Fusion Plugins |
About |
tormachtips@gmail.com
WebPilot |
Spindle Load Meter |
LED Stack Light |
LED Axis Indicator |
PathPendant |
GamePendant
|
Here's a shortcut I've wanted for a long time.
It's tedious probing the center of X on projects, especially when they don't clear a vise (so you can't use the built-in Rectangular Probing Routine).
You basically have to manually probe one side, rise up, jog over, probe the other side, divide by two and ugh.
Not to mention that your work will be varying widths. Some days you may be on a 1" piece. Other days, a 10" piece. How would you automate that?
What if someone wrote a script that asked you the approximate width of your project, then did it all with one button press?
The below code is deprecated. This add-on is now an official plugin.
Download it here, along with ui_hooks and place both in the python folder. From PathPilot's File Tab, if you don't have a folder named "python" create one. "python" must be lowercase. Copy both files in and reboot. You will now have an X BOSS button on the second page of the probing tab.
Full instructions on how to install plugins is here.
Two files to make this work. This one first ensures you're in
Pathpilot, then asks for the width of your work. It then injects that line
into the actual probing script. Finally, it moves your mouse to the MDI line
and runs the script.
If you put this in \tmc\configs\tormach_mill\nc_subs
(actually, put it in /gcode/subroutines (easier to remember))
as M110 (no extension) and reboot the machine, you can call the entire thing
from the MDI line by simply typing M110.
|
This is the actual probing routine that goes in /gcode/subroutines
(/home/operator/gcode/subroutines) as xboss.nc
|
|