RE: Using python for a CAD program

2007-05-29 Thread George, Harry G
l Message- > From: Dan Fabrizio [mailto:[EMAIL PROTECTED] > Sent: Saturday, May 26, 2007 3:46 PM > To: python-list@python.org; George, Harry G > Subject: Using python for a CAD program > > Hello, > > I saw your post from last year about using python for a EE > CAD pr

Using python for a CAD program

2007-05-26 Thread Dan Fabrizio
Hello, I saw your post from last year about using python for a EE CAD program. What were your conclusions? I'm thinking about converting a Java CAD program I developed to Python with wxPython and C. I want to use C for the database storage and manipulation and wxPython for the GUI and user scrip

Re: Using python for a CAD program

2006-05-24 Thread Paddy
I guess the 'advanced O/R mapping tools' make it easier to map the data to an RDBMS, but their is still the performance issue. Since this has degenerated into a an issue of performance then I suggest the original poster create a clear interface between his data and its persistance method. This shou

Re: Using python for a CAD program

2006-05-24 Thread baalbek
David Cuthbert wrote: > baalbek wrote: > >> David Cuthbert wrote: >> >>> This does not mean the design itself should be stored as an RDBMS. >>> As I've stated previously, CAD data (both electrical and, it appears, >>> mechanical) does not lend itself to RDBMS relationship modeling. >> >> >> I s

Re: Using python for a CAD program

2006-05-24 Thread baalbek
Paddy wrote: > Hi Baalbek, > Athouh they are database editors, they are not relational database > editors. Relational database engines fit some type of problems but > others have found that RDBMS don't fit CAD data. They are just too slow > and add complexity in mapping the 'natural CAD data format

Re: Using python for a CAD program

2006-05-23 Thread Paddy
baalbek wrote: > David Cuthbert wrote: > > > This does not mean the design itself should be stored as an RDBMS. As > > I've stated previously, CAD data (both electrical and, it appears, > > mechanical) does not lend itself to RDBMS relationship modeling. > > I simply do not agree with this. > > A

Re: Using python for a CAD program

2006-05-23 Thread Redefined Horizons
This is a very interesting discussion. :]   I regularly use CAD and GIS programs at work, and have dabbled in traditional RDBMS design. I ran into a problem with an open source GIS program I work with, that reads all features in a shapefile into memory. This limits the use of the program, given the

Re: Using python for a CAD program

2006-05-22 Thread David Cuthbert
baalbek wrote: > David Cuthbert wrote: >> This does not mean the design itself should be stored as an RDBMS. As >> I've stated previously, CAD data (both electrical and, it appears, >> mechanical) does not lend itself to RDBMS relationship modeling. > > I simply do not agree with this. > > A C

Re: Using python for a CAD program

2006-05-22 Thread baalbek
David Cuthbert wrote: > This does not mean the design itself should be stored as an RDBMS. As > I've stated previously, CAD data (both electrical and, it appears, > mechanical) does not lend itself to RDBMS relationship modeling. I simply do not agree with this. A CAD program (like Autocad) i

Re: Using python for a CAD program

2006-05-22 Thread David Cuthbert
baalbek wrote: > No, concurrent access is highly relevant; for example, on a team of > about 50 architects working on design and production drawings for a new > hospital, each floor was one 'drawing' (dwg file), and thus stored on > disk as a separate entity from the other floors. > > Now, only

Re: Using python for a CAD program

