Re: gEDA-user: [PCB-Patches] Action-documentation

2010-11-15 Thread Kai-Martin Knaak
Felix Ruoff wrote:

 b) Technically, it does not really lock the position but makes the
 labels insensitive to various user induced actions. Most importantly,
 text will ignore left mouse click and actions that work on objects
 under the mouse. You can still select the text with a lasso (left
 mouse drag) and perform actions on the selection. some of these
 actions may change the position of the text. E.g, move-to-other-side
 [snip]
 
 What do you think of the following descriptions:
 @item ToggleLockNames
 If set, text will ignore left mouse clicks and actions that work on 
 objects under the mouse.
 
 @item ToggleOnlyNames
 If set, only text will be sensitive for mouse clicks and actions that 
 work on objects under the mouse.

I'd prefer more verbose descriptions. I'd add the ability to select with the 
lasso -- no need for every user to discover this detail by himself. But this 
is a matter of taste. 

---)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: New branch of PCB

2010-11-15 Thread Kai-Martin Knaak
Stephen Ecob wrote:

 Motivation
 Having laid out a couple of boards with PCB 20091103 I became aware of
 some bugs in the autorouter that made the job difficult:

Are you talking about the default auto router. Or is this about the shiny, 
new toporouter?

---)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: [PCB-Patches] Action-documentation

2010-11-15 Thread Felix Ruoff



What do you think of the following descriptions:
@item ToggleLockNames
If set, text will ignore left mouse clicks and actions that work on
objects under the mouse.

@item ToggleOnlyNames
If set, only text will be sensitive for mouse clicks and actions that
work on objects under the mouse.

I'd prefer more verbose descriptions. I'd add the ability to select with the
lasso -- no need for every user to discover this detail by himself. But this
is a matter of taste.

---)kaimartin(---
I first thought the same way, but I found no formulation. Now, I see, 
that you have given a good one :-).


A new suggestion:

@item ToggleLockNames
If set, text will ignore left mouse clicks and actions that work on
objects under the mouse. You can still select text with a lasso (left
mouse drag) and perform actions on the selection.

@item ToggleOnlyNames
If set, only text will be sensitive for mouse clicks and actions that
work on objects under the mouse. You can still select other objects
with a lasso (left mouse drag) and perform actions on the selection.



Felix


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


Re: gEDA-user: Matching footprints with symbols

2010-11-15 Thread Kai-Martin Knaak
Colin D Bennett wrote:

 Bottom line: Avoid hyphens in footprint names except to add a
 revision number at the end of the base name.
 
 Alternate bottom line: Avoid m4 footprint library.

ack. 
In addition: Be aware of potential problems if you share your hyphenated 
footprints with other users. I ran into this problem back, when I used some 
of the footprints, John Luciani generously provides on his home page. 

nag-mode
When is this newbie trap going to be defused?
/nag-mode

---)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: PCB+GL notes on VBOs

2010-11-15 Thread Kai-Martin Knaak
Richard Barlow wrote:

 I ran the power-hw board on my machine and achieved around 85FPS.
 Felipe ran the same board on his machine and achieved around 18FPS.
 
 My graphics card has 1GB of VRAM, Felipe's has 256MB

The good result I finally got with the power board was achieved with 
ATI Radeon HD 4670, 1GB RA. So this fits. I'll test again on the same
box with my old ATI Sapphire card with less memory.

---)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: Problems compiling PCB Release 20100929

2010-11-15 Thread Kai-Martin Knaak
Colin D Bennett wrote:

 Synaptic package of pcb along with the compiled version?
 
 You should look at the 'prefix' where pcb is configured for
 installation. 

Default prefix is /usr/local. pcb will install its binary into
/usr/local/bin and the libs into /usr/local/lib.
By default, these locations are searched first on Ubuntu, Debian and about 
every decent linux distro. A simple call of pcb will start the version in 
/usr/local/bin/pcb . If you'd prefer the distros version, you can call it 
with /usr/bin/pcb . So there is no need to edit the prefix variable.

I have three versions of pcb installed on my desktops and use them as
needed without any interference:

