Wondering if the tool diameter or radius of the tool used in a toolpath being processed is passed to (available to) the post processor? If so, what is the variable name?
My goal is to do some probing in the X and Y directions with a touch plate to set my X and Y origin points for some jobs. Thinking I'll need to set tool radius compensation, so where/how do I acquire the current bit radius?
Thanks!
4D
tool diameter or radius?
- Adrian
- Vectric Archimage
- Posts: 14657
- Joined: Thu Nov 23, 2006 2:19 pm
- Model of CNC Machine: ShopBot PRS Alpha 96x48
- Location: Surrey, UK
Re: tool diameter or radius?
There is no documented variable for the tool radius/diameter but you could set it in the notes for the tool in the database and the post processor can pick it up from there.
-
- Vectric Wizard
- Posts: 1717
- Joined: Sun Sep 23, 2012 12:14 pm
- Model of CNC Machine: CNC Shark Pro, Probotix Meteor 25" x 50"
Re: tool diameter or radius?
Thanks for your response, Adrian. We use end mills from a variety of manufactures and many vary slightly in diameter despite all claiming to be the same as what their packaging states. My tool database (in Aspire) has each tool generically described, and we caliper measure the actual bit when creating toolpaths. The real diameter gets edited just into the short entry for the current tool so as not to keep changing the main tool database. On our college servers the main tool database is frozen.Adrian wrote:There is no documented variable for the tool radius/diameter but you could set it in the notes for the tool in the database and the post processor can pick it up from there.
Where do I find it? How do I "pick it up"? Sorry for my ignorance here. I'm a post processor rookie.
4D
- Adrian
- Vectric Archimage
- Posts: 14657
- Joined: Thu Nov 23, 2006 2:19 pm
- Model of CNC Machine: ShopBot PRS Alpha 96x48
- Location: Surrey, UK
Re: tool diameter or radius?
The Post Processor editing guide is on the Aspire/VCarve/Cut2D Help menu if you haven't found it. The tool notes variable is [TOOL_NOTES].
-
- Vectric Wizard
- Posts: 1592
- Joined: Sun Sep 16, 2007 2:59 pm
- Model of CNC Machine: Custom DIY
- Location: Lake St Clair, MI, USA
- Contact:
Re: tool diameter or radius?
That's where G41/G42 comes in handy.
Gerry - http://www.thecncwoodworker.com
-
- Vectric Wizard
- Posts: 528
- Joined: Thu May 14, 2015 12:23 am
- Model of CNC Machine: FLA Saturn 4x4 / 7W & 60W lasers
- Location: Bemidji, MN
- Contact:
Re: tool diameter or radius?
4D,
Put this in your post processor file(s) header section and then what ever you have in your tool's data base 'notes section' will be inserted into your gcode file.
"( TOOL NOTES: [TOOL_NOTES] )"
Hope this is what you are after.
Put this in your post processor file(s) header section and then what ever you have in your tool's data base 'notes section' will be inserted into your gcode file.
"( TOOL NOTES: [TOOL_NOTES] )"
Hope this is what you are after.
- Attachments
-
- PP modification.pdf
- (23.62 KiB) Downloaded 277 times
Dave
https://lakesedgewoodcraft.com/
https://lakesedgewoodcraft.com/
-
- Vectric Wizard
- Posts: 1717
- Joined: Sun Sep 23, 2012 12:14 pm
- Model of CNC Machine: CNC Shark Pro, Probotix Meteor 25" x 50"
Re: tool diameter or radius?
Thanks everyone for the tips.
I think I started out making my idea harder to accomplish than it needs to be.
I already set up my material in Aspire with an XY Datum offset of 1/2 my actual bit diameter. If the 3/16" bit is actually .1904 I use .1904/2 or .0952. When touching off X and Y I just want the edge of the bit to touch the -X and -Y edges of the material block. Using G38.2 with my touch plate it looks like I just need to add the touch plate thickness to wherever the bit is when probe contact is made to get it flush to the material in each respective direction.
I'm using LinuxCNC and will look into how it already probes for my Z datum using the touch plate.
4D
I think I started out making my idea harder to accomplish than it needs to be.
I already set up my material in Aspire with an XY Datum offset of 1/2 my actual bit diameter. If the 3/16" bit is actually .1904 I use .1904/2 or .0952. When touching off X and Y I just want the edge of the bit to touch the -X and -Y edges of the material block. Using G38.2 with my touch plate it looks like I just need to add the touch plate thickness to wherever the bit is when probe contact is made to get it flush to the material in each respective direction.
I'm using LinuxCNC and will look into how it already probes for my Z datum using the touch plate.
4D
- TReischl
- Vectric Wizard
- Posts: 4652
- Joined: Thu Jan 18, 2007 6:04 pm
- Model of CNC Machine: 8020 48X36X7 RP 2022 UCCNC Screenset
- Location: Leland NC
Re: tool diameter or radius?
Measuring end mills with a "caliper" is not exactly very accurate. Even a micrometer is not all that good.
Some food for thought: It does not matter what the end mill measures across the flutes. What matters is how wide it cuts. When I really, REALLY need to cut accurately what I do is measure the width of a test piece carefully. Then I cut a slot (on a vector, not going round and round), then chop off the ends and put the two pieces together and measure them.
I also use this technique on the table saw to measure how wide the blade is cutting.
Oh, the point is that using a micrometer or caliper on a large surface is much more accurate than measuring across sharp flutes. Plus, if that end mill is not perfectly concentric measuring the flutes is not telling you much.
Some food for thought: It does not matter what the end mill measures across the flutes. What matters is how wide it cuts. When I really, REALLY need to cut accurately what I do is measure the width of a test piece carefully. Then I cut a slot (on a vector, not going round and round), then chop off the ends and put the two pieces together and measure them.
I also use this technique on the table saw to measure how wide the blade is cutting.
Oh, the point is that using a micrometer or caliper on a large surface is much more accurate than measuring across sharp flutes. Plus, if that end mill is not perfectly concentric measuring the flutes is not telling you much.
"If you see a good fight, get in it." Dr. Vernon Johns