![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I have a Chinese Mill that I converted to CNC from plans a few months ago. I'm very much at the bottom of a steep (to me) learning curve.... I want to create a toolpath that looks like this (the red line). Each square is .25" and each arc is essentially 1/4 of a circle. ![]() (Center of the drawing is my 0,0 and each square represents .25 of a unit) I am using Mach3 with the "Cut Arc" wizard to create 4 arc's and then combine the 4 to create one curve. When I made each arc in the wizard they looked ok, and I ended up with this - G3 X-0.125 Y0 I0 J0.375 F2 G2 X0 Y0.375 I0.375 J0 F2 G2 X0.375 Y0 I0 J-0.375 F2 G3 X0.5 Y-0.375 I0.375 J0 F2 Which unfortunatly leads to this in mach3 - ![]() I have double checked my number's in the wizard and started over several times. I'm not familiar with g-code at all, but I know G3 does a CCW arc and G2 is CW the coordinate figures are not the same coordinates I entered into the wizard and I'm not at all familiar with I or J g-codes. If someone could please explain what I'm doing wrong and point me in the right direction for how to do this correctly, or of a better method I'd greatly appreciate it. Thanks |
|
#3
| |||
| |||
| Before you can cut the G2 or G3 arc you first have to move the tool to the start point. By your numbers looks like a .250 tool (this is cutting the top of the curve) G00 X-0.500 Y-0.125 Z(tool clearance) G01 Z-0.(Tool Depth of cut) F(Plung Rate) (Now tool is at start point) (Rest of your code follow) G03 X-0.3750 Y0.0000 I0.0000 J0.1250 G02 X0.0000 Y0.3750 I0.3750 J0.0000 G02 X0.3750 Y0.0000 I0.0000 J-0.3750 G03 X0.5000 Y-0.1250 I0.1250 J0.0000 G00 Z0.(Clearance plane) (this is cutting the bottom of the curve) G00 X-0.5000 Y-0.3750 Z(Tool Clearance) G01 Z -0.(cutting depth) F(Plung Rate) G03 X-0.1250 Y0.0000 I0.0000 J0.3750 G02 X0.0000 Y0.1250 I0.1250 J0.0000 G02 X0.1250 Y0.0000 I0.0000 J-0.1250 G03 X0.5000 Y-0.3750 I0.3750 J0.0000 G00 Z0.(clearance plane) I drew your evample out to double check and my numbers came out different than yours. for some reason you are cuting the bottom of the first curve and the top of the next curve. G3 X-0.125 Y0 I0 J0.375 F2 G2 X0 Y0.375 I0.375 J0 F2 G2 X0.375 Y0 I0 J-0.375 F2 G3 X0.5 Y-0.375 I0.375 J0 F2 HTH Jimmy |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Learning curve! | IanH | Benchtop Machines | 1 | 06-01-2009 08:36 AM |
| SW2008 curve projection help? | duvlitho | Solidworks | 3 | 10-19-2008 09:38 AM |
| What's the learning curve for the TL-2 | rbest27 | Haas Mills | 4 | 12-18-2006 10:29 AM |
| unwanted circles along curve | Pbrew1 | G-Code Programing | 4 | 07-29-2006 04:23 PM |
| Project a curve | keithorr | OneCNC | 1 | 04-02-2003 10:36 PM |