Re: gEDA-user: Adding extra layer

2008-09-06 Thread Philipp Klaus Krause
der Mouse schrieb:
 Anyway, memory is cheap.
 
 Only for mainstream mass-market hardware.
 
 Of course, that may be all gEDA cares about
 
 If we lose users in order to save 1 K, or even 1 Meg of RAM, that
 doesn't make sense.
 
 Depends.  To what extent is more users an overriding good?
 
 In this particular case, I think the conclusion is correct.  I just
 don't like the reasoning being advanced here.  (I would even more
 prefer to see max-layers settable at startup time, but I daresay that
 would be a substantially more intrusive change.)
 

For the majority of users memory is cheap. If there are more users that
want more layers than there are users that don't have enough memory, the
limit should be increased.
This will minimize the number of users that have to change the #define
and recompile. It should be noted in the documentation where to change
it and that it's a number-of-layers vs. memory usage tradeoff, so those
that don't have memory (and those that want even more layers) know what
to do. I suggest to increase the number to 32 for a start.

Philipp



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


Re: gEDA-user: Linux's answer to SolidWorks

2008-09-06 Thread John Griessen
Kai-Martin Knaak wrote:

 I took a serious look at it before I settled for varicad.
.
.
.
This is a bit like ALGOL
  ALGOL is a dubious choice for new projects.

Has anyone tried Open Cascade?  It's free and somewhat open, but it 
seems all the developers are in a for profit company -- maybe it hasn't 
got a life of its own like my favorite free-open tools.

John Griessen


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


Re: gEDA-user: PCB Bug: poly clearance around rotated pads.

2008-09-06 Thread Robert Fitzsimons
 Do you two want some more time to play with this, or should I commit
 now and worry later?

Here's an updated version of my patch which fixes the square pad and
damaged polygon issues.

Robert



Index: src/polygon.c
===
RCS file: /cvsroot/pcb/pcb/src/polygon.c,v
retrieving revision 1.59
diff -u -r1.59 polygon.c
--- src/polygon.c   2 Dec 2007 09:35:40 -   1.59
+++ src/polygon.c   6 Sep 2008 16:59:11 -
@@ -451,6 +451,82 @@
   return np;
 }
 
+/* make a rounded-corner rectangle */
+POLYAREA *
+SquarePadPoly (PadType * pad, BDimension clear)
+{
+  PLINE *contour = NULL;
+  POLYAREA *np = NULL;
+  Vector v;
+  double d;
+  double tx, ty;
+  double cx, cy;
+  PadType _t=*pad,*t=_t;
+  PadType _c=*pad,*c=_c;
+  int halfthick = (pad-Thickness + 1) / 2;
+  int halfclear = (clear + 1) / 2;
+
+  d =
+sqrt (SQUARE (pad-Point1.X - pad-Point2.X) +
+  SQUARE (pad-Point1.Y - pad-Point2.Y));
+  if (d != 0)
+{
+  double a = halfthick / d;
+  tx = (t-Point1.Y - t-Point2.Y) * a;
+  ty = (t-Point2.X - t-Point1.X) * a;
+  a = halfclear / d;
+  cx = (c-Point1.Y - c-Point2.Y) * a;
+  cy = (c-Point2.X - c-Point1.X) * a;
+
+  t-Point1.X -= ty;
+  t-Point1.Y += tx;
+  t-Point2.X += ty;
+  t-Point2.Y -= tx;
+  c-Point1.X -= cy;
+  c-Point1.Y += cx;
+  c-Point2.X += cy;
+  c-Point2.Y -= cx;
+}
+  else
+{
+  tx = halfthick;
+  ty = 0;
+  cx = halfclear;
+  cy = 0;
+
+  t-Point1.Y += tx;
+  t-Point2.Y -= tx;
+  c-Point1.Y += cx;
+  c-Point2.Y -= cx;
+}
+
+  v[0] = c-Point1.X - tx;
+  v[1] = c-Point1.Y - ty;
+  if ((contour = poly_NewContour (v)) == NULL)
+return 0;
+  frac_circle (contour, (t-Point1.X - tx), (t-Point1.Y - ty), v, 4);
+
+  v[0] = t-Point2.X - cx;
+  v[1] = t-Point2.Y - cy;
+  poly_InclVertex (contour-head.prev, poly_CreateNode (v));
+  frac_circle (contour, (t-Point2.X - tx), (t-Point2.Y - ty), v, 4);
+
+  v[0] = c-Point2.X + tx;
+  v[1] = c-Point2.Y + ty;
+  poly_InclVertex (contour-head.prev, poly_CreateNode (v));
+  frac_circle (contour, (t-Point2.X + tx), (t-Point2.Y + ty), v, 4);
+
+  v[0] = t-Point1.X + cx;
+  v[1] = t-Point1.Y + cy;
+  poly_InclVertex (contour-head.prev, poly_CreateNode (v));
+  frac_circle (contour, (t-Point1.X + tx), (t-Point1.Y + ty), v, 4);
+
+  /* now we have the line contour */
+  if (!(np = ContourToPoly (contour)))
+return NULL;
+  return np;
+}
+
 /* clear np1 from the polygon */
 static int
 Subtract (POLYAREA * np1, PolygonType * p, Boolean fnp)
