LinuxCNC / linuxcnc

LinuxCNC controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more.
http://linuxcnc.org/
GNU General Public License v2.0
1.77k stars 1.14k forks source link

PNCconf - Gmoccapy need gmoccapy.tooloffset-x gmoccapy.tooloffset-z #2820

Closed zz912 closed 1 month ago

zz912 commented 8 months ago

RIP 2.9 Branche Debian Bookworm

I would like ask you for adding for Gmoccapy configuration

in main.hal:

net tooloffset-x  <=  motion.tooloffset.x
net tooloffset-z  <=  motion.tooloffset.z

in gmoccapy_postgui.hal:

net tooloffset-x  => gmoccapy.tooloffset-x
net tooloffset-z  => gmoccapy.tooloffset-z

This lines controls this: tooloffset

I tried modify build_HAL.py , but it was difficult for me. There are many variants.

hansu commented 8 months ago

May something like this: https://github.com/LinuxCNC/linuxcnc/pull/2838?

Not tested.

zz912 commented 1 month ago

PR https://github.com/LinuxCNC/linuxcnc/pull/2838 solved this Issue.