G Code for Chess piece

Glen

Registered
Registered
Joined
Jun 27, 2011
Messages
39
Ok, I have drawn my chess piece and I am still trying to figure out how to put it into Gcodes..
I have a CNC Sherline Lathe w/Servo Motors, running DeskCNC on my lap top...
Here is my chess piece I am trying to do.. Can someone please help me on this..
Thanks,
Glen
 

Attachments

  • ChessNewFlip2.bmp
    1.5 MB · Views: 152
That is a bitmap file, very large and mostly unusable, save the cad drawing as a .jpg file and post it again, include all pertinent dimensions including the center positions of every radius in absolute coordinates, someone then may come along and help you without a tremendous amount of work.

Better yet, upload a .dxf, .dwg or similar 2D format file to a file hosting site and then post the link here.
 
I just drew it in paint..
I don't know how to put all the parameters or the lines for cutting..
when it comes to that, well just say out the window with me, not
to smart when it comes to stuff like that.. Now I have written my own G Code for
turning my pen and pencils, which was easy just straight cuts, but trying to figure
out the tapper cuts I'm totally lost..
 
2nd the .dxf. i have a program that will convert it to gcode.

Look at it carefully. looks like you'll need more than one tool. It's easiest to put each tool in a separate layer on your CAD program.

I do most of my gcode work this way
 
OK, I just whipped up a DXF from your picture, but it needs to be scaled for size, the current dimension is 4.133 on the long axis.

View attachment ChessPiece.zip

I could not upload it as a DXF so you'll have to un-zip it.
 
OK, I woke up in the middle of the night with nuthin to do....

Using <free > Draftsight X64 I just learned you can't draw in the XZ plane. For my <el cheapo -NCplot) .dxf to gcode converter to work the lines have to be exactly where you want tool paths. The drawing for a lathe part should generally start at Z0 X0 and be in the +X -Z quadrant.

So I tired putting the drawing in the Y-X plane thinking I could just hand edit the gcode changing Y to Z and J to K. Couldn't get this to go last night.

Anyway, for my NCplot software to work you need the actual toolpaths drawn in the locations the machine works.

Sorry,

Karl

PS my gcode converter was $50 when under development, now $360. Its not worth that much. Look here for another one.
https://search.yahoo.com/yhs/search?p=dxf+to+gcode+converter&ei=UTF-8&hspart=mozilla&hsimp=yhs-001
 
Thanks Jim,
Now my next question is, what is the bet program to
convert it to g code, I don't know if my DeskCNC will do it,
I know I can load dxf,nc, and another one..
Thanks
Glen
 
Thanks Jim,
Now my next question is, what is the bet program to
convert it to g code, I don't know if my DeskCNC will do it,
I know I can load dxf,nc, and another one..
Thanks
Glen

I made this with CamBam, and compiled it with a Mach-Turn post. You might see if this will run on your machine.

( Made using CamBam - http://www.cambam.co.uk )
( ChessPiece 2/10/2015 14:30:38 )
( T0 : 0.01 )
G20 G90 G91.1 G61 G40
G0 X0.25
( T0 : 0.01 )
T0 M6
( Lathe1 )
G17
M3 S1000
G0 Z-0.1975
G0 X1.0214
G1 F5.0 X0.9439
G1 F10.0 X0.9334
G3 X0.6951 Z-0.4521 I0.1357 K-0.3659
G1 Z-0.4895
G2 X0.6901 Z-0.4945 I-0.005 K0.0
G1 X0.6867
G1 X0.6861 Z-0.6285
G2 X0.6816 Z-0.6335 I-0.005 K0.0
G3 X0.5238 Z-0.7855 I0.0168 K-0.1754
G1 Z-0.8731
G2 X0.5216 Z-0.8772 I-0.005 K0.0
G3 X0.4176 Z-1.2491 I0.1748 K-0.2494
G2 Z-1.2492 I-0.0046 K-0.002
G1 X0.5863 Z-1.6564
G2 X0.5847 Z-1.6624 I-0.0046 K-0.0019
G3 X0.5285 Z-1.7498 I0.0889 K-0.119
G2 X0.5236 Z-1.7538 I-0.0049 K0.0011
G1 X0.5169
G1 Z-1.8098
G1 X0.5324
G2 X0.5374 Z-1.8148 I0.0 K-0.005
G1 Z-1.886
G2 X0.5358 Z-1.8897 I-0.005 K0.0
G3 X0.406 Z-2.0891 I0.3166 K-0.3481
G1 Z-2.1813
G1 X0.6617 Z-2.1793
G2 X0.6668 Z-2.1842 I0.0 K-0.005
G1 X0.673 Z-2.5015
G2 Z-2.5023 I-0.005 K-0.0001
G2 X0.3306 Z-3.4493 I-2.3325 K0.308
G3 X0.3695 Z-3.6301 I0.2121 K-0.0489
G2 X0.3681 Z-3.6374 I-0.004 K-0.003
G3 X0.2637 Z-4.0988 I0.17 K-0.281
G2 Z-4.1042 I-0.0042 K-0.0027
G1 X0.2061 Z-4.1955
G1 Z-4.3205
G1 X0.9455
G0 X0.25
M5
M30
 
Ok,
I will give it a try.
I will let you know how it works out.
Right now waiting a couple of parts for my lathe.
Had a few pieces on the lathe break, so waiting on
the parts to fix it... Thanks for all the help, I will read the
gcode and see how it works, Like I said in my earlier post I have
written a gcode for turning pens and pencils which was easy,
just straight cuts once I learned how that worked it was pretty
simple to write different thickness of cuts..
 
I just drew it in paint..
I don't know how to put all the parameters or the lines for cutting..
when it comes to that, well just say out the window with me, not
to smart when it comes to stuff like that.. Now I have written my own G Code for
turning my pen and pencils, which was easy just straight cuts, but trying to figure
out the tapper cuts I'm totally lost..

Straight tapers are easy point to point moves, a tangent to or from a radii is much more difficult and time consuming, tangent to tangent is more difficult yet.

Work at it
 
Back
Top