X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=3VXlD54Zcos5swkyz2YWtBJWB3Ar+fGdKRVlQMGEEpo=; b=mnlrA5BmuBNgoKZTNcLv+qeu+8HEjrnRFpSH2ppJiEb0IdMJNefYXXSKu9579Xg5mN kukazCSDkeLJx2e2Kz7hG3OPEG9RAMd3yBbfOi3/Lvakp3/n3YDmr8Tus10N4mDbDdTJ v51X/5uFk3fe3Gr2L27W9IHIOUq7jIfsdLuEGwjOEO0muUQKB2dECA+jnm1jnedc1oEI 9xSSZ9j9LTFXxlbm9x23CY8cIChxMIKEPYQxkxzJi/grZF1w7nN1MtPH4iM86f8q0Gwk m7yufnA2ONpWmj7x5xX4MGq2O4NcxPnwt9c2//JWdeR2mMDXi2fyZRdn28H5h4+hBMUl /7cg== X-Gm-Message-State: ALoCoQlHa2PYH/oUkGlRUclKtUupxaNkCbV5C640yDpaE4Ntx7lq2+N0VUEaMJLKn3JJ/E6jCtMB MIME-Version: 1.0 X-Received: by 10.67.11.103 with SMTP id eh7mr3854486pad.153.1381241504322; Tue, 08 Oct 2013 07:11:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Oct 2013 09:11:44 -0500 Message-ID: Subject: Re: [geda-user] polygons, arcs and footprints From: Russell Dill To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 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 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/