- Posts: 145
- Thank you received: 0
Tool offset patch
I would like to apply diametrically wear. but I have no idea where to change this.
thanks,
Jorge Viloria
Please Log in to join the conversation.
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 to join the conversation.
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 to join the conversation.
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 to join the conversation.
jlviloria wrote: I would like to apply diametrically wear. but I have no idea where to change this.
I think that this is surprisingly hard.
You could (relatively) easily have a modified tool editor that displayed and accepted value dimensions but stored radius in the tool table. But that would not help with G10 (which can't be re-mapped)
Yo could possibly re-map G10.1 or G11 to do a G10 with half the offset given.
Please Log in to join the conversation.
cmorley wrote: 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
We actually would rather have the Wear Offset values on a separate tab all together, that way the operator doesn't fat finger the wrong entry, then possibly scrap a part, or even worse yet crash the machine.
All the other controls in our shop have the tool position data on one page normally called "Fixed Offsets" then the wear data is in another tab normally called "Assignable Offsets".
But I'm sure yours would be OK for a lot of the guys that are the only operator of the machine, and are paying attention a lot better than most of the guys in our shop, that when it breaks, or gets scrapped it's always, "Screw it, its not my money"
Rick
Please Log in to join the conversation.
Thanks for your reply.
Well we have a problem with the operators of the machines, all machines with commercial control is diametrical wear. and most of the errors of the piece is "diametrically compensate for wear.! is not my fault"
I'm just a newbie in programming. I tried to read the code and applies form as G43.2 think I have found a solution for me.
it may be something "easy" for you, but I wonder if these changes'm not breaking LinuxCNC. I have only been tested in simulator. any serious review helpful.
file = interp_convert.cc
line = 5178
The logic is working with diameter mode compensates for wear in diameter mode.
Please help me if this is feasible and does not break LinuxCNC gives me panic a machine try not to make a mistake.
thanks.
Jorge Viloria
Please Log in to join the conversation.
Being inconsistent is worse than being "wrong"
How do your operators set the offset? Do they edit the tool-table, touch-off or use G10?
Please Log in to join the conversation.
work in mm and use the code "G7" for all lathes with LinuxCNC.
I do not update often LinuxCNC and apply a .diff because I have my custom GUI (custom gmoccapy).
The important thing right now if that change is really good, this change work?
that later will not be the cure worse than the disease. and damage any machine.
Do not think LinuxCNC maintainers accept this change and remain permanent.
when we have active G7 and we will compensate AXIS asks us to enter the diameter. and when this active G8 calls us to enter the radius.
I think it could work.
Jorge Viloria
Please Log in to join the conversation.
jlviloria wrote: The important thing right now if that change is really good, this change work?
that later will not be the cure worse than the disease. and damage any machine.
Which GUI are you using?
Axis already makes changes in Diameter if you are in G7 mode. I think it does that with a G10.
So, one way to do what you want to do would be to add a special button (GladeVCP. PyVCP) that changes the tool table by a G10 command with a calculation.
You could imagine having radius and diameter buttons, even.
Please Log in to join the conversation.