2006-05-21 Thread baalbek
David Cuthbert wrote: > Some kind of transactionality is needed for undo/redo, but this is > usually done in a different (some might say "more efficient", others > might say "hackier") method than how transactions are implemented for > RDBMS (that I've dealt with, anyway). I suspect this can be

Re: Using python for a CAD program

2006-05-21 Thread Mike C. Fletcher
[EMAIL PROTECTED] wrote: > Thanks for this. I'm enjoying this discussion and I'm learning a lot > about people's views and how they differ from mine. > > However, I'm still wondering about my original post. > > Can the experts please comment on python's usage for the following: > > 1. Databases.

Re: Using python for a CAD program

2006-05-20 Thread David Cuthbert
Terry Hancock wrote: > I disagree that transactions are bad for CAD -- they may have > a different semantic role and the needed granularity may be > different, but the need to roll data back to an earlier revision > is just as present in drawings as it is for code or financial > transactions. Sure

Re: Using python for a CAD program

2006-05-18 Thread Terry Hancock
David Cuthbert wrote: >baalbek wrote: > > >>CAD systems available today (Autocad, Archicad, Architectural Desktop, >>etc) have one huge flaw: they don't store data to a SQL database, but to >>binary files. >> >> > >There's a reason for this. Most CAD data is not in a form (First Normal >

Re: Using python for a CAD program

2006-05-18 Thread David Cuthbert
Paddy wrote: > Unfortunately, Cadence got their first with their DFII environment for > Schematic based design and their Lisp based language SKILL Well, SKILL (a Franz Lisp derivative) is very old and has some peculiar design quirks. Interfacing with anything not written by Cadence or not writt

Re: Using python for a CAD program

2006-05-18 Thread David Cuthbert
baalbek wrote: > CAD systems available today (Autocad, Archicad, Architectural Desktop, > etc) have one huge flaw: they don't store data to a SQL database, but to > binary files. There's a reason for this. Most CAD data is not in a form (First Normal Form) suitable for a relational database.

Re: Using python for a CAD program

2006-05-17 Thread skip
>> 1. Databases. Assuming I roll my own, does python have any >> performance issues for this sort of thing? Most databases are written in a compiled language (gadfly being an exception). Even so, in my apps that use databases (mostly SQL-based), the database is the bottleneck, not

Re: Using python for a CAD program

2006-05-17 Thread 63q2o4i02
Thanks for this. I'm enjoying this discussion and I'm learning a lot about people's views and how they differ from mine. However, I'm still wondering about my original post. Can the experts please comment on python's usage for the following: 1. Databases. Assuming I roll my own, does python h

Re: Using python for a CAD program

2006-05-17 Thread 63q2o4i02
Hi, Actually, I've wondered about using a custom-rolled binary or text-based database, vs. something that uses the OpenEDA standard, vs a 'real' database like sql. I guess my impression is that something like SQL is not designed for something as multi-... uh, dimensional? as an EE design. Perhap

Re: Using python for a CAD program

2006-05-17 Thread Brendan
On 17-May-06, at 6:33 AM, comp.lang.python group wrote: >>I'd like my program >>to *look* slick, like it belongs in a movie or something. I think that >>means starting from scratch, since I've not seen any CAD program >>take >>any artistic/human/psychological approach to its design. >That *is* t

Re: Using python for a CAD program

2006-05-17 Thread Frithiof Andreas Jensen
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Cool. thanks for the links. I've already looked around quite a bit, > and am very hesitant to just write more shit on top of other shit. All software suck. If you think that yours will not then: a) you are a narcissist b) you are the

Re: Using python for a CAD program

2006-05-16 Thread Ben Finney
baalbek <[EMAIL PROTECTED]> writes: > If you really want to revolutionize the CAD business, PLEASE don't > base your CAD system on a file based system (ala Autocad). > > CAD systems available today (Autocad, Archicad, Architectural > Desktop, etc) have one huge flaw: they don't store data to a SQ

Re: Using python for a CAD program

2006-05-16 Thread baalbek
> 1. Databases. I don't mean sql type database, but design databases, If you really want to revolutionize the CAD business, PLEASE don't base your CAD system on a file based system (ala Autocad). CAD systems available today (Autocad, Archicad, Architectural Desktop, etc) have one huge flaw: t

Re: Using python for a CAD program

2006-05-16 Thread Grant Edwards
On 2006-05-16, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Yes, I figured I should be pretty expert at what's out there > first before redoing something and making in inferior to the > existing solution. Eagle from Cadsoft.de is a pretty decent (and free for educational/hobby use) integrated s

Re: Using python for a CAD program

2006-05-16 Thread 63q2o4i02
Yes, I figured I should be pretty expert at what's out there first before redoing something and making in inferior to the existing solution. I took a quick peek at cadence courses, and they're out of my personal price range. I have a new job coming up which should lead into IC design after some t

Re: Using python for a CAD program

2006-05-16 Thread Hannu Krosing
Ühel kenal päeval, E, 2006-05-15 kell 23:49, kirjutas [EMAIL PROTECTED]: > 2. GUI. Yes, I know you can do guis with qt, gtk, tkinter, etc. I'm > talking of fancy guis that do alpha blending, animations, nice > shading/gradients, etc. in a quick, smooth, and slick way, such that > moving a scrol

Re: Using python for a CAD program

2006-05-16 Thread skip
Someone anonymous wrote: >> Cool. thanks for the links. I've already looked around quite a bit, >> and am very hesitant to just write more shit on top of other shit. That seems like a gratuitously unkind way to refer to tools you haven't tried. Have you checked out PythonCAD?

Re: Using python for a CAD program

2006-05-16 Thread Paddy
Unfortunately, Cadence got their first with their DFII environment for Schematic based design and their Lisp based language SKILL (http://www-mtl.mit.edu/users/xiaolin/skill/sklanguser/sklanguserTOC.html) I used their environment several years ago and can only say that it was all you have stated a

Re: Using python for a CAD program

2006-05-16 Thread 63q2o4i02
Cool. thanks for the links. I've already looked around quite a bit, and am very hesitant to just write more shit on top of other shit. The idea behind this is it's completely mine. So yes, I have a tendency to want to reinvent a few wheels, but I think it'll give me greater satisfaction. The pr

Re: Using python for a CAD program

2006-05-16 Thread skip
Someone in hiding wrote: > Hi, I'm interested in using python to start writing a CAD program for > electrical design. Google for PythonCAD. Skip -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python for a CAD program

2006-05-16 Thread Harry George
[EMAIL PROTECTED] writes: > Hi, I'm interested in using python to start writing a CAD program for > electrical design. I just got done reading Steven Rubin's book, I've > used "real" EDA tools, and I have an MSEE, so I know what I *want* at > the end of this; I just have never taken on a programm

Re: Using python for a CAD program

2006-05-16 Thread BartlebyScrivener
Art Haas posts from time to time regarding a program called PythonCad that he maintains: http://tinyurl.com/o36t8 Also, here is a search of this forum on "Cad": http://tinyurl.com/nuobe -- http://mail.python.org/mailman/listinfo/python-list

Using python for a CAD program

2006-05-15 Thread 63q2o4i02
Hi, I'm interested in using python to start writing a CAD program for electrical design. I just got done reading Steven Rubin's book, I've used "real" EDA tools, and I have an MSEE, so I know what I *want* at the end of this; I just have never taken on a programming task of this magnitude. I've s