Re: question

Hartmut Henkel <[email protected]> Mon, 1 Oct 2018 20:55:00 +0200 (CEST)
Newsgroups gmane.comp.tex.metapost
Message-ID <[email protected]>
Hi Walt,

On Mon, 1 Oct 2018, Walt Burkhard wrote:

> I have attached a MetaPost program that is suppose to smooth sharp corners.
> However, the program somehow does not know about the edges that it
> has just acquired. B B 
>
> What is going on here?

there is a local/global variable clash; you need to make pp[] local in
macro makeArc() by

 begingroup
  save pp; % <--------------------
  path pp[] , Pzero , Pone , ppp ;

Best Regards, Hartmut

--
http://tug.org/metapost/