CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: HPGL without arc commands=solution found!

Posted by RC
on 2002-04-26 14:34:09 UTC
Thanks! Will try it out and let you know how well it works with the HPGL
Indexer Controller....

RC
----- Original Message -----
From: thepcbmiller <andersson@...>
To: <CAD_CAM_EDM_DRO@yahoogroups.com>
Sent: Friday, April 26, 2002 12:51 PM
Subject: [CAD_CAM_EDM_DRO] Re: HPGL without arc commands=solution found!


I have found a simple way to do this conversion! There is a shareware
utility hpglexp.exe (http://www.sfdesign.co.uk/hpglexp.htm) that
convert a hpgl file to more "simple" commands.

Original file:

SP1;
PA120,0;
PD;
AR220,-70,-144.70;
PA560,0;
PU;
PA0,0;
PD;
PA0,40;
PU;

Converted file:

IN;
PU120,0;
SP1;
PD127,19;
PD135,37;
PD146,54;
PD157,71;
PD170,86;
PD184,100;
PD200,113;
PD216,125;
PD234,135;
PD252,143;
PD271,150;
PD290,155;
PD310,159;
PD330,161;
PD350,161;
PD370,159;
PD390,155;
PD409,150;
PD428,143;
PD446,135;
PD464,125;
PD480,113;
PD496,100;
PD510,86;
PD523,71;
PD534,54;
PD545,37;
PD553,19;
PD560,0;
PU0,0;
PD0,40;
PU0,0;
SP0;
PG;


/Björn

--- In CAD_CAM_EDM_DRO@y..., "ballendo" <ballendo@y...> wrote:
> Bjorn,
>
> One way is to import the file into a program which does not output
AR
> commands. Like CorelDraw.Then output the HPGL format from this
> program. Or choose a different HPGL driver and re-output the file,
> using the program you originally used.
>
> Besides this you can use a CAD/CAM program to convert arcs to line
> segments. But you actually have two issues here. AR is Arc
Relative.
> PA is Plot Absolute. So not only are you changing from arcs to line
> segments, you are also changing the coordinates from relative to
> absolute... If PR (Plot Relative) commands are acceptable, then you
> are back to only one step.
>
> Finally, if you have lots of time, you can use SIN/COS and convert
> the entities manually! Don't REALLY DO this :-)
>
> Hope this helps,
>
> Ballendo
>
>
> --- In CAD_CAM_EDM_DRO@y..., "thepcbmiller" <andersson@t...> wrote:
> > Hi,
> >
> > I want to convert "arc" (AR) commands into plot positions (PA) in
a
> > hpgl file. How to do that ?
> >
> > /Thanks, Björn


Addresses:
FAQ: http://www.ktmarketing.com/faq.html
FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/

OFF Topic POSTS: General Machining
If you wish to post on unlimited OT subjects goto:
aol://5863:126/rec.crafts.metalworking or go thru Google.com to reach it if
you have trouble.
http://www.metalworking.com/news_servers.html

http://groups.yahoo.com/group/jobshophomeshop I consider this as a sister
site to the CCED group, as many of the same members are there, for OT
subjects, that are not allowed on the CCED list.



Post messages: CAD_CAM_EDM_DRO@yahoogroups.com
Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@...
Moderator: jmelson@... timg@... [Moderator]
URL to this group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
bill,
List Mom
List Owner



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Discussion Thread

thepcbmiller 2002-04-25 22:29:50 UTC HPGL without arc commands ballendo 2002-04-26 04:48:12 UTC Re: HPGL without arc commands thepcbmiller 2002-04-26 12:51:23 UTC Re: HPGL without arc commands=solution found! RC 2002-04-26 14:34:09 UTC Re: [CAD_CAM_EDM_DRO] Re: HPGL without arc commands=solution found!