delorie.com/archives/browse.cgi | search |
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=GLchijyiqiY38dIuNram5ZSQEGnCo19qLraQNfzeFzs=; | |
b=rDxsdiVs+8rmzp8Lc0ydgMfqWtXeaZA16xu7j8yydqWc29TU9CmqGmG2M+84HkSoLg | |
6KupFexdDT4lgPj7rbiDD2S4/8G36noXrfG4Sm6EQiDR2LbEuoO7qbsp8KNxBECZpzUI | |
PatvuCwCA7lEx2y40Rd6NQw8PnN1diiBPgkwFgTY+GRnJyGp9QCChzKam14BluEkEOzM | |
2+eOXLwRwidQ+mp6KTchaOR+Af25m0lR9LTeukLi2QjgEzxQb52Nu3Sepd1YnXDpQERQ | |
CU9YLwixMYspgU42LJWl11xhuo79Nn0OIRASxS0JuqqSaeDNKKujQoluZRVrpKCGb4jW | |
BAfQ== | |
MIME-Version: | 1.0 |
X-Received: | by 10.69.15.197 with SMTP id fq5mr1917094pbd.179.1381239217348; |
Tue, 08 Oct 2013 06:33:37 -0700 (PDT) | |
In-Reply-To: | <CAN0Jx-8gHgHBzzxFqsZssUjjygWqSJOCZ5jJvES91K7y6eUeLQ@mail.gmail.com> |
References: | <CAM2RGhTKEi4GFb3_sYV8FJRfqr0GTzWfpk28vQ-bDLoQpjvXyQ AT mail DOT gmail DOT com> |
<CAN0Jx-8gHgHBzzxFqsZssUjjygWqSJOCZ5jJvES91K7y6eUeLQ AT mail DOT gmail DOT com> | |
Date: | Tue, 8 Oct 2013 08:33:37 -0500 |
Message-ID: | <CAM2RGhQxhRKpzWni0aG0pfA5Cp-Ch=Ghuw3sqT0hmm4hX8Y72Q@mail.gmail.com> |
Subject: | Re: [geda-user] polygons, arcs and footprints |
From: | Evan Foss <evanfoss AT gmail DOT com> |
To: | geda-user AT delorie DOT com |
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 |
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 <Russ DOT Dill AT asu DOT edu> wrote: > On Fri, Oct 4, 2013 at 4:56 PM, Evan Foss <evanfoss AT gmail DOT com> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |