Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-15 Thread Peter Clifton
On Wed, 2010-06-09 at 12:27 +0200, Levente Kovacs wrote:
 On Mon, 07 Jun 2010 00:38:16 +0100
 Peter Clifton pc...@cam.ac.uk wrote:
 
  git HEAD PCB now supports user-defined holes in polygons
 
 Hi Peter,
 
 
 This feature is cool. Thank you for implementing it.
 
 I found that it makes a funny thing when you move a cutout corner outside the
 polygon.

Yes, the legality checking of such polygons isn't very good. This stems
from the fact PCB's existing legality checking for user-defined polygons
is really quite poor. (It lets you draw / drag to make polygons it will
then assert() or crash on if built with full debugging).

 I wish we could define pads as polygons, so with this feature any kind of
 pads could be implemented. Solder-mask cut outs would be nice too.

That would be quite neat - it probably requires some file format
additions. For now, I believe (aside from in my pours branches where
the feature is disabled), you can draw rectangular pads with the rect
polygon tool.


Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-10 Thread Kai-Martin Knaak
On Wed, 09 Jun 2010 20:20:47 -0400, Jim wrote:

 Thanks, that'll help a lot if they do change default behavior.

I added this and some notes on shortcut customisation to the wiki.

---)kaimartin(---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-10 Thread Armin Faltl



Kai-Martin Knaak wrote:

The use of the right mouse button to get back one level in handler
hierarchy is very convenient for me. It's a feature I learned to
love with QCad



The concept of a hierarchy of tools is one of the aspects I explicitly 
dislike with qcad. It is a pain to constantly move up and down this 
hierarchy and keep the current position in the hierarchy in mind. The 
most important tools should be readily available, no matter what.
  
I see your point about e.g. creating lines and trimming are very common 
operations

(in mechanical CAD) that are very likely to appear in rapid succession.
Despite the fact I like the hierarchical tool model, I earlier 
considered a dynamic
toolbox (e.g. popping up centered under your cursor on right click ;-) 
that gets
filled by the user via dragging certain operations into it in a special 
mode.


(the dynamic toolbox holds just links, so the original menu/static 
toolboxes are unmodified)
One such toolbox to my taste can contain 9 tools (quadratic icons), but 
there would be no
problem to provide a shelf of such toolboxes, so a user can assemble 
them for different phases.


Would this appeal to you in future versions of Varkon (and gEDA)?

Btw, I see no reason, why the cursor is positioned on top of the list on 
right-click menues.
Centering reduces the require average mouse motion by 1/2 and makes it 
less likely,

that the menu has to be displayed atop the cursor.




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-09 Thread Levente Kovacs
On Mon, 07 Jun 2010 00:38:16 +0100
Peter Clifton pc...@cam.ac.uk wrote:

 git HEAD PCB now supports user-defined holes in polygons

Hi Peter,


This feature is cool. Thank you for implementing it.

I found that it makes a funny thing when you move a cutout corner outside the
polygon.

I wish we could define pads as polygons, so with this feature any kind of
pads could be implemented. Solder-mask cut outs would be nice too.

Thanks again,
Levente


-- 
Levente Kovacs
http://levente.logonex.eu




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-09 Thread Armin Faltl



kai-martin knaak wrote:

Back in 1999 Microstation by Bentley did it this way:

left click = do the default action

right-click-drag = a horizontal menu with several icons representing 
different modes of the tool appears. The icon that is highlicghted on mouse 
button release is executed.


right-click = the horizontal appears. Left-click on an icon makes this mode 
the default of the tool. 

That way you can deal with a multitude of modes and get an intuitive way to 
configure the default to your own, special needs.  OK, this is certainly too 
much for pcb in its current state. But it shows, what a powerful GUI can do.
  
Right click is a very ergonomic action so I'd like to reserve it for 
something IMO
more important: the ESC functionality in routing, i.e. break a trace and 
restart a new
one. So for a tool-box popup I'd prefer shift-left-click or maybe 
shift-right click or

one of the zilion of other mous buttons I have ;-)

The use of the right mouse button to get back one level in handler 
hierarchy is very
convenient for me. It's a feature I learned to love with QCad and 
implemented in

