Machsupport Forum

G-Code, CAD, and CAM => LazyCam (Beta) => Topic started by: azt34 on July 14, 2006, 03:29:37 PM

Title: HPGL Import
Post by: azt34 on July 14, 2006, 03:29:37 PM
Hi Brian,

Working with lazycam version 2.53.  Trying my first attempts at importing hpgl files for circuit board milling.

Lazy cam is ignoring drill geometry from hpgl format.  Basically, these are coming in as "pen down" points (instead of circles that lazy cam can then convert using "drill circles" button on left).  When imported these drill points don't show up at all.

Have you experienced this before? Does this require additional functionality? Thoughts, suggestions?

Thanks!

Best,
Adam
Title: Re: HPGL Import
Post by: Brian Barker on July 14, 2006, 10:18:45 PM
I will take a look at it :)
Title: Re: HPGL Import
Post by: azt34 on July 23, 2006, 05:41:20 PM
thanks!

just in case it helps, here's a slice of the hpgl code for drills.  think that lazy cam is ignoring because pen down xy coordinates are same as pen up coordinates.  perhaps adding a conditional that upon pen up looks to see if x and y values have changed since last pen down command?  if unchanged, then insert drill point...

best,
adam


PU;
SP1;
PA0,0;
PA-1168,864;PD;
PA-1168,864;PU;
PA-1168,660;PD;
PA-1168,660;PU;
PA-965,610;PD;
PA-965,610;PU;
PA-1168,610;PD;
PA-1168,610;PU;
PA-457,254;PD;
PA-457,254;PU;