1) from distro
2) from the current git head
3) the GL enabled version by Peter Clifton, before_pours branch.

---)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: Problems compiling PCB Release 20100929

2010-11-15 Thread Felipe De la Puente Christen
On Mon, 2010-11-15 at 15:21 +0100, Kai-Martin Knaak wrote:
 Colin D Bennett wrote:
 
  Synaptic package of pcb along with the compiled version?
  
  You should look at the 'prefix' where pcb is configured for
  installation. 
 
 Default prefix is /usr/local. pcb will install its binary into
 /usr/local/bin and the libs into /usr/local/lib.
 By default, these locations are searched first on Ubuntu, Debian and about 
 every decent linux distro. A simple call of pcb will start the version in 
 /usr/local/bin/pcb . If you'd prefer the distros version, you can call it 
 with /usr/bin/pcb . So there is no need to edit the prefix variable.
 
 I have three versions of pcb installed on my desktops and use them as
 needed without any interference:
 
 1) from distro
 2) from the current git head
 3) the GL enabled version by Peter Clifton, before_pours branch.

In my case, I have PCB Head built with default configuration. 

And also have GL enabled pcb using --program-suffix=-gl at configure
time. Thus I have a clear distinction between the two binaries. One is
called pcb and the other is called pcb-gl. You can add whatever
suffix you want to the program name.


 
 ---)kaimartin(---

-- 
Felipe De la Puente Christen
MSN/GTalk   : fdelapue...@gmail.com



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


Re: gEDA-user: Comments on pcb's g-code exporter HeeksCAD/HeeksCNC FOSS program for pcb milling

2010-11-15 Thread Markus Hitter


Am 15.11.2010 um 06:55 schrieb d...@umich.edu:

I tried to draw an outline in an 'outline' layer and 'pcb' just  
turned the trace lines into an isolation routing outline.


Ouch. This shouldn't happen. Did you apply all 24 patches? If yes,  
could you send me (not to the list) the .pcb file showing this  
behaviour ?


I must not be getting your explanation. Do I use a rectangle in the  
'outline' layer to define the outline?


Exactly. A rectangle, or any number of lines drawing another area.  
Milled is always a rectangle, though.



Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. (FH) Markus Hitter
http://www.jump-ing.de/







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


Re: gEDA-user: PCB+GL+3D Packages??

2010-11-15 Thread John Griessen

On 11/14/2010 08:37 PM, Peter Clifton wrote:

1. Does anyone care about seeing this land in PCB?
2. Will anyone bother to make 3D models for packages?

Yes.

3. What format would people like to make models in?

STEP, so I can load it in HeeksCAD and use HeeksCNC to carve enclosures.

John
--
Ecosensory   Austin TX


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


Re: gEDA-user: Problems compiling PCB Release 20100929

2010-11-15 Thread Kovacs Levente
On Wed, 10 Nov 2010 21:19:20 +
Peter TB Brett pe...@peter-b.co.uk wrote:

 Ignore me, I'm an idiot.  Y'all are talking about PCB, not gEDA.
 Sorry!

AFAIK, there are similar lines in the README of PCB as well.

-- 
Kovacs Levente leventel...@gmail.com
Voice: +36705071002




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


Re: gEDA-user: Comments on pcb's g-code exporter HeeksCAD/HeeksCNC FOSS program for pcb milling

2010-11-15 Thread Stephan Boettcher
Markus Hitter m...@jump-ing.de writes:

 Exactly. A rectangle, or any number of lines drawing another
 area. Milled is always a rectangle, though.

Hmm, why?  The outline layer is especially useful for boards that are
not rectangular shaped.  

-- 
Stephan


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


Re: gEDA-user: Matching footprints with symbols

2010-11-15 Thread Colin D Bennett
On Mon, 15 Nov 2010 14:56:09 +0100
Kai-Martin Knaak kn...@iqo.uni-hannover.de wrote:

 Colin D Bennett wrote:
 
  Bottom line: Avoid hyphens in footprint names except to add a
  revision number at the end of the base name.
  
  Alternate bottom line: Avoid m4 footprint library.
 
 ack. 
 In addition: Be aware of potential problems if you share your
 hyphenated footprints with other users. I ran into this problem back,
 when I used some of the footprints, John Luciani generously provides
 on his home page. 

But if the footprints in question (with names containing hyphens) are in
newlib (PCB element) format, doesn't this mean that the m4 processor
bug will be avoided?

Regards,
Colin


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


Re: gEDA-user: PCB+GL+3D Packages??

2010-11-15 Thread Bert Timmerman
Hi Peter and all, 

 -Original Message-
 From: geda-user-boun...@moria.seul.org 
 [mailto:geda-user-boun...@moria.seul.org] On Behalf Of Peter Clifton
 Sent: Monday, November 15, 2010 3:37 AM
 To: geda-user
 Subject: gEDA-user: PCB+GL+3D Packages??
 
 An actual rendering from PCB+GL with some code I've been 
 playing with...
 
 http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d_pack
ages_mockup.png
 
 
 Not currently pushed to any repository, this hard-codes a 
 search for ACY400 footprints (as used on this board), and 
 renders a 3D model for each resistor. (The 3D model is 
 defined in C code, not a generic format at the moment).
 
 I have been playing with 1D texturing to put stripes on the 
 resistors - albeit not actually with the correct value at 
 this stage.. but it IS possible ;)
 
 
 Questions:
 
 1. Does anyone care about seeing this land in PCB?
 2. Will anyone bother to make 3D models for packages?
 3. What format would people like to make models in?
 
 I'm thinking VRML (perhaps as output by Wings32) might be a 
 good choice, as I believe this is what KiCad uses.
 
 --
 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)
 
 
 

