![]() | |
| 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
| |||
| |||
Hi guys, I've just got my first very basic mill set up and I'm struggling with the basics but making progress, I'm really keen on trying to mill a 3-D image, I found a few great 3-D g-code files that some generous members have posted, but I'm finding that they are either too large for my mill or they are in inches. Is there a simple way to convert g-code inches to mm. Any help is greatly appreciated, Darren. |
|
#3
| ||||
| ||||
| |
|
#4
| |||
| |||
| Hi, rando, ,jalessi and thank you for your reply, rando, I was thinking that maybe the G90 G91 had something to do with it, I guess this is my beginning of learning g-code. ,jalessi, your a champion, exactly what I needed and it also resizes as well, I just milled out a small 3-D image of a horse's head, turned out better than I expected. Thanks again I appreciate the help. Darren. |
|
#5
| ||||
| ||||
| Darren, Happy to be able to point you in the right direction however I cant take the credit. The software was provided by Graham Waterworth, he is a administrator on the Mach2/3/4 Forum Welcome to the Zone and have a most awesome day! Jeff Alessi |
| Sponsored Links |
|
#7
| |||
| |||
| convert all you measurments to mm by hand, and then put G21 in your code and remove any G20's. G20= Inch mode G21=Metric mode
__________________ No matter how good you are, there is always someone better!!! |
|
#8
| |||
| |||
| Hi all, Vega DATA-View has independant axis scaling and a fully functional demo is available at www.vegacnc.com Look on the downloads tab for DATA-View demo Enjoy! |
|
#9
| |||
| |||
|
how you use this to put the locations,for ex G0 x4.5 y.750 z-2.5? |
|
#10
| |||
| |||
| G90 and G91 are absolute and incremental moves and have nothing to do with inch or metric. G20 and G21 are for switching from inch to metric. Some machines use G70 and G71. If you do not understand the conversions and how they work the link that Jalessi has posted works good. Chrisryn is correct with what you have to do if you are doing it by hand. When you program a G21 your machine it switches to metric. This will do work cordinates, variables, tooloffsets. This will not change your programs. If your program reads G0X20. in G21 mode it will move 21mm in G20 mode it will move 20". That is why you have to recalculate ALL of your numbers in your programs. If you want 20" and you switch to G21(metric) then you must change the 20" to 508. G0X508. I highly suggest to adopt 1 style of programming inch or metric and stay with that. I prefer metric. Your style should depend on your drawing style. That way there are no conversions that need to be done. Stevo |
| Sponsored Links |
![]() |
| 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 |
| steps per inch | Chris Tucker | Linear and Rotary Motion | 12 | 08-14-2008 07:50 AM |
| cnc cut 1 inch alum? | Todd W | General Metalwork Discussion | 4 | 04-29-2008 07:40 AM |
| Converting a inch g code program to metric | joseavina76 | G-Code Programing | 3 | 12-19-2007 09:26 PM |
| I don't know if they got the mm to inch mixed up..... | spunky1974 | General Metal Working Machines | 3 | 11-23-2006 09:04 AM |
| turns per inch vs threads per inch | pminmo | DIY-CNC Router Table Machines | 12 | 08-18-2004 09:27 AM |