my GUI-demo (with some known glitches) visible at www.varkon.org.
I also prefer assignment of view operations to the middle mouse 
button/wheel as

a clear concept: scroll = zoom, drag = pan.
(in space it's a bit more complicated: scroll is move along camera axis, 
drag = move traverse,

Ctrl-drag = rotate in space, alt-scroll = change perspective angle,...)

Regards, Armin



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-09 Thread Armin Faltl

Peter Clifton wrote:

Perhaps a click on the polygon tool ought to expand with a pop-up with
sub-variants of the tool to choose from?
  
No popup please - have the sub-tools replace the coarser tool box and 
change back

with a click on the BACK button or right-click somewhere in the app.
(for laying traces or lines the first right-click breaks the (poly-)line 
and so 2 right-clicks
are needed to change from poly-line-mode to line-start- to 
tool-select-mode)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-09 Thread Kai-Martin Knaak
On Tue, 08 Jun 2010 10:51:10 -0400, Jim wrote:

 Oh, please make that change configurable without recompiling!

It is already configurable without recompiling. This is how:
1) locate the file gpcb-menu.res on your box. 
2) copy the file to $HOME/.pcb
3) edit to your needs, save
4) on start-up, pcb will read this localised copy. This will overwrite 
whatever settings were made by the system gpcb-menu.res

---)kaimartin(---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-09 Thread Kai-Martin Knaak
On Wed, 09 Jun 2010 13:35:55 +0200, Armin Faltl wrote:

 kai-martin knaak wrote:
 Back in 1999 Microstation by Bentley did it this way:

 left click = do the default action

 right-click-drag = a horizontal menu with several icons representing
 different modes of the tool appears. The icon that is highlicghted on
 mouse button release is executed.

 right-click = the horizontal appears. Left-click on an icon makes this
 mode the default of the tool.
   
 Right click is a very ergonomic action so I'd like to reserve it for
 something IMO more important

The right mouse button functionality I described, is exclusive to the 
mode buttons. It does not interfere in any way with right-mouse functions 
during routing, or on objects. 


 The use of the right mouse button to get back one level in handler
 hierarchy is very convenient for me. It's a feature I learned to
 love with QCad

The concept of a hierarchy of tools is one of the aspects I explicitly 
dislike with qcad. It is a pain to constantly move up and down this 
hierarchy and keep the current position in the hierarchy in mind. The 
most important tools should be readily available, no matter what.

---)kaimartin(---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-09 Thread Kai-Martin Knaak
On Wed, 09 Jun 2010 13:56:42 +0200, Armin Faltl wrote:

 No popup please

ack. A horizontal menu would be better -- No need to move the mouse to 
some place in the middle of the screen.


 - have the sub-tools replace the coarser tool box and change back

No wholesale replacement of tools on the UI, please.


 with a click on the BACK button or right-click somewhere in the app.
   
Someone just warned against burning right-click for not so important 
purposes. ;-)


 (for laying traces or lines the first right-click breaks the (poly-)line
 and so 2 right-clicks
 are needed to change from poly-line-mode to line-start- to
 tool-select-mode)

pcb already supports this with the [esc] key.

---)kaimartin(---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-09 Thread Jim

Kai-Martin Knaak wrote:

On Tue, 08 Jun 2010 10:51:10 -0400, Jim wrote:

  

Oh, please make that change configurable without recompiling!



It is already configurable without recompiling. This is how:
1) locate the file gpcb-menu.res on your box. 
2) copy the file to $HOME/.pcb

3) edit to your needs, save
4) on start-up, pcb will read this localised copy. This will overwrite 
whatever settings were made by the system gpcb-menu.res