The screenshot looks nice ;-)

Some questions come to mind:

1) Are the resistors modelled with 3D- primitives like spheres/cylinders, or
are they modelled with 3D-faces ?

2) Are we (the pcb-devs) going to teach pcb to do the modelling, or do we
just export the information for creating 3D-views to a separate
utility/application ?

I'm testing the feasibility of coding/using an OpenSCAD exporter for the
above purpose, this looks promising, but at this moment I can give no 100 %
guarantee of this becoming a viable solution.

However, OpenSCAD seems to have some (user) momentum in the MakerBot 
Thingieverse culture, and the OpenSCAD code resembles to be a small subset
of the C programming language.

At least one nifty thing OpenSCAD can do is extrude a geometry defined in a
2D DXF-file (made with QCAD for instance), this would allow for arbitrary
shaped boards.

I don't know weather OpenSCAD -- stl file -- G-code is a desirable work
flow to get G-code files for a plastruder to create a 3D-mock-up of a
non-electrically working pcb with components (plastruders by definition
extrude (possibly non-conductive) plastics).

OTOH, there is Blender, BRL-CAD, HeeksCAD to name a few.

3) I there any insight where to place the bet for our pcb monies (and coding
time) ?

Kind regards,

Bert Timmerman.



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


Re: gEDA-user: PCB+GL Testers (please test)

2010-11-15 Thread Frank Bergmann

Am 11.11.2010 00:13, schrieb Peter Clifton:

On Wed, 2010-11-10 at 21:34 +0100, Frank Bergmann wrote:


You find the backtrace at

http://www.frajasalo.de/frank/projekt/pcb/gdb-pcb.local_customisation_no_pours-backtrace-20101110-1.txt

I hope it will help, even without the debugging symbols in the system
stuff.


To really dig into it, I would need the debugging symbols for the DRI
driver. On Ubuntu/Debian, they are in libgl1-mesa-dri-dbg


Sorry dont work here because bug in meas dbg package:

https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/584477

I can try it again when the package will be updated or I update the 
system to a newer release.


Frank.



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


Re: gEDA-user: New branch of PCB

2010-11-15 Thread Stephen Ecob
On Tue, Nov 16, 2010 at 12:47 AM, Kai-Martin Knaak
kn...@iqo.uni-hannover.de wrote:
 Stephen Ecob wrote:

 Motivation
 Having laid out a couple of boards with PCB 20091103 I became aware of
 some bugs in the autorouter that made the job difficult:

 Are you talking about the default auto router. Or is this about the shiny,
 new toporouter?

