Mailing list archives : pcb-rnd

ID:3740
From:Gabriel Paubert <pa...@iram.es>
Date:Sun, 2 Feb 2020 10:12:12 +0100
Subject:Re: [pcb-rnd] Wishlist: improve arc resolution.
in-reply-to:3737 from ge...@igor2.repo.hu
	Hi Igor2,
 
On Sun, Feb 02, 2020 at 05:30:13AM +0100, gedau@igor2.repo.hu wrote:
> Hi Gabriel,
> 
> On Sat, 18 Jan 2020, gedau@igor2.repo.hu wrote:
> 
> >Hi Gabriel,
> >
> >On Sat, 18 Jan 2020, Gabriel Paubert wrote:
> >
> >>	Hi,
> >>
> >>The basic reason is that the file format only puts arc endpoint angles
> >>rounding to the nearest degree, without any decimal place: when you draw
> >>the line, the accuracy is great, the loss happens when saving the file.
> 
> <snip>
> 
> >This is a trivial bug in pcb_printf, format %ma (for angles) which 
> >accidentally truncates angles to integer instead of truncating them to 3 
> >digits. You can apply the attached patch locally as a quick fix until it 
> >can be commited in the next cycle.
> 
> Applied the patch, with digits modified to 6, please test!
 
Thanks, works for me (TM). 
 
I had already a patch in my tree, with fewer decimal digits, which
caused a trivial to solve SVN conflict.
 
	Regards,
	Gabriel
 

Reply subtree:
3740 Re: [pcb-rnd] Wishlist: improve arc resolution. from Gabriel Paubert <pa...@iram.es>