Home › Forums › TinyG › TinyG Support › Cutter Compensation
- This topic has 3 replies, 2 voices, and was last updated 8 years, 3 months ago by cmcgrath5035.
-
AuthorPosts
-
July 14, 2016 at 6:21 pm #9840boomer3Member
Hi Guys, I’m not having success with cutter compensation commands G40, G41, G42. I am using the TinyG V8 and the Chilipeppr GUI. Does this controller support cutter compensation commands? It could just be that I am implementing incorrectly as a novice. I am using DXF2GCODE for some simple pocket/outline milling, (and some drag knife cutting). It has a cutter compensation, but I don’t know if it is generating the code properly. Please have a look at the sample code, it is for a simple rectangle cut clockwise, G41 (climb milling to the LHS), using a ~3mm diameter bit. Do I need to append the G41 command with more variables? Feel free to refer me elsewhere, thanks for the help.
(Generated with: DXF2GCODE, Version: Py3.4.4 PyQt5.4.1, Date: $Date: Sun Apr 17 16:32:22 2016 +0200 $)
(Created from file: C:/Users/Braden/Desktop/MBR/CAD Files/Sheet – Solar Panel Drill Template 1.dxf)
(Time: Thu Jul 14 17:13:40 2016)
G21 (Units in millimeters) G90 (Absolute programming) G64 (Default cutting) G17 (XY plane) G40 (Cancel radius comp.) G49 (Cancel length comp.)
G0 Z 3.000(*** LAYER: SHEET_-_SOLAR_PA ***)
T2 M6
S6000(* SHAPE Nr: 5 *)
G0 X -4.550 Y -1.500
M3 M8
G41
F200
G1 X -3.050 Y -3.050
G3 X 0.000 Y 0.000 I 0.000 J 3.050
G0 Z 3.000
F150
G1 Z 0.000
F200
G1 X 0.000 Y 138.857
G1 X 165.500 Y 138.857
G1 X 165.500 Y 0.000
G1 X 0.000 Y 0.000
F150
G1 Z 3.000
G0 Z 3.000
G40
M9 M5
G0 X 0.000 Y 0.000
M2 (Program end)July 18, 2016 at 5:21 am #9848cmcgrath5035ModeratorSimple answer – No.
SeeYou need to find a Gcode generator that will handle compensation in the Gcode.
July 19, 2016 at 10:56 pm #9853boomer3MemberThanks.
Any suggestions as to where I might find that? Is there a program i can run as a post processor to interpret pre existing g-code and augment for a cutter?
July 20, 2016 at 7:03 am #9854cmcgrath5035ModeratorSorry, no, but I have never really dug into it.
You could search around the Ox or Chilipeppr Forums, I have seen the topic mentioned but have not focussed on solutions.I would sort of doubt a “simple” post processor solution would work well.
It can be a fairly complex topic when you think about it.
Say you draw a circle and generate Gcode.
Gcode, per se, has no knowledge of whether you want to end up with perfectly dimensioned holes or perfect dimensioned discs, etc.You are likely to find solutions in 2.5 or 3D CAD systems, where the profiling operations are very dependent on tool dimensions and shapes.
If you do find a good solution, please report back – the topic does come up from time to time.
-
AuthorPosts
- You must be logged in to reply to this topic.