I'm talking about the default auto router.

Best regards,
Stephen


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


Re: gEDA-user: Matching footprints with symbols

2010-11-15 Thread Kai-Martin Knaak
Colin D Bennett wrote:

 But if the footprints in question (with names containing hyphens) are in
 newlib (PCB element) format, doesn't this mean that the m4 processor
 bug will be avoided?

Unfortunately, not. By default, gsch2pcb hands all footprints to the m4 
processor. There is an option to skip m4 for good, though (--skip-m4). But 
unless the option is given, hyphens in footprint names result in broken pcb 
files. The breakage does not show immediately, but usually somewhere down 
the work flow.

---)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: PCB+GL+3D Packages??

2010-11-15 Thread Peter Clifton
On Mon, 2010-11-15 at 20:33 +0100, Bert Timmerman wrote:

 Some questions come to mind:
 
 1) Are the resistors modelled with 3D- primitives like spheres/cylinders, or
 are they modelled with 3D-faces ?

3D faces.. but you don't want to see the code ;) over 300 lines to draw
a resistor!

3D faces are probably the best model to render graphics from - hence my
desire to use VRML (also, KiCad does!). From the responses, some kind of
STEP to VRML converter might be warranted if I end up importing VRML.

Lots of evil like this:

z = -resistor_width / 2. + resistor_bulge_offset;
r = resistor_barrel_radius;
glTexCoord1f (0.);
glNormal3f (x_strip_edge1, y_strip_edge1, 0.);
glVertex3f (r * x_strip_edge1, r * y_strip_edge1, z);
glTexCoord1f (0.);
glNormal3f (x_strip_edge2, y_strip_edge2, 0.);
glVertex3f (r * x_strip_edge2, r * y_strip_edge2, z);



 2) Are we (the pcb-devs) going to teach pcb to do the modelling, or do we
 just export the information for creating 3D-views to a separate
 utility/application ?

One or both.?

I like the 3D view in PCB, but I don't propose we try to get
photo-realistic rendering to compete with blender. For that, we could
just export our geometry.

Similarly, a CAD model export would allow more mechanical design
integration, but I don't think that ought to be become part of PCB.

 I'm testing the feasibility of coding/using an OpenSCAD exporter for the
 above purpose, this looks promising, but at this moment I can give no 100 %
 guarantee of this becoming a viable solution.
 
 However, OpenSCAD seems to have some (user) momentum in the MakerBot 
 Thingieverse culture, and the OpenSCAD code resembles to be a small subset
 of the C programming language.

Interesting.

 At least one nifty thing OpenSCAD can do is extrude a geometry defined in a
 2D DXF-file (made with QCAD for instance), this would allow for arbitrary
 shaped boards.

Nice.

-- 
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: Comments on pcb's g-code exporter HeeksCAD/HeeksCNC FOSS program for pcb milling

2010-11-15 Thread Markus Hitter


Am 15.11.2010 um 18:06 schrieb Stephan Boettcher:


Markus Hitter m...@jump-ing.de writes:


Exactly. A rectangle, or any number of lines drawing another
area. Milled is always a rectangle, though.


Hmm, why?  The outline layer is especially useful for boards that are
not rectangular shaped.


As I explained earlier, simply because nobody implemented it yet. The  
spot in the code is even marked with a comment.



Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. (FH) Markus Hitter
http://www.jump-ing.de/







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


Re: gEDA-user: PCB+GL+3D Packages??

2010-11-15 Thread John Griessen

On 11/15/2010 03:24 PM, Peter Clifton wrote:

However, OpenSCAD seems to have some (user) momentum in the MakerBot
  Thingieverse culture, and the OpenSCAD code resembles to be a small subset
  of the C programming language.

Interesting.


  At least one nifty thing OpenSCAD can do is extrude a geometry defined in a
  2D DXF-file (made with QCAD for instance), this would allow for arbitrary
  shaped boards.

Nice.


HeeksCAD can do both those things and has python interface instead of a subset
script language (another new language)...or it has a GUI to make sketches (2D 
outlines)
from faces of solid primitives or from complex booleans of solids.

 Thingieverse culture is about quick easy copying mostly, not very good for 
