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: Wed, 2 Jul 2014 19:33:25 +0200 From: Gabriel Paubert To: geda-user AT delorie DOT com Subject: Re: [geda-user] line end styles? Message-ID: <20140702173325.GA30651@visitor2.iram.es> References: <53B18917 DOT 9000503 AT neurotica DOT com> <201406301730 DOT s5UHUt0E022655 AT envy DOT delorie DOT com> <20140702091229 DOT 21163 DOT qmail AT stuge DOT se> <201407021501 DOT s62F1mLY003851 AT envy DOT delorie DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201407021501.s62F1mLY003851@envy.delorie.com> 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.4303] 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 Wed, Jul 02, 2014 at 11:01:48AM -0400, DJ Delorie wrote: > > > Why is this? Obviously it hasn't been implemented, but is that > > because internal representation of lines/traces makes it extra > > difficult, or rather that noone has had an itch yet? > > Because nobody's implemented it yet (which implies nobody itched > enough to do so ;) > > Round end caps are ideal for traces because there's no need to worry > about miter angles. And some exporters would become more complex, for example for non round ends, the only way to perform Gerber export is basically to transform it into a contour. Gerber only allows round apertures for circular interpolation. Rectangular apertures are also allowed for linear interpolation, but only when the rectangle sides are along the major axes, therefore they only work satisfactorily for horizontal and vertical traces. It's not that difficult to add polygons at the end of the traces and it gives you much more freedom (I've had microstrip lines ending with strange shapes for wire-bonding). Speaking of Gerber, we should add a G01* block at the beginning of every Gerber files produced by the exporter. The specification says that the interpolation mode (G0[123]) is undefined at the beginning of a file. I suspect that most Gerber readers assume linear interpolation but this is not guaranteed. Gabriel