X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Envelope-From: paubert AT iram DOT es Date: Fri, 27 Jun 2014 13:27:07 +0200 From: Gabriel Paubert To: geda-user AT delorie DOT com Subject: Re: [geda-user] pcb: Patch for arcs with different radii for x and y on screen Message-ID: <20140627112707.GB21723@visitor2.iram.es> References: <53A7E8F0 DOT 8020905 AT philippklostermann DOT de> <1403800440 DOT 25929 DOT 14 DOT camel AT pcjc2lap> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1403800440.25929.14.camel@pcjc2lap> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spamina-Bogosity: Unsure X-Spamina-Spam-Score: -0.2 (/) X-Spamina-Spam-Report: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4994] Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, Jun 26, 2014 at 05:34:00PM +0100, Peter Clifton wrote: > On Mon, 2014-06-23 at 10:44 +0200, Philipp Klostermann wrote: > > Am 21.06.2014 14:30, schrieb Peter Clifton: > > > Isn't this rather a general problem, not restricted to elliptical arcs? > > Yes, but elliptical arcs are the only primitive we currently support in > PCB that are not well supported by the common export formats we target / > may wish to target. > > The one thing to be aware of, if you use elliptical arcs in footprints, > is that due to their parametrisation, such footprints cannot correctly > be rotated by arbitrary angles. > > A fix for that will probably (in the first instance), adding rotation as > an explicit transformation to the footprint as a while - rather than as > we currently do, applying the transformation to each individual entity > within the footprint. I agree completely, rotating the individual parts also leads to problem of precision with repeated rotations. But if you are going to change the file format, there are other things to introduce: - blind and buried vias - arbitrarily rotated text - contours with arcs boundaries (I know you had a patch for this) - correct square pads - complex pads (look at an MC15XS3400 for fun) > > If elliptical arcs were useful enough, we might consider extending the > representation in PCB to allow arbitrary rotation of that primitive as > well. The format should allow arbitrary rotation of any item. Gabriel