revising designs.
They mostly use STL.  Reprap is the group that's been promoting openscad lately.

I prefer HeeksCAD for the python interface.  I'm adding a feature to that 
python interface today,
and I was a newbie to HeeksCAD three weeks ago.

JG


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


Re: gEDA-user: PCB+GL+3D Packages??

2010-11-15 Thread Bert Timmerman
Hi John, 

 -Original Message-
 From: geda-user-boun...@moria.seul.org 
 [mailto:geda-user-boun...@moria.seul.org] On Behalf Of John Griessen
 Sent: Monday, November 15, 2010 10:50 PM
 To: gEDA user mailing list
 Subject: Re: gEDA-user: PCB+GL+3D Packages??
 
 On 11/15/2010 03:24 PM, Peter Clifton wrote:
  However, OpenSCAD seems to have some (user) momentum in 
 the MakerBot
Thingieverse culture, and the OpenSCAD code resembles to be a 
   small subset  of the C programming language.
  Interesting.
 
At least one nifty thing OpenSCAD can do is extrude a geometry 
   defined in a  2D DXF-file (made with QCAD for instance), 
 this would 
   allow for arbitrary  shaped boards.
  Nice.
 
 HeeksCAD can do both those things and has python interface 
 instead of a subset
 script language (another new language)...or it has a GUI to 
 make sketches (2D outlines) from faces of solid primitives or 
 from complex booleans of solids.
 
   Thingieverse culture is about quick easy copying mostly, 
 not very good for revising designs.
 They mostly use STL.  Reprap is the group that's been 
 promoting openscad lately.
 
 I prefer HeeksCAD for the python interface.  I'm adding a 
 feature to that python interface today, and I was a newbie to 
 HeeksCAD three weeks ago.
 
 JG
 


Well, I better have a close look at HeeksCAD also.

My python-fu is weak though ;-(

Kind regards,

Bert Timmerman. 



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


Re: gEDA-user: PCB+GL+3D Packages??

2010-11-15 Thread Armin Faltl

Peter Clifton wrote:

An actual rendering from PCB+GL with some code I've been playing with...

http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d_packages_mockup.png
  

very nice

2. Will anyone bother to make 3D models for packages?
  

if it's easy enough I'll probably do it for the footprints I create

3. What format would people like to make models in?
  

I'm considering to adopt the format of OpenSCAD for my own CAD-Demo.
In principle it looks nice to me, but I need to check details.
Then I would use my own demo, to make the 3D-models.

I'm thinking VRML (perhaps as output by Wings32) might be a good choice,
as I believe this is what KiCad uses.
  

Same, need to check details, e.g. if dimensions and layers are supported.


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


Re: gEDA-user: Problems compiling PCB Release 20100929

2010-11-15 Thread kai-martin knaak
Felipe De la Puente Christen wrote:

 2) from the current git head
 3) the GL enabled version by Peter Clifton, before_pours branch.
 
 In my case, I have PCB Head built with default configuration. 
 
 And also have GL enabled pcb using --program-suffix=-gl at configure
 time. Thus I have a clear distinction between the two binaries. One
 is
 called pcb and the other is called pcb-gl. You can add whatever
 suffix you want to the program name.

Thanks. I didn't know about that one. Always moved the binary to some 
other filename manually ..

---)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: PCB+GL+3D Packages??

2010-11-15 Thread Peter Clifton
On Tue, 2010-11-16 at 00:01 +0100, Armin Faltl wrote:

  I'm thinking VRML (perhaps as output by Wings32) might be a good choice,
  as I believe this is what KiCad uses.

 Same, need to check details, e.g. if dimensions and layers are supported.

VRML (as I understand it) is surfaces  only. Not a CAD format per-se,
just a format for defining 3D visualisation.




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


Re: gEDA-user: PCB+GL+3D Packages??

2010-11-15 Thread Peter Clifton
On Mon, 2010-11-15 at 02:37 +, Peter Clifton wrote:
 An actual rendering from PCB+GL with some code I've been playing with...
 
 http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d_packages_mockup.png