@@ -583,13 +659,8 @@
 
   if (TEST_FLAG (SQUAREFLAG, pad))
 {
-  BDimension t = pad-Thickness / 2;
-  LocationType x1, x2, y1, y2;
-  x1 = MIN (pad-Point1.X, pad-Point2.X) - t;
-  x2 = MAX (pad-Point1.X, pad-Point2.X) + t;
-  y1 = MIN (pad-Point1.Y, pad-Point2.Y) - t;
-  y2 = MAX (pad-Point1.Y, pad-Point2.Y) + t;
-  if (!(np = RoundRect (x1, x2, y1, y2, pad-Clearance / 2)))
+  if (!
+  (np = SquarePadPoly (pad, pad-Thickness + pad-Clearance)))
 return -1;
 }
   else
@@ -846,14 +917,20 @@
 UnsubtractPad (PadType * pad, LayerType * l, PolygonType * p)
 {
   POLYAREA *np = NULL;
-  BDimension t = (pad-Thickness + pad-Clearance) / 2 + 100;
-  LocationType x1, x2, y1, y2;
 
-  x1 = MIN (pad-Point1.X, pad-Point2.X) - t;
-  x2 = MAX (pad-Point1.X, pad-Point2.X) + t;
-  y1 = MIN (pad-Point1.Y, pad-Point2.Y) - t;
-  y2 = MAX (pad-Point1.Y, pad-Point2.Y) + t;
-  if (!(np = RectPoly (x1, x2, y1, y2)))
+  if (TEST_FLAG (SQUAREFLAG, pad))
+{
+  if (!
+  (np = SquarePadPoly (pad, pad-Thickness + pad-Clearance + 100)))
+return 0;
+}
+  else
+{
+  if (!
+  (np = LinePoly ((LineType *) pad, pad-Thickness + pad-Clearance + 
100)))
+return 0;
+}
+  if (!np)
 return 0;
   if (!Unsubtract (np, p))
 return 0;


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


gEDA-user: pcb question: matching differential lines

2008-09-06 Thread jean,,,
Greetings to everyone here. 

I'm working on a new board and I have a couple differential lines in my
design.  Is there anyway in pcb to measure the length of the traces and
see how different they are?  I'd like to have them match up as close as
possible instead of just eyeballing it.

--
Jean


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


gEDA-user: free-open workarounds similar to SolidWorks

2008-09-06 Thread John Griessen
evan foss wrote:
 Open cascade is just free as in beer. The license is really not what
 you would think.

OK then.  I looked at the GCAM program site without installing it yet. 
Seems to have a 3D wireframe view of hand made macros done via GUI to 
create sets of RS-274 G codes.  The G code macros it will make are about 
cutting simple circle or rectangle shapes, then outputting a series of 
moves that will cut a global depth of cut setting and repeat while 
necessary.  I did not see anything generating spline curves yet.

I cannot find any import export function yet.

So far, Blender --python scripts to create G codes -- GCAM setup 
details added to G codes -- machining job shop  is the most reasonable 
flow I have found to make real parts with.  It might be possible to go 
from blender -- STL --??-- IGES, but I've not found how yet.

GCAM checked G codes are farther along than an IGES file, so your 
charges at the machine shop would be less with them.

Whether GCAM would show in 3D a set of G codes that follow a spline 
curved surface from Blender is an interesting question to answer...


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


Re: gEDA-user: free-open workarounds similar to SolidWorks

2008-09-06 Thread Rob Butts
Hey John,

I spoke to a local vocational high school's drafting department who couldn't
wait to get their hands on this project.  I gave them the measurements of my
backrest and they are running with this.  It gives their students a chance
to work on a real project, to help the disabled and to use the more advanced
features of their software.  I couldn't beat the pice since it's free!  Plus
this frees me up to work on the code for my temp control chip.

Thanks for digging into this and if you continue to explore this I'd be
interested to know what you find out.

Rob

On Sat, Sep 6, 2008 at 3:24 PM, John Griessen [EMAIL PROTECTED] wrote:

 evan foss wrote:
  Open cascade is just free as in beer. The license is really not what
  you would think.

 OK then.  I looked at the GCAM program site without installing it yet.
 Seems to have a 3D wireframe view of hand made macros done via GUI to
 create sets of RS-274 G codes.  The G code macros it will make are about
 cutting simple circle or rectangle shapes, then outputting a series of
 moves that will cut a global depth of cut setting and repeat while
 necessary.  I did not see anything generating spline curves yet.

 I cannot find any import export function yet.

 So far, Blender --python scripts to create G codes -- GCAM setup
 details added to G codes -- machining job shop  is the most reasonable
 flow I have found to make real parts with.  It might be possible to go
 from blender -- STL --??-- IGES, but I've not found how yet.

 GCAM checked G codes are farther along than an IGES file, so your
 charges at the machine shop would be less with them.

 Whether GCAM would show in 3D a set of G codes that follow a spline
 curved surface from Blender is an interesting question to answer...


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



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


Re: gEDA-user: pcb question: matching differential lines

2008-09-06 Thread Peter TB Brett
On Saturday 06 September 2008 18:17:14 jean,,, wrote:
 Greetings to everyone here.

 I'm working on a new board and I have a couple differential lines in my
 design.  Is there anyway in pcb to measure the length of the traces and
 see how different they are?  I'd like to have them match up as close as
 possible instead of just eyeballing it.

Yes -- on an upcoming project I'm going to need to make some equal-distance RF 
waveguides, and having a feature like this would be a great help with that!

Peter

-- 
Peter Brett

Electronic Systems Engineer
Integral Informatics Ltd


signature.asc
Description: This is a digitally signed message part.


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


Re: Get a $50 FREE Gift today and take advantage of our best limited time

2008-09-06 Thread ricardo soares
2008/6/16 ricardo soares [EMAIL PROTECTED]

  Get a $50 FREE Gift today and take advantage of our best limited time
 offer!
 After installing the software, simply register, make your first
 deposit of at least $10, and we will add $50 in hassle-free bonus
 chips to your player account.

 No complicated rules. Simply our way to say thanks for trying our
 premier Casino
 http://www.casinoglamour.com/downloads/U151E4/Casino%20Glamour.exe



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Online Poker Players group.
To post to this group, send email to Online-Poker-Players@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Online-Poker-Players
-~--~~~~--~~--~--~---