Axis / Lathe mode tool shape

More
12 Oct 2022 09:37 - 12 Oct 2022 11:41 #254011 by MRx
Axis / Lathe mode tool shape was created by MRx
Hi,

in lathe mode, it seems like there's only one toolshape available - a shape with a round tip, however for example a parting tool and circlip cutter have a flat front shape.
Should we extend the tool table to match the basic geometry or can anyone recommend a better way?

Currently the shape is drawn in:
lib/python/rs274/glcanon.py
def lathetool(..)
Last edit: 12 Oct 2022 11:41 by MRx.

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

More
19 Oct 2022 23:34 #254573 by andypugh
Replied by andypugh on topic Axis / Lathe mode tool shape
I think that this is because G-code only really controls one corner and only shows the tool path of one corner (or. actually, of the control point)

I think that it is best to run a sim in your CAM software to validate the code and just use the LinuxCNC preview to check that it is the code you expected.

Unless you feel like going all the way with a solid model preview?

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

More
20 Oct 2022 00:33 - 20 Oct 2022 00:38 #254575 by JPL
Replied by JPL on topic Axis / Lathe mode tool shape
IMHO this is not going to work because there's much more than just the shape to consider.

For example Fusion/InventorCAM allow to set a specific 'compensation' for each individual tool. This is where the 'control point 'is located with option such as 'tip', 'tip tangent', 'tip center' and 'insert center' for each individual tool. You can even have 2 distinct tools with the same insert shape but different 'control point'. This of course can make a huge difference in the way they should be shown along the cutting path.

Next thing is that each of those tools can be set at a specific angle within the CAM tool table.
And what about if the insert is say much larger than what is shown on the display?

I agree with Andy that this belong to the CAM software, not LinuxCnc. Hummm, I can remember that not so long ago the only info available about the path was the DRO and that it was enough to do the job.



 
Last edit: 20 Oct 2022 00:38 by JPL.

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

More
20 Oct 2022 00:44 #254576 by JPL
Replied by JPL on topic Axis / Lathe mode tool shape

Then I just found this : "When in lathe mode, the shape of the loaded tool (if any) is shown."
Here:  linuxcnc.org/docs/html/gui/axis.html#_using_axis_in_lathe_mode

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

More
22 Oct 2022 10:39 #254745 by andypugh
Replied by andypugh on topic Axis / Lathe mode tool shape
Yes, LinuxCNC shows the tool shape. What I was saying is that LinuxCNC does not try to model how that tool shape will interact with the stock.
This is partly because LinuxCNC has no way to know what the stock looks like. But I guess a "magic comment" scheme could be defined to address that:
(STOCK, L100 D50 Z100 X0)
might work for a lathe.
(Note, this is speculation, it won't do anything at all at the moment)

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

Time to create page: 0.055 seconds
Powered by Kunena Forum