And I figured out lighting a little better, and in the process ran into
a nasty bug/feature in mesa triggered by our large coordinates (which
necessitates a MODELVIEW matrix with a very very small determinant, and
then things inside mesa give up when trying to invert it).

I fixed the issue by scaling w of the homogeneous coordinates rather
than using glScale, which scales x, y and z.

http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d_packages_mockup2.png

The code which rendered this is in my local_customisation branch. It
will pick out and 3D-abuse any ACY400 footprints it finds (placed by
gsch2pcb ONLY) on the board. (gsch2pcb leaves a tell-tale description
which lets me see what footprint was requested).

Best wishes,

Peter C.




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


Re: gEDA-user: PCB+GL+3D Packages??

2010-11-15 Thread kai-martin knaak

ok, I'l play the FreeCAD advovate again:

John Griessen wrote:

 HeeksCAD can do both those things and has python interface instead
 of a subset script language (another new language)...or it has 
 a GUI to make sketches (2D outlines) from faces of solid primitives
 or from complex booleans of solids.

.. and that's about all it can do right now. I don't want to frustrate
your enthusiasm. But if the goal 3D mechanical CAD, the heekscad project
is pretty much embryonic. Just look at the UsingHeeksCAD page: 
http://code.google.com/p/heekscad/wiki/UsingHeeksCAD

Now for the FreeCAD project: 
http://sourceforge.net/apps/mediawiki/free-cad/
The projects are quite similar in many aspects. Both aim to develop into
a full fledged 3D mechanical CAD application. On a low level they both use
the same infrastructure - OpenCascade and C++. Both of them offer a python 
API for user interaction. 
http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Power_users_hub

Since last time I checked, the freeCAD project acquired a second lead
developer and a host of contributors. It is gaining even more momentum
than it had in march. An important ingredient to user acceptance is the
inclusion to the debian repository (is part of squeeze). 

About every aspect of the projects compares like the two wikis:
  http://code.google.com/p/heekscad/w/list
  http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page
Both do it, but there is definitely more flesh to FreeCAD. And it is getting
better by the day.