---)kaimartin(---
  

Thanks, that'll help a lot if they do change default behavior.

Jim.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-08 Thread Kai-Martin Knaak
On Mon, 07 Jun 2010 02:10:57 +0100, Peter Clifton wrote:

 This is a file format bump, but remains backward compatible with old
 layouts.

I get multiple warnings unknown flag `polygonholemode' if I open a new 
file with the old pcb. I assume, these are benign.


 I've now rebased my usual branches on top of this (mainly required work
 for the pour object branches),

I just refetched the before_pours branch. It compiled and installed just 
fine.

First notes:

* You moved zoom to [ctrl-wheel]. I know, that this is in line with the 
way other major gnome applications like inkscape handle zoom. However, 
gschem and gerbv zoom with no modifier by default. I'd strongly vote for 
a consistent behaviour across geda applications. 

* The addition of the new hole tool moves the other icons downstream to 
unfamiliar positions. It takes time to get used to this change. From a 
user perspective, the hole tool is more like a seldom used special mode 
of the polygon tool. A permanent button adds to the visual clutter. As 
more tools emerge, this will get worse. Other CAD applications have 
elaborate ways to choose between literally hundreds of tools. A simple 
means would be to allow for modifier-click on the button. 

* The side pane wastes precious screen space on my box. About 8mm of 
horizontal space are just filled with grey background. See the screenshot 
 http://bibo.iqo.uni-hannover.de/tmp/Screenshot-PCB-before_pours.png
This is not special with your branch. I get the same with pcb-head.

Thanks for your efforts to make geda a better tool set!

---)kaimartin(---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-08 Thread Peter TB Brett
On Tue, 8 Jun 2010 12:46:12 + (UTC), Kai-Martin Knaak
k...@familieknaak.de wrote:

 * You moved zoom to [ctrl-wheel]. I know, that this is in line with the 
 way other major gnome applications like inkscape handle zoom. However, 
 gschem and gerbv zoom with no modifier by default. I'd strongly vote for 
 a consistent behaviour across geda applications. 

I would like to see Ctrl+Wheel for zoom across gEDA applications. Several
people, myself and Peter C. included, have laptops where the touchpad has
two-axis scrolling along the bottom and right-hand edges.  Having different
behaviours depending on which edge you hit is confusing.  Scroll as scroll
makes sense to me.

Peter


-- 
Peter Brett pe...@peter-b.co.uk
Remote Sensing Research Group
Surrey Space Centre


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-08 Thread Jim

Kai-Martin Knaak wrote:

On Mon, 07 Jun 2010 02:10:57 +0100, Peter Clifton wrote:

  

This is a file format bump, but remains backward compatible with old
layouts.
  


I get multiple warnings unknown flag `polygonholemode' if I open a new 
file with the old pcb. I assume, these are benign.



  

I've now rebased my usual branches on top of this (mainly required work
for the pour object branches),



I just refetched the before_pours branch. It compiled and installed just 
fine.


First notes:

* You moved zoom to [ctrl-wheel]. I know, that this is in line with the 
way other major gnome applications like inkscape handle zoom. However, 
gschem and gerbv zoom with no modifier by default. I'd strongly vote for 
a consistent behaviour across geda applications. 

  
Oh, please make that change configurable without recompiling!  It's 
really irritating (to me) to have to use two hands to do things if it's 
not absolutely necessary.  I'll live without some other feature just to 
have wheel zoom without a modifier. 

Thanks for your efforts to make geda a better tool set!

  

I second that!

