>> I've done that by writing a subroutine that traces the path. The >> subroutine takes a single argument that represents the offset from the >> path. Then call it in a loop with appropriate values.
Another variation on the theme, similar to the above, I published a set of ngcui subroutines to carry out G71 and G72 plus a lot more on the lathe, last year some time. http://www.linuxcnc.org/index.php/english/component/kunena/?func=view&catid=40&id=11414 They take a finished toolpath profile, entered as a series of linear and arc cuts, enter these into an array, calculate offsets, deepest cuts etc. and then run incrementing by #<cutdepth> each pass until the profile is cut, less finishing cut depth. The finishing cut is in a separate sub, unlike the fanuc style routine, so that a different tool can be selected if required. (cat skinning method #7) regards ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
