[PythonCAD] Angular dimensions

Art Haas ahaas at airmail.net
Fri Jun 22 18:00:06 CEST 2007


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:
> 
>         _pxmin = _px - _pr
>         _pymin = _py - _pr
> 
> because _px and _py apparently didn't exist.
> 
> I must be learning something. I fixed a bug.

Nice catch. This bit of code uses the older GTK+/GDK routine to draw
and the bug wouldn't be seen on newer systems utilizing the Cairo
drawing routines.

I've applied your patch. Thanks!

Art Haas
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


More information about the PythonCAD mailing list