X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=q8qjemD+iD7RI7qkZvsfWWuXqUUf22fgUYhHDFsGjJY=; b=T9lgaKMRMsAmstXSMINRCN/3Spsuk+avmNiSjExB4+zeJKuLMKbjaOyj3aOUv7Z94Q LFH+h47exg0LJvzomqaPjw7H+kmKC9q+U11UwRlyxowxJbIxiEgZcpafhTUI+puHSIvC DNeVkM0j4HpCTiO31Caj2Ds0+MySTSmURW7PR+++oIWF0V6mPTB92pV6ULu6uhj1eE6z owinpxW/NOXc+omnTYmdwgjDNvNmf/8ickTd/o7NjR6YCaD2c1JIqBOc9mXj3+PwXMwk D3d/CJocS7xkpVzTHkbzytgoM8ndgkfTJX0tDrgObUsqq5oy5jpsiOhcPv2gcg7reFIF lHbg== MIME-Version: 1.0 X-Received: by 10.66.163.2 with SMTP id ye2mr4228948pab.170.1381245189866; Tue, 08 Oct 2013 08:13:09 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Oct 2013 10:13:09 -0500 Message-ID: Subject: Re: [geda-user] polygons, arcs and footprints From: Evan Foss To: geda-user AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 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 Sorry I meant ElementLine. On Tue, Oct 8, 2013 at 9:11 AM, Russell Dill wrote: > On Tue, Oct 8, 2013 at 8:33 AM, Evan Foss wrote: >> If your going to go about it that way then why use rectangles you >> could just as easily use stroke. > > I'm not sure what you mean, the only reference I can find in PCB in > reference to stroke seems to be related to gesture control. > >> I though arbitrary rotate of rectangles was not allowed in the pcb >> format. It does not work from the gui of the version I am using. Is >> that a bug? > > Because they aren't actually polygons, a "square" below is just a > primitive that ends up getting implemented in the backend with a PCB > pad/trace. > >> On Tue, Oct 8, 2013 at 8:13 AM, Russell Dill wrote: >>> On Fri, Oct 4, 2013 at 4:56 PM, Evan Foss wrote: >>>> Hi folks, >>>> >>>> I am trying to make a footprint for an LTC3441. The bottom pad is a >>>> polygon. I know they are not possible in PCB footprints but does >>>> anyone have a good way to emulation one? >>>> >>>> Also I am trying to use a MEMS microphone that uses a ring to seal it >>>> to the PCB. Again I know that does not exist but is there a way around >>>> it? >>> >>> A ring is a little more complicated, but here's an example of a funny >>> ring pad shape >>> >>> w = dmath.sin(dmath.radians(angle / 2)) * 2 >>> h = m.radius * dmath.cos(dmath.radians(angle / 2)) >>> piece = pscad.up(h) + pscad.square((w + m.width, m.width), >>> rounded=True, center=True) >>> ret = [] >>> for i in range(0, m.n): >>> ret.append(pscad.rotate(i * 360 / m.n) + piece) >>> return pscad.union() + tuple(ret) >>> >>> Attached is a single pad with the above pattern with n == 20, width == >>> 0.1mm, and radius == 1.0mm. >> >> >> >> -- >> Home >> http://evanfoss.googlepages.com/ >> Work >> http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/ -- Home http://evanfoss.googlepages.com/ Work http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/