On 5/17/2013 1:46 PM, EBo wrote: > Glad I could give you a gafaugh (or how ever it is spell it). I meant > g-code -> STEP-NC. Since there is source for a demonstration parser > using ISO 14649, that might be a fruitful path and what I had in mind > when I made my comment. I just do not know enough about ISO 14649 to > know if it is feasible.
Aha. I don't know enough either, but let me quote from the STEP-NC DLL Programming Guide I found on the StepTools site (http://www.steptools.com/support/stepnc_docs/stepncdll/index.html). [That APT is invoked in a modern-era document might tweak Dave Engvall's interest as well.] ---begin quote--- 2.0 APT Object 2.1 Concept The APT object is used to create AP-238 files from APT data. APT is a legacy language from the 1950’s that defines tool path geometries. In the beginning it was used in a similar way to FORTRAN except it created machine tool programs rather than computer programs. In recent years CAM systems have replaced APT systems but many CAM systems still write APT data so it is the most widely available common denominator for tool path information. APT is the most important but not the only source of data for the DLL. There are functions to read several flavors of RS274D/ISO 6983 files, for example, see the ImportHass, ImportSiemens and ImportFanuc functions, and there are functions to read STEP files to define the geometries and tolerances of the workpiece, stock, fixtures and cutting tools, for example see the Workpiece and Rawpiece functions. The legacy APT programming language is state driven. Each time a new tool path is created the current feed, speed and other quantities are added to that tool path as necessary. The APT object has been written for APT parsers so it is also state driven. Hence, at any time there is a current workpiece, workplan, workingstep, feed, speed and so on (see the GetCurrent functions). STEP-NC is NOT state driven. The APT object takes the state driven commands of APT and converts them into a graph of STEP-NC objects where every quality of every object is explicitly attached to that object. Only the APT object has a state model in the STEP-NC DLL. The other objects use navigation models in which a given argument is used as the starting point to find other objects. It can be argued that another version of the APT object should be written for more modern applications that is not state driven. The process object contains some of the required functionality. ---end quote--- This doesn't indicate how much work is required to salt the DLL so an imported RS274D (aka G-Gode) file becomes a valid and useful STEP-NC file but the second paragraph of the quote seems to indicate the transformation you have in mind can be done. Perhaps more is said elsewhere in the guide. And I learned to spell it "guffaw" but the Oxford English Dictionary shows a variety of spellings stretching back to 1720 so no points deducted:-) Regards, Kent ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers