Page 240 - CNC Robotics
P. 240
Chapter 10 / File Creation and KCam
create what the file represents, it 's just nice to have a we ll-defined
graph ical represen tation of the movements the machine w ill make
so that yo u can better generate files . Next, open Core lDraw again
and create another graphic called linetest2; but this time, start
drawing the lines from th e top right corner across the page to the
left and start the next line from the side of the page at w hich you
ended the previous line. Save this file as Iinetest2.plt with the same
HPGL options as the last file. Import linetest2.plt into KCam and the
G-code w ill look like this:
NOOO [KCam Conversion]
N001 [Original File: Iinetest2.plt]
N002 %
N003 G90
N004 M03
N005 GOO ZO.5
N006 GOO XOOO.OOO YOOO.OOO
N007 GOO X001 .016 YOOO.OOO
N008 GOO Z-0.25
N009 G01 X019 .304 YOOO.OOO
N010 GOO ZO.5
N011 GOO X019.304 Y001.016
N012 GOO Z-0.25
NOB G01 XOO1.016 Y001.016
N014 GOO ZO.5
N015 GOO X001 .016 Y002.032
N016 GOO Z-0.25
NOH G01 X019.304 Y002 .032
N018 GOO ZO.5
N019 GOO X019 .304 Y003.048
N020 GOO Z-0.25
N021 G01 X001.016 Y003.048
N022 GOO ZO.5
N023 GOO X001.016 Y004.064
N024 GOO Z-0.25
N025 G01 X019.304 Y004 .064
N026 GOO ZO.5
N027 GOO X019.304 Y005.080
231