[PythonCAD] Problem with fillets

2007-06-22 Thread Ed Richley
I think I can fix this one, but I wanted to understand something better: When generating Postscript for fillets, I sometimes get an arc that goes the wrong way; instead of smoothly joining the segments, it goes the long way around and forms a large semicircle. In looking at the code, I see that

Re: [PythonCAD] Problem with fillets

2007-06-22 Thread Russ Nelson
Ed Richley writes: > I think I can fix this by ensuring that end angle > start angle in > the PS arc command, but I wonder if that creates a new problem. No, that should be fine. -- --my blog is athttp://blog.russnelson.com | In my head, I'm Crynwr sells support for free software | PGPo

Re: [PythonCAD] Angular dimensions

2007-06-22 Thread Art Haas
On Fri, Jun 22, 2007 at 12:05:11AM -0400, Ed Richley wrote: > > In gtkinit.py, lines 1329-1330 should read: > > _pxmin = _pvx - _pr > _pymin = _pvy - _pr > > For proper angular dimensioning to take place. At least, it works a whole > lot better than when it said: > > _p

Re: [PythonCAD] Problem with fillets

2007-06-22 Thread Ed Richley
OK, then this seems to work (so far): Change printing.py line 494 to: f.write("%g %g %g %g %g arc\n" % (_xt, _yt, _rt, min(_sa,_ea),max(_sa,_ea))) Ed > Ed Richley writes: > > I think I can fix this by ensuring that end angle > start angle in > > the PS arc command, but I wonde