delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/10/31/17:01:21

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 31 Oct 2012 13:43:02 -0700
From: Colin D Bennett <colin AT gibibit DOT com>
To: geda-user AT delorie DOT com
Subject: [geda-user] pcb: gtk Cursor command/action and 'pan' movement type
Message-ID: <20121031134302.79e433c5@svelte>
X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version: 1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator297.hostgator.com
X-AntiAbuse: Original Domain - delorie.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - gibibit.com
X-BWhitelist: no
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: (svelte) [65.61.115.34]:27671
X-Source-Auth: colin AT gibibit DOT com
X-Email-Count: 1
X-Source-Cap: c2t5bGVuO3NreWxlbjtnYXRvcjI5Ny5ob3N0Z2F0b3IuY29t
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q9VL1GJ2013983
Reply-To: geda-user AT delorie DOT com

When I use the "Cursor" command (gtk HID) in pcb, the viewport is
not moved to the target location when I use the 'Pan' argument for
the Type parameter.

If, for instance when I am designing a footprint, I am very zoomed
in with a fine grid of 0.005mm, I want to begin drawing a line for
a pad at a location (0.95, 1.125) mm relative to the mark (or
cursor location), I tried to use

  Cursor(Pan, 0.95, 1.125, mm)

but the cursor jumps way up the the corner of my screen and the pcb
view of the layout does not change.  I can't draw the line because
my mouse is out of the pcb window entirely.

From the pcb manual:

  Cursor(Type,DeltaUp,DeltaRight,Units)
  ...
  Type is one of ‘Pan’ or ‘Warp’. ‘Pan’ causes the viewport to move
  such that the crosshair is under the mouse cursor. ‘Warp’ causes
  the mouse cursor to move to be above the crosshair. 

I am not seeing the viewport move.

I am using pcb built from git:
  date: 2012-01-22 13:30:07 +0000
  git-commit: b30e524e5ef574befa1fa538333aa739271b4e14
I can't test with more recent pcb for two reasons:
(1) geda-project.org is down
(2) git port blocked on company LAN due to braindead security policy

Regards,
Colin


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019