Hello Guest it is April 28, 2024, 12:45:46 PM

Author Topic: HPGL Import  (Read 3129 times)

0 Members and 1 Guest are viewing this topic.

HPGL Import
« 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
Re: HPGL Import
« Reply #1 on: July 14, 2006, 10:18:45 PM »
I will take a look at it :)
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: HPGL Import
« Reply #2 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;