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=7C1GEd+wj6FmSG2YqDKxZdEoMctUMCuqpo7JP4Tb+7I=; b=un6Y5ekEOdiWEy5qLJw4ZnaendDEc7N+pQEnU/nV9Q3aVGg2rBS3dv5fYPqjy0VaIG TAdIZbj6ZMNuLNAZpQ3javOufptuAF19XyZEDJHPofXoTTJsBwyDxcNOQBFVoPOdghZY UKBzoyJR3n8hQ+6vXxwn6oW3QHzxwiqWnTHoPBToGvYswHqnJjkf91DZvoWXyjAJIN3B omqtoFEjDWH5claRuqxFFPm8UbprioTd3vSS2LvYClZz7QWx2x/zrKV6RFfxi29xpHj6 B8iqhEItEIjdMivabMsXPhCCICiLhlbFQmwZSqbr0CFlKr3znzxQkWx6lYfL7JnSkAW0 hjXA== MIME-Version: 1.0 X-Received: by 10.224.169.6 with SMTP id w6mr19886702qay.102.1400973618245; Sat, 24 May 2014 16:20:18 -0700 (PDT) In-Reply-To: <201405231838.s4NIcTf4024405@envy.delorie.com> References: <537EF137 DOT 5020407 AT gmail DOT com> <3d3fb324-4492-4b26-a144-d98b2f5d410b AT email DOT android DOT com> <201405231838 DOT s4NIcTf4024405 AT envy DOT delorie DOT com> Date: Sun, 25 May 2014 07:20:18 +0800 Message-ID: Subject: Re: [geda-user] Pcb MoveObject() don't set exactly position? From: =?UTF-8?B?6IuP5LuB5LmJ?= To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=089e0160c230daf6c004fa2d96f0 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 --089e0160c230daf6c004fa2d96f0 Content-Type: text/plain; charset=UTF-8 I use the flowing steps to add a via, but some behavior I don't understand: 1. enable ``Crosshair snaps to pins and pads'' under ``Settings'' menu, and set grid size to 0.01mm under ``View'' menu. also use unit ``mm''. 2. Add a via to PCB canvas,PCB show it's coordinate is 56.3100 72.8500 on up right corner. 3. :MoveObject(55.0000, 72.0000, mm) to position the via, then CRTL+R pcb show it's coordinate is 54.9839 72.0073. 4 :MoveObject(55.0000, 72.0000, mm) again, but CTRL+R show it's coordinate is 55.0002 72.0108. Step 3, 4 the same action, the same parameters, but the result is different. I want to know how PCB work with position via? I need this footprint : www.kosmodrom.com.ua/pdf/*HR911105A*.pdf. Any tool may I use to make the footprint? Thanks for your help! With kind regards. 2014-05-24 2:38 GMT+08:00 DJ Delorie : > > The key to using vias to make footprints is to make sure you have a > suitable grid. You either have grid snap turned on, in which case you > need the grid to be right, or it's off and you'll never position it > where you want. > > Alternately, use one of the many scripting languages or footprint > tools to build it parametrically, if it's that kind of footprint. > --089e0160c230daf6c004fa2d96f0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I use the flowing steps to add a via, but some behavior I = don't understand:
1. enable ``Crosshair snaps to pins and pads'= ' under ``Settings'' menu, and set grid size to 0.01mm under ``= View'' menu. =C2=A0also use unit =C2=A0``mm''.
2. Add a via to PCB canvas,PCB show it's coordinate is 56.3100 72.= 8500 on up right corner.
3. :MoveObject(55.0000, 72.0000, mm) to = position the via, then CRTL+R pcb show it's coordinate is 54.9839 72.00= 73.
4 :MoveObject(55.0000, 72.0000, mm) again, but CTRL+R show it's co= ordinate is 55.0002 72.0108.
Step 3, 4 the same action, the same = parameters, but the result is different. I want to know how PCB work with p= osition via?
I need this footprint :=C2=A0<= a href=3D"http://www.kosmodrom.com.ua/pdf/">www.kosmodrom.com.ua/pdf/HR911105A.pdf.=C2=A0Any tool may I use to make the footpr= int?

Thanks for your help!

With kin= d regards.




2014-05-24 2:38 GMT+08:00 DJ Delorie= <= dj AT delorie DOT com>:

The key to using vias to make footprints is to make sure you have a
suitable grid. =C2=A0You either have grid snap turned on, in which case you=
need the grid to be right, or it's off and you'll never position it=
where you want.

Alternately, use one of the many scripting languages or footprint
tools to build it parametrically, if it's that kind of footprint.

--089e0160c230daf6c004fa2d96f0--