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=JmE0Ed6oevIbwgcDeEri2Mqq87fbprnopYm4tfGQMZs=; b=oWCXhxYQ3GZW1kfGAaH2CFhzLllL3iUVMSZ+2mLMwGR+eUYH8O+Obf46ZDTMAYfMOn FNtkDxWVbUeC2ycQbqM/CDNja3MkSdWsPaL/4i64d6+djJrFFYt5AY67h3De6WHJeIEc k0H8v7zhUlMI7YgJvHEfHui1PSGDRSkCVrY9CiJ7Q+5yDffpUD0W8hw6PJ/2hpTwMjOv ZyQ0ioZwCf9VhpAw1cs5jnoFnB0NfP4IDeN/WPqz8I06ttTOWY0DYc9LSMluPNb+NSfb V5wUahKr6jvyOVGK9sf8C1ZRZP1iHDw6DzWFnDK47pAQApFDoZdaSccHbmtG5C1jA7yW G/sg== MIME-Version: 1.0 X-Received: by 10.68.197.129 with SMTP id iu1mr1956065pbc.139.1381239286706; Tue, 08 Oct 2013 06:34:46 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Oct 2013 08:34:46 -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 Thanks to all of you for the work you are putting into this problem. I really did not figure this thread would get that much attention. 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 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? > > 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/