Article View: comp.lang.postscript
Article #4515Help Wanted - Fit EPS graphic to an arc
From: Paul Eric Menchen
Date: Mon, 21 Jan 1991 08:55
Date: Mon, 21 Jan 1991 08:55
28 lines
1697 bytes
1697 bytes
I need to map/distort a PostScript graphic to a circular arc, and am looking
for advice on ways to do this. Text on an arc is not problem, but I need to
map/distort an entire piece of artwork. The artwork would be in EPS form.
Given a rectangle, my output should be more or less like this shape,
based on some parameters (angle of arc, inner radius, outer radius, or
whatever you need. I can full characterize the geometry):
_______
__---- ----__
\ /
\ /
\ /
\__-------__/
A PostScript hack or pointers to software to do this would be appreciated.
If you are wondering what this is for, I have developed a parametric model
for a paper cup (not too complicated) in a Mac based CAD system capable of
generating CAM compatible files for tooling. I now need the ability to
generate the artwork for the paper cups. You can try to draw something
with arc grid lines to make sure lines appear horizontal on the final product,
but warping cartesian oriented work would be much easier I suspect.
Thanks for any clues.
-Eric
meuchen@grad1.cis.upenn.edu
Technical Details
Message-ID:
<35979@netnews.upenn.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!grad1.cis.upenn.edu!meuchenShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!grad1.cis.upenn.edu!meuchen From: meuchen@grad1.cis.upenn.edu (Paul Eric Menchen) Newsgroups: comp.lang.postscript Subject: Help Wanted - Fit EPS graphic to an arc Message-ID: <35979@netnews.upenn.edu> Date: 21 Jan 91 08:55:49 GMT Sender: news@netnews.upenn.edu Reply-To: meuchen@grad1.cis.upenn.edu (Paul Eric Menchen) Organization: University of Pennsylvania Lines: 28