- Posts: 19899
- Thank you received: 4655
Tool offset patch
- andypugh
- Offline
- Moderator
-
gmills46 wrote: I think the I need to put the toolchange.ngc file in the proper folder?
Important bits of the sample config might be...
In the INI file:
This is a bit of a kludge in the sample config, as the files have a slightly odd structure there, so don't blindly copy them. SUBROUTINE_PATH needs to point from the INI file to the .ngc file. I actually like to put remap subs in the actual config directory itself as I consider them to be part of the config. In that case "./" is the correct SUBROUTINE_PATH.
The PATH_PREPEND also points to the config folder in the sample config, and means that the python code is to be found in the same folder as the INI.
I don't think that the PATH_APPEND to python-stdglue is needed in this case, as the config isn't using code from there. But perhaps some experimentation is called for if nothing else works
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7368
- Thank you received: 2181
I wondered if a modified tool_edit widget would be better for lathes:
The wear number is beside the offset rather then as a separate tool.
interested? It's not quite done yet...
Chris M
Please Log in or Create an account to join the conversation.
- jlviloria
- Offline
- Elite Member
-
- Posts: 161
- Thank you received: 9
I would like to apply diametrically wear. but I have no idea where to change this.
thanks,
Jorge Viloria
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
cmorley wrote: I wondered if a modified tool_edit widget would be better for lathes:
Yes, this would be useful at the moment.
Longer term, if the tool table makes the transition to a database,
then things get even more "interesting" for tooledit..
[strike]I wonder how one persuades the GUIs to call the alternative tooledit?[/strike]
The tooleditor is configurable in the INI file (for Axis at least)
www.linuxcnc.org/docs/html/config/ini_co...#sub:DISPLAY-section
TOOL_EDITOR
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7368
- Thank you received: 2181
As it is you would have to switch from the standard tooledit to this modified one but I might be able to just make it an option of the original widget.
It depends on how ugly the changes are.
Yes having a different tool database would be oh so better!
Chris M
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7368
- Thank you received: 2181
jlviloria wrote: Chris, but this only works with remap "T" or apply either way the G43.2 or would apply differently.
I would like to apply diametrically wear. but I have no idea where to change this.
thanks,
Jorge Viloria
It seems linuxcnc doesn't support diametrical wear offsets - as far as I can tell
Chris M
Please Log in or Create an account to join the conversation.