Tried it in CNC sim.. didn't go very well..
Could somebody be kind enough to run the program in the attached .txt file on a pc cnc code viewer program and provide me an image of the toolpath it creates? I keep getting strange toolpath arcs that should be in the XZ plane but for some reason are in the XY plane and am not sure why.
Tried it in CNC sim.. didn't go very well..
http://www.cnczone.com/forums/cnc_wood_router_project_log/125895-my_diy_cnc_cnc2011_%3B.html
What in the world did you use to create this train wreck? I used NC Code Analyzer and had to stop after about 1000 lines of code. Almost every line with an arc move has an error on it. I have attached a screen shot. It is cutting in the XZ plane. Just has bad numbers for the arcs.
http://www.kirkcon.com/
BobCAD. Fixed issue. Went into Post Processor and set arc centers to incremental. Thanks for looking at this for me and posting images.
I ran the program through my converter/optimizer program and told it to spit out an EMC compatible, un-optimized version... It is attached.
The program reads in the languages of about 30 different CNC controls and outputs a sanitized version that is in all absolute coordinates. All the various offsets, translations, rotations, etc. are applied. Subroutines and macro programming statements are converted into inline code. Various inter-language conversions are made. The output winds up containing only the most basic EIA gcode statements possible.
It's a program that I wrote (or rather am writing). See post number three in:
http://www.cnczone.com/forums/okuma/...languages.html
I fixed my DXF output option so that arcs and circles in other than the XY plane work properly. Attached is a DXF file of the program. I specified that each usage of a tool appears on a different layer. Several layers are empty because a tool was selected, but never used.
I have found the "de-caff" 3D DXF viewer to be an excellent (and FREE!) tool for viewing 3D DXF files. It does require that your system support Java:
http://caff.de/dxfviewer/
Last edited by texaspyro; 10-05-2011 at 10:11 PM.