Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: Graham Waterworth on April 08, 2007, 07:56:04 PM
-
Hi All,
here is a small .exe program for converting G-Code from mm to Inches and Inches to mm, it will also scale to any size you require, with in reason.
The program needs no installing, just double click to run it.
Click 'input file' to select the source file
Click 'output file' and enter a new file name, you can't read and write to the same file name.
Select conversion options.
Click convert.
That's all there is to it.
Try it and see if it works for you.
There is a later version of this program higher within this thread that has no limit to the number of lines of g-code it will convert, this version has a line limit of 32000.
Link to Later version :- http://www.machsupport.com/forum/index.php/topic,2893.msg39920.html#msg39920
Regards
Graham.
-
Hats off to Graham for such a nice contribution. Some of you folks will find this very useful if your code generating is limited to Imperial or metric. Men like Graham are one of the main reasons this forum is so nice.
Thanks Graham
Brett
-
Thanks Graham, You're more than just a pretty face.
-
Hi,
Archive is dead. Winrar don't open it. I me or something else?
TIA
GB
-
Try downloading it again. Seems to work fine for me.
-
Try downloading it again. Seems to work fine for me.
Thank's Benny - the .exe file work now.
GB
-
why does it try to install TurboTax ItsDecductible 2006 when i go to open this thing?
-
No idea, it worked for 450+ other people.
Graham.
-
hmm, thanks for app anyway, will try to get it working today...
-
I have just downloaded both version and they both work fine here.
Graham.
-
Thanks Graham
works fine for me
Rob
-
Hi Graham,
I try you're little software but I receive a constant error "Run time error '6': Overflow. Here it is what I am doing. I have .dxf a file in inch. I import that file in Rhino then I change units in Rhino from inche's to mm. I import that file in LCam - process. Save. Try to convert back in inche's and dang that error came up. Why? What I am doing wrong? Please help me.
TIA
Gabi
-
Hi Gabi,
I have not had that error reported before, post the file you are trying to convert and let me have a look.
Graham.
-
Hi Graham,
File it is a little large. I'll will post a archive. Please look at it and advice what do to.
Thank you
Gabi
-
Here is the later version of the program, try this and let me know how you get on.
Graham.
-
Hi Graham,
That new version do the job nicely.
Thank you
Gabi
-
Quick question, what does
"Component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid."
mean?
-
You have a missing ActiveX file on your system, is it XP and up to date?
Graham.
-
I have run the update but still receive the same error. Is there anything that could conflict with this program running?
My PC is installed in "normal PC" mode, and just about everything is changed according to the XP Optimization file on ArtSoft's website. I'm not entirely sure why neither of the versions you've posted don't work on my system.
-
Sorry, no idea, have you tried it on another computer, it seems to work for most people.
Graham.
-
Maybe I can try reformatting the computer used for controlling the CNC machine. It seems to work with my desktop.
Thanks Graham.
-
Hi Graham
Your program works perfect for me, thanks very mutch.
Just out off curiosity, what is the difference between the two versions?
Greetings:
Willem
-
Hi Willem,
thank you for your comments, the only difference is the earlier one was limited to 32000 lines of code.
Graham.
-
Thanks Graham, nifty little program. I have used it a couple of times now and it was brilliant.
Regards, Tweakie.
-
Thank you Graham, very useful program and also even for basic renumbering.
Bill C.
-
nice program,simple to operate.Thanks
i likes its scaling feature.and it would be much better if we could control the z depth separately.
i used custom scale as 10,so my X-Y values become 10 times larger and also made Z depth to 10 times.
-
Handy utility!
Cheers,
BW
-
[flash=200,200]I downloaded file and everything work as far as the conversion goes.
the problem i have is when i tried to run the file.
[i tried an aircut ] the file size has been reduced to a faction of the original size.
tried on two computers same problem.
enclosed is both files before and after.
thanks
paul
-
My above post is a bit misleading i was sent a dxf that was made in mm i then took that file into vcarvepro
and made a cut file in mm.
then use the converted to turn it into an inch file.
an easier way to go is if i was able to change the dxf mm file into a dxf inch file.
is that possible?
-
The file size has reduced by about 3600 characters this is because when you convert a mm size say 127.000 to inches you get 5. a saving of 5 characters multiply this by hundreds of conversions and the file shrinks by a large amount.
Have you found a fault in the converted file?
You can convert a DXF file in mm to inches by scaling it by 1:25.4th (0.03937) the metric cam system will think its a very small part but scale the tools too and the output will be inches, you will just need to change the G21 to G20.
Graham
-
I have problem using the wizards cannot find the code after making it in the wizard?
Thanks
-
Any way to get it to do .nc Mach3 files?
-
Change the extension from .NC to .TAP
Graham