Tool offset patch

More
11 years 6 months ago #57750 by andypugh
Replied by andypugh on topic Re:Tool offset patch

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:
Code:
[DISPLAY] ... PROGRAM_PREFIX = ../../nc_files/ ... [RS274NGC] SUBROUTINE_PATH = ./:../ ... [PYTHON] # where to find Python code # code specific for this configuration PATH_PREPEND=./ # generic support code PATH_APPEND=../../nc_files/remap_lib/python-stdglue/

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.

More
11 years 6 months ago #57811 by cmorley
Replied by cmorley on topic Re:Tool offset patch
Lairs:

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
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #57813 by jlviloria
Replied by jlviloria on topic Re:Tool offset patch
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

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago - 11 years 6 months ago #57820 by andypugh
Replied by andypugh on topic Re:Tool offset patch

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
Last edit: 11 years 6 months ago by andypugh.

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #57827 by cmorley
Replied by cmorley on topic Re:Tool offset patch
the tool edit widget I was working on is used with gladeVCP.

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.

More
11 years 6 months ago #57828 by cmorley
Replied by cmorley on topic Re:Tool offset patch

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.

Time to create page: 0.277 seconds
Powered by Kunena Forum