[comp.lang.postscript] Help Wanted - Fit EPS graphic to an arc

meuchen@grad1.cis.upenn.edu (Paul Eric Menchen) (01/21/91)

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