---)kaimartin(---
  


Jim



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-08 Thread Peter Clifton
On Tue, 2010-06-08 at 12:46 +, Kai-Martin Knaak wrote:

 * You moved zoom to [ctrl-wheel]. I know, that this is in line with the 
 way other major gnome applications like inkscape handle zoom. However, 
 gschem and gerbv zoom with no modifier by default. I'd strongly vote for 
 a consistent behaviour across geda applications. 

I think you might be on my local_customisation_before_pours branch,
rather than my before_pours branch.

The scroll-wheel behaviour change is something I patched for my own
local consumption. (Or perhaps I screwed up my repository rebasing!)

 * The addition of the new hole tool moves the other icons downstream to 
 unfamiliar positions. It takes time to get used to this change. From a 
 user perspective, the hole tool is more like a seldom used special mode 
 of the polygon tool. A permanent button adds to the visual clutter. As 
 more tools emerge, this will get worse. Other CAD applications have 
 elaborate ways to choose between literally hundreds of tools. A simple 
 means would be to allow for modifier-click on the button. 

You idea sounds good - but I'll have to ask you to send the patch ;)
I don't have time to dive into the GUI code for rending those buttons,
adding one was very easy. If you like, I could move the button to the
end of the list, but it felt at home next to the polygon tool.


Perhaps a click on the polygon tool ought to expand with a pop-up with
sub-variants of the tool to choose from?

(E.g. some menus in XMMS / Audacious, and various drawing tools in
OpenOffice).

Perhaps a modifier key could be used to make the polygon tool work like
the hole tool...

We'd have to figure out a way around requiring the first click to select
the polygon - perhaps in the 99.9% common cases, that can just be the
polygon found when hitting the first point of the hole contour. I added
the first click requirement, as I often have boards which have multiple
polygons in them. Thinking about it now, it is probably better to skip
the requirement of the first click to identify the polygon.

 * The side pane wastes precious screen space on my box. About 8mm of 
 horizontal space are just filled with grey background. See the screenshot 
  http://bibo.iqo.uni-hannover.de/tmp/Screenshot-PCB-before_pours.png
 This is not special with your branch. I get the same with pcb-head.

Lesstif doesn't have a tool pallete at all - no wasted space ;)

A while back, both I - and some other developer (sorry, I forget whom)
were looking at using the GDL library to make these tool-palettes
dockable / tear-off-able, so they could be re-arranged / removed to save
space. I've not had a lot of time to pursue the idea though.

 Thanks for your efforts to make geda a better tool set!

Thanks for the testing! It is always nice to know people are using the
code and appreciating it.. it helpe motivate me to spend more of my
(little) free time working on it.

Best wishes,
-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-08 Thread Peter Clifton
On Tue, 2010-06-08 at 15:34 +0100, Peter TB Brett wrote:
 On Tue, 8 Jun 2010 12:46:12 + (UTC), Kai-Martin Knaak
 k...@familieknaak.de wrote:
 
  * You moved zoom to [ctrl-wheel]. I know, that this is in line with the 
  way other major gnome applications like inkscape handle zoom. However, 
  gschem and gerbv zoom with no modifier by default. I'd strongly vote for 
  a consistent behaviour across geda applications. 
 
 I would like to see Ctrl+Wheel for zoom across gEDA applications. Several
 people, myself and Peter C. included, have laptops where the touchpad has
 two-axis scrolling along the bottom and right-hand edges.  Having different
 behaviours depending on which edge you hit is confusing.  Scroll as scroll
 makes sense to me.

Actually, my touch pad only has a vertical scrolling edge, but I can't
use gEDA / PCB effectively after having used _any_ other apps in GNOME.

My workaround has been to patch my local defaults to be the GNOME'y
default of Ctrl+Scroll == ZOOM. In the cases of gschem and PCB, this is
just a matter of editing a config file.

If I handed either app to a brand-new user, I'd feel more comfortable
giving them the defaults I use - but wouldn't want to inflict the change
on existing users.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-08 Thread Ben Jackson
On Tue, Jun 08, 2010 at 09:25:44PM +0100, Peter Clifton wrote:
 
 I think you might be on my local_customisation_before_pours branch,
 rather than my before_pours branch.

If your public repository is also your working copy, users who clone it
will start on whatever branch you are in when they happen to clone.
If the public repo is separate (typically bare) and you push to it, users
will not have this issue.

-- 
Ben Jackson AD7GD
b...@ben.com
http://www.ben.com/


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-08 Thread kai-martin knaak
Peter Clifton wrote:

 On Tue, 2010-06-08 at 15:34 +0100, Peter TB Brett wrote:
  Scroll as scroll makes sense to me.

IMHO, the simplest shortcuts should be mapped to the most frequently used 
actions. In an editor, or on a web page I hardly zoom. So it makes sense to 
map it to some modifier-shortcut. By contrast, with pcb, gschem, or gerbv I 
zoom in and out all the time. The less effort this requires, the better. 
[ctrl-scroll] would have my left little finger glued to the ctrl-key. ;-)


 Actually, my touch pad only has a vertical scrolling edge, but I can't
 use gEDA / PCB effectively after having used any other apps in GNOME.
 