---)kaimartin(---

PS: I like the home page of the freeCAD project. It provides intuitive
access to advertising (screenshots) newbie information (getting 
started) and developer specials, too. The geda home page tries the same 
but is less intuitive by far. IMHO, the key component is the side bar. 
It presents a relieable access to the index of the site. This is 
a web page design, that is proven to work for complex content. How 
about morphing the geda site into something similar? Yes, this is
mediawiki, while geda uses dokuwiki. However, I know, this can 
be done with dokuwiki, too -- my wiki at work is based on dokuwiki.
( http://bibo.iqo.uni-hannover.de/dokuwiki/doku.php )
-- 
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: PCB+GL+3D Packages??

2010-11-15 Thread John Griessen

On 11/15/2010 08:19 PM, kai-martin knaak wrote:

.. and that's about all it can do right now. I don't want to frustrate


Here's an example of a python script that can be launched from a python 
interpreter window
of HeeksCAD.  It defines a shelf parametrically.  It can be exported as STEP or 
STL
for interoperation and cutting of normal non-fancy CNC milling machine cuts.
HeeksCNC is usable to help with making tool paths.

I don't see exactly how it would benefit the pcb project, but the code is BSD 
licensed and in C++
if/when PCB goes that way.

.png's of  screen shots are here:

So far my script generates this first.
http://ecosensory.com/diybio/pegs_shelfsized.heeks.png

then I use the GUI to select and cut out the cylinders.
http://ecosensory.com/diybio/holes_shelfsized.heeks.png
http://ecosensory.com/diybio/holes_shelfsized.heeks2.png


How to use a script file from the console window is:
---
To run a file from the interpreter use this path directive to
add the script dir, /home/john/heekscad:

import HeeksPython as cad
import sys
sys.path.insert(0,'/home/john/heekscad')

import shelfsized   # for python script file named shelf3g.py

reload(shelfsized)  # to iterate additions to the script, and what you get.


The writing of my first script was a little slow to start because
I was baffled by the python interpreter import of a module not updating after 
the first load.
I needed reload, a python2.6 function that is going away, to get easy code 
writing with a quick
look each step of the way.  Because I knew a little python, I was able to add a 
feature already.
I added a way to place new cylinders in any orientation, so the script could 
operate on
the 3D representation without having to reorient the whole set of objects 
several times.

That is more than I could do with pcb as it was a few years ago when I tried... 
 So the code is
arrange well enough, and people are available to help, and it does things now.

Freecad is going to be great, but last I tried doing booleans it slowed to a 
crawl and was unusable.

Below is the script that made the screenshots.  The screen shots were needed 
because printing is broken.
Printing broken isn't such a big deal, since you can export to very standard 
usable STL, STEP,
and from 2D sketches, DXF.  So, decide for yourselves what it can do right now.

John Griessen
-
# shelfsized.py
# dimensions in millimeters.
# default dimensions get overridden:

ox=0;oy=0;oz=0   # origin corner point
width=500
depth=155
thick=12  #default size shelf.
hole1dist=30  #distance from side cam to front edge shelf.
hole2dist=47.54  #distance from side cam to back edge shelf.
hole3dist=120  #distance from back cam to side edge shelf.
doweldist=23.04  #distance for cam hole to grab dowel well.
dowelhole=7.25   #diameter for dowel holes.
camhole=12.05#diameter for cam holes.
camdepth=10.0#depth of cam holes.

def draw():
   import HeeksPython as cad

   ikeaize(ox,oy,oz,width,depth,thick,hole1dist,hole2dist, \
   hole3dist,doweldist,dowelhole,camhole)
   shelf1= cad.getlastobj()




def ikeaize(ox,oy,oz,width,depth,thick,hole1dist,hole2dist, \
   hole3dist,doweldist,dowelhole,camhole):
   import HeeksPython as cad
   cad.setcolor(191,240,191)
   cad.cuboid(ox,oy,oz,width,depth,thick)
   cad.setcolor(191,191,240)
   shelf_slab2 = cad.getlastobj()

   cad.cylinder(ox + doweldist,depth - hole1dist, \
   oz + thick - camdepth,camhole / 2,camdepth * 2)
   hole1 = cad.getlastobj()

   cad.directedcylinder(ox + doweldist,depth - hole1dist, \
   oz + thick / 2,-1,0,0,dowelhole / 2,35)
   edgehole1 = cad.getlastobj()

   cad.cylinder(width - doweldist,depth - hole1dist, \
   oz + thick - camdepth,camhole / 2,camdepth * 2)
   hole1b = cad.getlastobj()

   cad.directedcylinder(width - doweldist,depth - hole1dist, \
   oz + thick / 2,1,0,0,dowelhole / 2,35)
   edgehole1b = cad.getlastobj()

   cad.cylinder(ox + doweldist,oy + hole2dist, \
   oz + thick - camdepth,camhole / 2,camdepth * 2)
   hole2 = cad.getlastobj()

   cad.directedcylinder(ox + doweldist,oy + hole2dist, \
   oz + thick / 2,-1,0,0,dowelhole / 2,35)
   edgehole2 = cad.getlastobj()

   cad.cylinder(width - doweldist,oy + hole2dist, \
   oz + thick - camdepth,camhole / 2,camdepth * 2)
   hole2b = cad.getlastobj()

   cad.directedcylinder(width - doweldist,oy + hole2dist, \
   oz +  thick / 2,1,0,0,dowelhole / 2,35)
   edgehole2b = cad.getlastobj()

   cad.cylinder(ox + hole3dist,oy + doweldist, \
   oz + thick - camdepth,camhole / 2,camdepth * 2)
   hole3 = cad.getlastobj()

   cad.directedcylinder(ox + hole3dist,oy + doweldist, \
   oz + thick / 2,0,-1,0,dowelhole / 2,35)
   edgehole3 = cad.getlastobj()

   cad.cylinder(width - hole3dist,oy + doweldist, \
   oz + thick - camdepth,camhole / 2,camdepth * 2)
   hole3b = cad.getlastobj()

   cad.directedcylinder(width - hole3dist,oy + doweldist, \
   oz +  thick / 2,0,-1,0,dowelhole / 2,35)