Fair enough. I feel the same when I switch from varicad with yet a different 
mapping of zoom ([ctrl-shift-drag]).

---)kaimartin(---
-- 
Kai-Martin Knaak
Öffentlicher PGP-Schlüssel:
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x6C0B9F53



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-08 Thread kai-martin knaak
Peter Clifton wrote:

 I think you might be on my local_customisation_before_pours branch,
 rather than my before_pours branch.

I thought I did git reset --hard origin/before_pours. But may be not. I 
just fetched, did a reset and compiled at home and did not get the changed 
zoom behavior. 


 Other CAD applications have
 elaborate ways to choose between literally hundreds of tools. A simple
 means would be to allow for modifier-click on the button.
 
 You idea sounds good - but I'll have to ask you to send the patch ;)

Maybe a project for my personal little summer of code. Just don't hold your 
breath.


 Perhaps a click on the polygon tool ought to expand with a pop-up with
 sub-variants of the tool to choose from?

Back in 1999 Microstation by Bentley did it this way:

left click = do the default action

right-click-drag = a horizontal menu with several icons representing 
different modes of the tool appears. The icon that is highlicghted on mouse 
button release is executed.

right-click = the horizontal appears. Left-click on an icon makes this mode 
the default of the tool. 

That way you can deal with a multitude of modes and get an intuitive way to 
configure the default to your own, special needs.  OK, this is certainly too 
much for pcb in its current state. But it shows, what a powerful GUI can do. 

---)kaimartin(---
-- 
Kai-Martin Knaak
Öffentlicher PGP-Schlüssel:
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x6C0B9F53



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-07 Thread kai-martin knaak
Peter Clifton wrote:

 A subsequent commit also introduced a GUI tool for creating holes in
 polygons. Standard editing tools such as insert / move / remove point
 work on the holes too.

Great!
Does this apply to solder stop, too?

--)kaimartin(---
-- 
Kai-Martin Knaak
Öffentlicher PGP-Schlüssel:
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x6C0B9F53



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-07 Thread Peter Clifton
On Tue, 2010-06-08 at 00:57 +0200, kai-martin knaak wrote:
 Peter Clifton wrote:
 
  A subsequent commit also introduced a GUI tool for creating holes in
  polygons. Standard editing tools such as insert / move / remove point
  work on the holes too.
 
 Great!
 Does this apply to solder stop, too?

No, solder mask is always derived from pads - the holes thing was just
about extending our support for polygon shapes to include user drawn
holes.

I appreciate it would be nice in the future to have the ability to
override solder mask shapes and define things like text in the masks.
(I've seen this used to good effect on boards with no silk-screen).

Best wishes,

Peter

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-06 Thread Peter Clifton
As subject..

This is a file format bump, but remains backward compatible with old
layouts.

From the commit message:

The file-format addition is as follows. Previously, a polygon would
be specified as a series of coordinates, such as:

Layer(1 component)
(
  Polygon(clearpoly)
  (
[6000 6000] [81000 6000] [81000 59000] [6000 59000]
  )
)

This commit introduces the ability to specify negative contours
which form holes in the polygon shape, e.g.:

Layer(1 component)
(
  Polygon()
  (
[6000 6000] [81000 6000] [81000 59000] [6000 59000]
Hole (
  [76000 55000] [76000 38000] [58000 38000] [58000 55000]
)
Hole (
  [1 1] [1 28000] [27000 28000] [27000 1]
)
  )
)


A subsequent commit also introduced a GUI tool for creating holes in
polygons. Standard editing tools such as insert / move / remove point
work on the holes too.


(If you don't use the new feature, you can re-edit the file header's
date to fix the layout file for reading with older versions of PCB).
-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-06 Thread Peter Clifton
On Mon, 2010-06-07 at 00:38 +0100, Peter Clifton wrote:
 As subject..
 
 This is a file format bump, but remains backward compatible with old
 layouts.

I've now rebased my usual branches on top of this (mainly required work
for the pour object branches), however repo.or.cz seems to be down at
the moment.

If I repo.or.cz doesn't re-appear tomorrow, I'll see if Ales can set me
up a repository on gpleda.org to stash this stuff.

Best regards,


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user