From richley at onion-switch.com Tue Dec 5 05:10:09 2006 From: richley at onion-switch.com (Ed Richley) Date: Mon, 04 Dec 2006 23:10:09 -0500 Subject: [PythonCAD] latest version Message-ID: <200612050410.kB54A9Bu027323@lodge.onion-switch.com> I must say, it's been a while since I used PythonCAD, and it seems to be much improved. I did wonder, though, about the file "Save As" feature. It seems to generate the following: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/PythonCAD/Interface/Gtk/gtkmenus.py", line 345, in file_save_as_cb _fname = gtkimage.getFilename() AttributeError: 'GTKImage' object has no attribute 'getFilename' and doesn't prompt for a file name. Is it busted, or am I doing something wrong? Thanks. Ed From ahaas at airmail.net Tue Dec 5 16:46:47 2006 From: ahaas at airmail.net (Art Haas) Date: Tue, 5 Dec 2006 09:46:47 -0600 Subject: [PythonCAD] [PATCH] Make 'Save As' work again Message-ID: <20061205154647.GC1107@artsapartment.org> Hi. The small patch below fixes the 'Save As' menu. Oops ... Index: PythonCAD/Interface/Gtk/gtkmenus.py =================================================================== --- PythonCAD/Interface/Gtk/gtkmenus.py (revision 2654) +++ PythonCAD/Interface/Gtk/gtkmenus.py (revision 2655) @@ -342,7 +342,7 @@ #------------------------------------------------------------ def file_save_as_cb(menuitem, gtkimage): - _fname = gtkimage.getFilename() + _fname = gtkimage.image.getFilename() if _fname is None: _fname = gtkimage.getWindow().get_title() _get_filename_and_save(gtkimage, _fname) Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ynd at lntenc.com Wed Dec 6 18:00:47 2006 From: ynd at lntenc.com (Yagnesh Desai) Date: Wed, 6 Dec 2006 22:30:47 +0530 Subject: [PythonCAD] Installing on MEPIS Message-ID: I am new to LINUX with just 2 Months into it hence please pardon my queries if they are already answered. (I tried to search the pythoncad group but without search facility like one in google groups its difficult. I am using MEPIS - (Debian/ubuntu), I have installed the pythonCAD by downloading pythoncad_0.1.26-1_all.deb there were some conflict while installing this and after some of few more package download I could resolve the conflict. Now as per the installation procedure in the www.pythoncad.org I tried to look for the gtkpycad.py but failed. Then I downloaded PythonCAD-DS1-R34.tar.bz.tar, PythonCAD-DS1-R34.tar.bz2.tar & PythonCAD-DS1-R34.tar.tar (pardon my ignorance as I did not know what would be good for me) I extracted files from PythonCAD-DS1-R34.tar.bz.tar and then run the $ python setup.py install $ cp gtkpycad.py /usr/local/bin # this line gave me error that the location does not exist. Which is true. Now I tried $ python gtkpycad.py from the directory which this file stays and the CAD environment is started now I have confusion if it is the fully featured version or it is that part of the modules which are operational. I have read that there is some problem with the debian type LINUX. Is it the same thing. Please guide me. I have already started learing PYTHON From ahaas at airmail.net Fri Dec 8 23:00:51 2006 From: ahaas at airmail.net (Art Haas) Date: Fri, 8 Dec 2006 16:00:51 -0600 Subject: [PythonCAD] New updates at repo Message-ID: <20061208220051.GB1856@artsapartment.org> Hi. I've been sending various updates to the public repo over the last couple of days. The new code is primarily used to set the multitude of options in an Image, plus a few small tweaks and bug fixes are also in the lot. If you go to the 'Draw'->'Set' menu you'll see new menu choices for controlling the settings in an Image. At long last the ability to select and change the current TextStyle and DimStyle in an Image are available in the interface. Also, several options that were missing from the preference dialog are now presented. I'll be making more changes this weekend, and then Monday I'll be away for a couple of days. The next release should appear the following week. Famous last words ... Art -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ahaas at airmail.net Sun Dec 10 23:16:58 2006 From: ahaas at airmail.net (Art Haas) Date: Sun, 10 Dec 2006 16:16:58 -0600 Subject: [PythonCAD] New updates at repo and preferences changes Message-ID: <20061210221658.GA30307@artsapartment.org> Hi. The likely final updates before the next release are at the repo. People using Subversion can do an 'svn update' and get them. The bit in the subject about 'preference changes' deals with how the data in the 'Edit'->'Preferences' dialog is handled. Previously the values would be applied to the Image within the window where the menu was called from. Now, the changes are kept in the 'globals.prefs' variable, but they are not applied to the active Image. Also, when you click the 'OK' button in the preference dialog, a file storing the preference settings is saved to ${HOME}/.pythoncad/prefs.py, so the next time you start PythonCAD you preferences are reloaded and used again. A standing complaint with PythonCAD in that the preferences are lost when the program is closed is now resolved. Yay! I'll be gone for this week, and early next week the release will be made and the websited updated. Subsequent releases will work on improving the preferences dialog as well as other control of Image option settings. Art -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ynd at lntenc.com Sun Dec 17 10:32:18 2006 From: ynd at lntenc.com (Yagnesh Desai) Date: Sun, 17 Dec 2006 15:02:18 +0530 Subject: [PythonCAD] I tried it and am surprised Message-ID: Friends; I have tried the python cad and am surprised with the functionalities of it. It seems to be in very good direction. Is there a documentation project for the pythoncad. . ? I also wanted to know the direction the pythoncad would take for the future . . . ie will there be 3D objects incorporated in it or any .dwg and .dgn support There are basic functions available in it while I miss the Snapping part a lot. I am trying my hands at python while no books are available in my city I am depending on the online resources. I am a bit used to VB and earlier used FORTRAN. Can anyone tell what part would be of much help in pythoncad project. Yagnesh From elecnic at comcast.net Sun Dec 17 22:31:48 2006 From: elecnic at comcast.net (NickW) Date: Sun, 17 Dec 2006 13:31:48 -0800 Subject: [PythonCAD] PythonCAD Digest 3D References: Message-ID: <4585B743.1F166F98@comcast.net> >I also wanted to know the direction the pythoncad would take >for the future . . . ie will there be 3D objects incorporated in it or any .dwg and .dgn support That is a plan. I've run this program, autocad, casmate, beta pagemaker with rotating line input formats and another auto design prog. I know it's possible and the steps following acceptance of deliverables is crucial to answering your question. Tooling is another challenge that will likely take form outside pythoncad but fits with its goals. What if you have a program that makes tool call outs, for example, and run cnc? I've asked Art Haas about this -- no response. I'm in the engine block, dimensioning & tolerances and rocket science group. We are open source. >There are basic functions available in it while I miss the Snapping >part a lot. Do you mean snap to a straight line or bezier curve? When crafting lines in the operating environment I believe line and curve are two actions following generation of a routine. Its job is to accept input, plot and report x and y where you're shaping or cutting. I'm in the West. Oregon, USA. Are you from the Middle East or India, sir? Nick From ahaas at airmail.net Mon Dec 18 02:00:45 2006 From: ahaas at airmail.net (Art Haas) Date: Sun, 17 Dec 2006 19:00:45 -0600 Subject: [PythonCAD] PythonCAD Digest 3D In-Reply-To: <4585B743.1F166F98@comcast.net> References: <4585B743.1F166F98@comcast.net> Message-ID: <20061218010045.GA1836@artsapartment.org> On Sun, Dec 17, 2006 at 01:31:48PM -0800, NickW wrote: > >I also wanted to know the direction the pythoncad would take > >for the future . . . ie will there be 3D objects incorporated > in it or any .dwg and .dgn support > > That is a plan. I've run this program, autocad, casmate, beta pagemaker > with rotating line input formats and another auto design prog. I know > it's possible and the steps following acceptance of deliverables is > crucial to answering your question. Hi. Right now I'm still concentrating on getting the basic 2-D functionality working, so for the immediate future I'm not planning to try and add 3-D functionality. I believe the program currently has a number of design limitations that would need resolving before a move to 3-D could be attempted. I definitely want PythonCAD to handle DWG and DXF files; I don't know what '.dgn' is but I'll guess another AutoCAD file format. > Tooling is another challenge that will likely take form outside > pythoncad but fits with its goals. What if you have a program that makes > tool call outs, for example, and run cnc? I've asked Art Haas about this > -- no response. Sorry about that. Extending PythonCAD to handle CNC machining would be an incredible feature, but it is one I will definitely need outside help in achieving. One possible approach is to add menus/dialogs that are site-specific and loaded when the program starts. I've always envisioned the program to have this level of customizability similar in the way that people have extended XEmacs/Emacs and the various lisp-based addons for AutoCAD. > I'm in the engine block, dimensioning & tolerances and rocket science > group. We are open source. Neat. > >There are basic functions available in it while I miss the Snapping > >part a lot. PythonCAD will automatically connect to points in a layer, and I'd like to add feature like snapping to segment midpoints and other useful snap-to destinations. What does 'snapping part' do? > Do you mean snap to a straight line or bezier curve? When crafting lines > in the operating environment I believe line and curve are two actions > following generation of a routine. Its job is to accept input, plot and > report x and y where you're shaping or cutting. One drawing entity I started working on was a NURBS entity for providing nice smooth curves but things got bogged down. There is code in PythonCAD right now for an Ellipse entity but no means of creating such an entity or drawing it. Eventually both of these entities will be in the program. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ahaas at airmail.net Mon Dec 18 02:39:02 2006 From: ahaas at airmail.net (Art Haas) Date: Sun, 17 Dec 2006 19:39:02 -0600 Subject: [PythonCAD] Installing on MEPIS In-Reply-To: References: Message-ID: <20061218013902.GB1836@artsapartment.org> On Wed, Dec 06, 2006 at 10:30:47PM +0530, Yagnesh Desai wrote: > > I am new to LINUX with just 2 Months into it hence please pardon > my queries if they are already answered. (I tried to search the > pythoncad group but without search facility like one in google groups > its difficult. Hi. > I am using MEPIS - (Debian/ubuntu), I have installed the > pythonCAD by downloading pythoncad_0.1.26-1_all.deb > there were some conflict while installing this and > after some of few more package download I could resolve > the conflict. I would hope that there is a more recent '.deb' package for PythonCAD than the one listed above. > Now as per the installation procedure in the www.pythoncad.org > I tried to look for the gtkpycad.py but failed. > > Then I downloaded PythonCAD-DS1-R34.tar.bz.tar, > PythonCAD-DS1-R34.tar.bz2.tar & PythonCAD-DS1-R34.tar.tar > > (pardon my ignorance as I did not know what would be good for me) > > I extracted files from PythonCAD-DS1-R34.tar.bz.tar and then run the > > $ python setup.py install > $ cp gtkpycad.py /usr/local/bin If you performed the step above as a non-root user then most likely nothing was installed as the two steps above often require the ability to install files in locations that only the administrator can control. > # this line gave me error that the location does not exist. Which is true. > > Now I tried > > $ python gtkpycad.py > from the directory which this file stays and the CAD environment is started > now I have confusion if it is the fully featured version or it is that part > of the modules which are operational. It should be running the program just as if it was installed. I'd slightly change your command you typed above to the following, though: $ python ./gtkpycad.py By prepending the './' you will ensure the 'gtkpycad.py' file in the current directory is the one that is executed. > I have read that there is some problem with the debian type LINUX. Is it > the same thing. I run Debian on my main machine, so there is no problem running PythonCAD on Debian itself. I'm not familiar with MEPIS so I don't know what to look for if PythonCAD does not run correctly there. > Please guide me. > I have already started learing PYTHON Learning Python is a great way to help in PythonCAD development, plus you can write all sorts of other scripts/programs/utilities that make using your machine more pleasant, easier, and faster. Feel free to write for answers to problems you encounter, and sorry about taking so long to reply. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ahaas at airmail.net Mon Dec 18 02:59:54 2006 From: ahaas at airmail.net (Art Haas) Date: Sun, 17 Dec 2006 19:59:54 -0600 Subject: [PythonCAD] PythonCAD Digest 3D In-Reply-To: <63869.24.145.128.21.1166405820.squirrel@studioa.org> References: <4585B743.1F166F98@comcast.net> <20061218010045.GA1836@artsapartment.org> <63869.24.145.128.21.1166405820.squirrel@studioa.org> Message-ID: <20061218015954.GD1836@artsapartment.org> On Sun, Dec 17, 2006 at 08:37:00PM -0500, Adrian Crisan wrote: > Hi, > > .dgn is Microstation format. Thanks for the info. Is there any publically available docomentation on this format? > Would be really nice if PythonCAD would do 3D!!! Indeed it would. Writing a 2-D drafting package has been challenging enough; 3-D would be harder still. The trivial matter of adding a 'z' coordinate to a Point entity is probably the first and easiest step in moving to 3-D. The next step would probably be to add some sort of solid entity classes - cubes, spheres, cones, etc, plus some sort of generic solid shape with arbitrary edges and faces. Coding the routines to control these objects would most likely be very complex, plus the code needed to do the drawing on the screen could or would almost certainly depend on OpenGL or some other 3-D graphics manipulation library. People interested in pursuing this path can always feel free to send patches ... :-) Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ahaas at airmail.net Mon Dec 18 04:03:46 2006 From: ahaas at airmail.net (Art Haas) Date: Sun, 17 Dec 2006 21:03:46 -0600 Subject: [PythonCAD] I tried it and am surprised In-Reply-To: References: Message-ID: <20061218030346.GE1836@artsapartment.org> On Sun, Dec 17, 2006 at 03:02:18PM +0530, Yagnesh Desai wrote: > > Friends; > > I have tried the python cad and am surprised with the > functionalities of it. It seems to be in very good direction. Thanks. > Is there a documentation project for the pythoncad. . ? No, and the lack of documentation is a longstanding problem I would love to see addressed. > I also wanted to know the direction the pythoncad would take > for the future . . . ie will there be 3D objects incorporated > in it or any .dwg and .dgn support This question was touched upon in another mailing, but the short answer is PythonCAD will be 2-D for a while still, and I'd like to get DWG support into the program. > There are basic functions available in it while I miss the Snapping > part a lot. > > I am trying my hands at python while no books are available in my > city I am depending on the online resources. I am a bit used to VB > and earlier used FORTRAN. The Python homepage will be of great use to you as the site contains sample code, FAQ, links to other Python sites, etc. http://www.python.org/ > Can anyone tell what part would be of much help in pythoncad project. Documentation would be great, especially a users guide. Somewhere I have some tutorial docs that I was mailed and I would like to post them on the website. Documenting the various classes/methods available in the program would be beneficial to developers. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ynd at lntenc.com Mon Dec 18 05:14:24 2006 From: ynd at lntenc.com (Yagnesh Desai) Date: Mon, 18 Dec 2006 09:44:24 +0530 Subject: [PythonCAD] PythonCAD Digest 3D Message-ID: Nick; >That is a plan. I've run this program, autocad, casmate, beta pagemaker >with rotating line input formats and another auto design prog. I know >it's possible and the steps following acceptance of deliverables is >crucial to answering your question. My english is inferior club it with the lack of software orientation and I am not able to make out "the steps following acceptance of deliverables is crucial to answering your question" but you said its possible thats great. By the way I have used IDEAS, SolidEdge, AutoCAD and Microstation. Considering the easy availability of skilled people AutoCAD is a norm in CADROOM in our office. >Tooling is another challenge that will likely take form outside >pythoncad but fits with its goals. What if you have a program that makes >tool call outs, for example, and run cnc? I've asked Art Haas about this >-- no response. I have seen ProE do this very efficiently. >I'm in the engine block, dimensioning & tolerances and rocket science >group. We are open source. I am with plant design and as said mainly work on AutoCAD. I new earlier CADrooms were mainly unix and now they are MsWindows, I wonder what your desktop would look like. (what all open source is installed on it) >>There are basic functions available in it while I miss the Snapping >>part a lot. > >Do you mean snap to a straight line or bezier curve? When crafting lines >in the operating environment I believe line and curve are two actions >following generation of a routine. Its job is to accept input, plot and >report x and y where you're shaping or cutting. By Sanpping part (my english adds part to snapping) I ment snapping my pointer to the "Intersection, Midopint, Endpoint, Perpendicular . . ." as used in AutoCAD. >I'm in the West. Oregon, USA. Are you from the Middle East or India, sir? >Nick I am from Gujarat, India and will be moving to Middle East next year. Yagnesh From ynd at lntenc.com Mon Dec 18 04:58:25 2006 From: ynd at lntenc.com (Yagnesh Desai) Date: Mon, 18 Dec 2006 09:28:25 +0530 Subject: [PythonCAD] I tried it and am surprised Message-ID: Dear Mr Art & Nick; Thanks for the reply, I am from India and mainly in Engineering Procurement and Construction. [Would surly like to see you guys] I quoted 3D as it will require PythonCAD's current version to have some features (Like you mentioned ading z co-ordinate) which can then further be used. Hence it will require to be in back of one's mind while making/acceptin any contributions. If there is no documentation project why not start a WIKI for the same. (Which can further compile to a documentation.) .dgn is a Microstation format and is very much used in the Plant Design Systems for process plants modeling I need to further check my pythonCAD installation and fine tune it a bit (after your reply) By the way there are a OpenDWG people do you interact with them. I heard they are good hackers of the .dwg and .dgn formats. (Ignore this if you are already on of them). Regards Yagnesh From dspeckhard at bcj.com Mon Dec 18 19:26:58 2006 From: dspeckhard at bcj.com (Doug Speckhard) Date: Mon, 18 Dec 2006 10:26:58 -0800 Subject: [PythonCAD] MicroStation .dgn format (was: PythonCAD Digest 3D) In-Reply-To: <20061218015954.GD1836@artsapartment.org> References: <4585B743.1F166F98@comcast.net> <20061218010045.GA1836@artsapartment.org> <63869.24.145.128.21.1166405820.squirrel@studioa.org> <20061218015954.GD1836@artsapartment.org> Message-ID: <4586DD72.6030500@bcj.com> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythoncad/attachments/20061218/213ccad1/attachment.html From ahaas at airmail.net Wed Dec 20 17:38:32 2006 From: ahaas at airmail.net (Art Haas) Date: Wed, 20 Dec 2006 10:38:32 -0600 Subject: [PythonCAD] [ANNOUNCE] Thirty-fifth release of PythonCAD now available Message-ID: <20061220163832.GC15224@artsapartment.org> Hi. I'm pleased to announce the thirty-fifth development release of PythonCAD, a CAD package for open-source software users. As the name implies, PythonCAD is written entirely in Python. The goal of this project is to create a fully scriptable drafting program that will match and eventually exceed features found in commercial CAD software. PythonCAD is released under the GNU Public License (GPL). PythonCAD requires Python 2.2 or newer. The interface is GTK 2.0 based, and uses the PyGTK module for interfacing to GTK. The design of PythonCAD is built around the idea of separating the interface from the back end as much as possible. By doing this, it is hoped that both GNOME and KDE interfaces can be added to PythonCAD through usage of the appropriate Python module. Addition of other PythonCAD interfaces will depend on the availability of a Python module for that particular interface and developer interest and action. The thirty-fifth release contains several improvements dealing with the storage and adjustment of user preferences and image settings. The global user preferences are now saved into a file kept in the user home directory, so the settings are now preserved between PythonCAD sessions. Individual drawing settings can be examined and adjusted via a new set of menus and dialogs. These new dialogs are more complete than the single dialog previously used as well as easier to use. In addition to the preference and setting changes, a variety of bug fixes and miscellaneous code improvements are also present in this new release. A mailing list for the development and use of PythonCAD is available. Visit the following page for information about subscribing and viewing the mailing list archive: http://mail.python.org/mailman/listinfo/pythoncad Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ahaas at airmail.net Wed Dec 20 18:01:53 2006 From: ahaas at airmail.net (Art Haas) Date: Wed, 20 Dec 2006 11:01:53 -0600 Subject: [PythonCAD] [ANNOUNCE] Thirty-fifth release of PythonCAD now available In-Reply-To: <20061220163832.GC15224@artsapartment.org> References: <20061220163832.GC15224@artsapartment.org> Message-ID: <20061220170153.GD15224@artsapartment.org> Hi again. In addition to the thirty-fifth release of PythonCAD finally seeing the light of day, the PythonCAD website was given a long overdue makeover. I'd like to thank Jose Antonio Martin for doing the stylesheet and artwork. The new look is an vast improvement from the plain text layout the site has always had. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From jantonio.martin at gmail.com Wed Dec 20 21:17:07 2006 From: jantonio.martin at gmail.com (=?ISO-8859-1?Q?Jos=E9_Antonio_Mart=EDn_Prieto?=) Date: Wed, 20 Dec 2006 21:17:07 +0100 Subject: [PythonCAD] About the website and documentation Message-ID: Hi, making the new design for the pythoncad website was only a temporary measure to dress with some color the old site. I think that the next step should be giving the website more life and activity. Instead of editing the html files in the repo, I would use a CMS. Maybe we can use some simple blogging system like "Wordpress" (I think this is a good option) or something more powerful like "Joomla" or "Drupal". Moreover, I like the idea of Yagnesh about using a Wiki to provide the project a useful documentation. We could use something simple like "Docuwiki" or something more powerful like "Mediawiki". If you like these ideas, I will work on them. As I made with the website design, I can install some samples and proposals in my server so that we can talk about it. Also, I would like to know whether in the server where pythoncad.org is hosted we could install such systems. If not, maybe we could look for some free hosting for open source projects or look for donations. Regards, Jose Antonio P.S. I think that the last version of the logo (you can see it in http://lakamarilla.no-ip.com/~martinp/pythoncad/images/pythoncad_logo.png) is better than the current one. I changed it following the suggestions of somebody in this list. I don't know if you (Art) have used the first one because you prefer it or because you don't had the last one. -- "In a world without frontiers, who needs Gates and Windows? From ynd at lntenc.com Thu Dec 21 06:39:25 2006 From: ynd at lntenc.com (Yagnesh Desai) Date: Thu, 21 Dec 2006 11:09:25 +0530 Subject: [PythonCAD] So many CADs on python . . ! Message-ID: Friends; I was of opinion that there are many developers working on similar Opensource projects which leads to the effect what I call "Everyone Inventing The Wheel". Following seems to prove it (As I see it pardon me if it is objectionable) While going through the CAD applications listed at Linux.org I found that there are following CAD programs listed which are with GPL (while some are also in python) CADvas (2D CAD on python) Fandango (Python Scripted 3D CAD) FreeCAD (3D Cad with macro recording) FREEdraft (2D mechanical cad project) Lx-Viewer (viewer which can open DWG format) QCad SagCAD ThanCad (2dimensional cad) Z88 (Finite elements Analysis) [this is something a quite different] I was thinking if someone have tried them and compared them with PythonCAD. Now I get confused which is the right one to use and contribute to . . . [I am still with PythonCAD for a while] Yagnesh From jantonio.martin at gmail.com Fri Dec 22 13:19:29 2006 From: jantonio.martin at gmail.com (=?ISO-8859-1?Q?Jos=E9_Antonio_Mart=EDn_Prieto?=) Date: Fri, 22 Dec 2006 13:19:29 +0100 Subject: [PythonCAD] Pythoncad wiki Message-ID: Hi everybody, I have set up a wiki in my server for the pythoncad project. My purpose is that you all can test it and write some initial documentation for the project. The wiki software is dokuwiki (http://wiki.splitbrain.org/wiki:dokuwiki) and, at this moment, the appearance and configuration are the default ones, with some tweaking. I will change it in the next days. You can see and test the pythoncad wiki in http://morgul.no-ip.com/dokuwiki Currently, no registration is required for creating or editing the pages, so feel free to change whatever you want. For questions and proposals, you can use this list, although I suggest that you also edit the page http://morgul.no-ip.com/dokuwiki/doku.php?id=wiki_development (only for subjects about the wiki). Notice that the wiki is hosted in my pc and sometimes it can be a bit slow. The pc is running almost 24/7. Regards, Jos? Antonio Mart?n -- "In a world without frontiers, who needs Gates and Windows? From ynd at lntenc.com Fri Dec 22 18:40:39 2006 From: ynd at lntenc.com (Yagnesh Desai) Date: Fri, 22 Dec 2006 23:10:39 +0530 Subject: [PythonCAD] Pythoncad wiki Message-ID: Just what Doctor asked for . . . ! In fact I have already started learning from it. From ahaas at airmail.net Fri Dec 22 19:36:56 2006 From: ahaas at airmail.net (Art Haas) Date: Fri, 22 Dec 2006 12:36:56 -0600 Subject: [PythonCAD] Pythoncad wiki In-Reply-To: References: Message-ID: <20061222183656.GB29023@artsapartment.org> On Fri, Dec 22, 2006 at 01:19:29PM +0100, Jos? Antonio Mart?n Prieto wrote: > Hi everybody, > I have set up a wiki in my server for the pythoncad project. My > purpose is that you all can test it and write some initial > documentation for the project. > > [ ... snip ... ] Thanks for doing this! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ynd at lntenc.com Sun Dec 24 08:50:29 2006 From: ynd at lntenc.com (Yagnesh Desai) Date: Sun, 24 Dec 2006 13:20:29 +0530 Subject: [PythonCAD] Pythoncad wiki Message-ID: I have downloaded the dokuwiki and installed it on my Laptop. Its just great this open thing is too great there is hardly any similar option available on asp . . NE way I posted this message to say that for initial documentation I can make a part of it in my laptop with wiki alreadt installed and sent the .txt files which would be beter considering I can not stay online for typing the documentation online on the wiki . . . Just a thought. We also need to distribute among ourselves independent segments of documentation and work on them so that the PythonCAD wiki alpha atleast gets a paragraph each under all possible titles. Yagnesh From jantonio.martin at gmail.com Sun Dec 24 11:00:49 2006 From: jantonio.martin at gmail.com (=?ISO-8859-1?Q?Jos=E9_Antonio_Mart=EDn_Prieto?=) Date: Sun, 24 Dec 2006 11:00:49 +0100 Subject: [PythonCAD] Pythoncad wiki In-Reply-To: References: Message-ID: On 12/24/06, Yagnesh Desai wrote: > I have downloaded the dokuwiki and installed it on my > Laptop. Its just great this open thing is too great there > is hardly any similar option available on asp . . There are even more powerful free (libres) and open source wikis, such as wikimedia, for example. > NE way I posted this message to say that for initial > documentation I can make a part of it in my laptop with > wiki alreadt installed and sent the .txt files which would be > beter considering I can not stay online for typing the documentation > online on the wiki . . . In fact, you can write the texts in your laptop and then copy & paste these texts in the wiki. Any help will be welcome. > > Just a thought. > > We also need to distribute among ourselves independent segments of > documentation and work on them so that the PythonCAD wiki alpha atleast > gets a paragraph each under all possible titles. I don't agree with this idea. One of the advantages of a wiki is that anybody can collaborate at any time, with any part of the documentation, without the need of organizing the work. I think that distributing this work would slow the documentation process. Regards, Jos? Antonio > > Yagnesh > > _______________________________________________ > PythonCAD mailing list > PythonCAD at python.org > http://mail.python.org/mailman/listinfo/pythoncad > -- "In a world without frontiers, who needs Gates and Windows? From ynd at lntenc.com Sun Dec 24 17:12:28 2006 From: ynd at lntenc.com (Yagnesh Desai) Date: Sun, 24 Dec 2006 21:42:28 +0530 Subject: [PythonCAD] Pythoncad wiki Message-ID: Yes Jos?, you have a point. . . -----pythoncad-bounces at python.org wrote: ----- To: pythoncad at python.org From: "Jos? Antonio Mart?n Prieto" Sent by: pythoncad-bounces at python.org Date: 12/24/2006 03:30PM Subject: Re: [PythonCAD] Pythoncad wiki On 12/24/06, Yagnesh Desai wrote: > I have downloaded the dokuwiki and installed it on my > Laptop. Its just great this open thing is too great there > is hardly any similar option available on asp . . There are even more powerful free (libres) and open source wikis, such as wikimedia, for example. > NE way I posted this message to say that for initial > documentation I can make a part of it in my laptop with > wiki alreadt installed and sent the .txt files which would be > beter considering I can not stay online for typing the documentation > online on the wiki . . . In fact, you can write the texts in your laptop and then copy & paste these texts in the wiki. Any help will be welcome. > > Just a thought. > > We also need to distribute among ourselves independent segments of > documentation and work on them so that the PythonCAD wiki alpha atleast > gets a paragraph each under all possible titles. I don't agree with this idea. One of the advantages of a wiki is that anybody can collaborate at any time, with any part of the documentation, without the need of organizing the work. I think that distributing this work would slow the documentation process. Regards, Jos? Antonio > > Yagnesh > > _______________________________________________ > PythonCAD mailing list > PythonCAD at python.org > http://mail.python.org/mailman/listinfo/pythoncad > -- "In a world without frontiers, who needs Gates and Windows? _______________________________________________ PythonCAD mailing list PythonCAD at python.orghttp://mail.python.org/mailman/listinfo/pythoncad From ynd at lntenc.com Mon Dec 25 05:00:35 2006 From: ynd at lntenc.com (Yagnesh Desai) Date: Mon, 25 Dec 2006 09:30:35 +0530 Subject: [PythonCAD] I Hope I am using Release 35 Message-ID: Hi I downloaded the PythonCAD R 35 and started it. Well this post I made is because there is no place on the GUI which tells me which version of PythonCAD I am using is it 34 or 35. . ? There might be some improvement in this regard. . . As you are aware that while using it on MEPIS I felt that some of the portion is not working well. Its command line which is not working. (I came to know this while reading the WIKI) This may be due to my lack of knowledge on how to setup other libs. From jantonio.martin at gmail.com Mon Dec 25 18:38:32 2006 From: jantonio.martin at gmail.com (=?ISO-8859-1?Q?Jos=E9_Antonio_Mart=EDn_Prieto?=) Date: Mon, 25 Dec 2006 18:38:32 +0100 Subject: [PythonCAD] Pythoncad wiki In-Reply-To: References: Message-ID: Hi, the testing phase of the pythoncad wiki is over. Please, feel free to add or edit any pages. I think there are two main goals in this wiki: 1) Writing a decent users documentation, so the users community can grow. 2) Writing a complete developers documentation, in order to help people to contribute to the project. I tried contributing to the pythoncad code in the past, but it was too difficult for me. Maybe with a decent documentation, more developers could join the project. I hope to see your changes in the wiki :) Regards, Jos? Antonio On 12/22/06, Jos? Antonio Mart?n Prieto wrote: > Hi everybody, > I have set up a wiki in my server for the pythoncad project. My > purpose is that you all can test it and write some initial > documentation for the project. > > The wiki software is dokuwiki > (http://wiki.splitbrain.org/wiki:dokuwiki) and, at this moment, the > appearance and configuration are the default ones, with some tweaking. > I will change it in the next days. > > You can see and test the pythoncad wiki in http://morgul.no-ip.com/dokuwiki > Currently, no registration is required for creating or editing the > pages, so feel free to change whatever you want. > > For questions and proposals, you can use this list, although I suggest > that you also edit the page > http://morgul.no-ip.com/dokuwiki/doku.php?id=wiki_development (only > for subjects about the wiki). > > Notice that the wiki is hosted in my pc and sometimes it can be a bit > slow. The pc is running almost 24/7. > > Regards, > Jos? Antonio Mart?n > > > -- > "In a world without frontiers, who needs Gates and Windows? > -- "In a world without frontiers, who needs Gates and Windows? From ahaas at airmail.net Tue Dec 26 14:36:26 2006 From: ahaas at airmail.net (Art Haas) Date: Tue, 26 Dec 2006 07:36:26 -0600 Subject: [PythonCAD] I Hope I am using Release 35 In-Reply-To: References: Message-ID: <20061226133626.GA1961@artsapartment.org> On Mon, Dec 25, 2006 at 09:30:35AM +0530, Yagnesh Desai wrote: > > Hi I downloaded the PythonCAD R 35 and started it. > > Well this post I made is because there is no place on the > GUI which tells me which version of PythonCAD I am using > is it 34 or 35. . ? > > There might be some improvement in this regard. . . True. Newer GTK releases offer an 'About Box' type widget that I should try to use. > As you are aware that while using it on MEPIS > I felt that some of the portion is not working well. > > Its command line which is not working. (I came to know > this while reading the WIKI) This may be due > to my lack of knowledge on how to setup other libs. There are only two options that are accepted, 'help' and 'version' plus shorter arguments 'h' and 'v', and the 'help' argument is basically just a placeholder still. What would you want a 'help' argument reply to be? Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ahaas at airmail.net Tue Dec 26 14:40:47 2006 From: ahaas at airmail.net (Art Haas) Date: Tue, 26 Dec 2006 07:40:47 -0600 Subject: [PythonCAD] About the website and documentation In-Reply-To: References: Message-ID: <20061226134047.GB1961@artsapartment.org> On Wed, Dec 20, 2006 at 09:17:07PM +0100, Jos? Antonio Mart?n Prieto wrote: > Hi, > making the new design for the pythoncad website was only a temporary > measure to dress with some color the old site. I think that the next > step should be giving the website more life and activity. Instead of > editing the html files in the repo, I would use a CMS. Maybe we can > use some simple blogging system like "Wordpress" (I think this is a > good option) or something more powerful like "Joomla" or "Drupal". > > Moreover, I like the idea of Yagnesh about using a Wiki to provide the > project a useful documentation. We could use something simple like > "Docuwiki" or something more powerful like "Mediawiki". > > If you like these ideas, I will work on them. As I made with the > website design, I can install some samples and proposals in my server > so that we can talk about it. > > Also, I would like to know whether in the server where pythoncad.org > is hosted we could install such systems. If not, maybe we could look > for some free hosting for open source projects or look for donations. I'm not sure if I can install Wiki software on the machine right now. The company who had been hosting the site is going offline and the site is being moved to another host, so once everything is on the new hosting machine I can see about installing Wiki stuff. > Regards, > Jose Antonio > > P.S. I think that the last version of the logo (you can see it in > http://lakamarilla.no-ip.com/~martinp/pythoncad/images/pythoncad_logo.png) > is better than the current one. I changed it following the suggestions > of somebody in this list. I don't know if you (Art) have used the > first one because you prefer it or because you don't had the last one. I used the logo that I had. Send me the 'pythoncad_logo.png' file and I'll change things up. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From knol at niwa.co.nz Mon Dec 25 09:35:47 2006 From: knol at niwa.co.nz (knol at niwa.co.nz) Date: Mon, 25 Dec 2006 21:35:47 +1300 (NZDT) Subject: [PythonCAD] Trouble after svn update Message-ID: <3287.203.211.73.231.1167035747.squirrel@secure.niwa.co.nz> I am having trouble running PythonCAD after today's SVN update: wk at asus:~/pythoncad$ gtkpycad.py Traceback (most recent call last): File "/usr/local/bin/gtkpycad.py", line 31, in ? pygtk.require('2.0') File "/usr/lib/python2.4/site-packages/pygtk.py", line 65, in require assert versions.has_key(version), \ AssertionError: required version '2.0' not found on system wk at asus:~/pythoncad$ It looks like PythonCAD wants version 2.0 of the gtk bindings for python. Installed are: wk at asus:~/pythoncad$ dpkg --list | grep gtk | grep python ii python-gtk-1.2 0.6.12-7 GTK support module for Python ii python2.3-gtk2 2.8.2-3 Python bindings for the GTK+ widget set wk at asus:~/pythoncad$ (apologies for the poor line wrapping) Wilbert. From ahaas at airmail.net Tue Dec 26 17:29:54 2006 From: ahaas at airmail.net (Art Haas) Date: Tue, 26 Dec 2006 10:29:54 -0600 Subject: [PythonCAD] Trouble after svn update In-Reply-To: <3287.203.211.73.231.1167035747.squirrel@secure.niwa.co.nz> References: <3287.203.211.73.231.1167035747.squirrel@secure.niwa.co.nz> Message-ID: <20061226162954.GA12106@artsapartment.org> On Mon, Dec 25, 2006 at 09:35:47PM +1300, knol at niwa.co.nz wrote: > I am having trouble running PythonCAD after today's SVN update: > > wk at asus:~/pythoncad$ gtkpycad.py > Traceback (most recent call last): > File "/usr/local/bin/gtkpycad.py", line 31, in ? > pygtk.require('2.0') > File "/usr/lib/python2.4/site-packages/pygtk.py", line 65, in require > assert versions.has_key(version), \ > AssertionError: required version '2.0' not found on system > wk at asus:~/pythoncad$ > > It looks like PythonCAD wants version 2.0 of the gtk bindings for python. > Installed are: > > wk at asus:~/pythoncad$ dpkg --list | grep gtk | grep python > ii python-gtk-1.2 0.6.12-7 GTK > support module for Python > ii python2.3-gtk2 2.8.2-3 > Python bindings for the GTK+ widget set > wk at asus:~/pythoncad$ > Hi. There have not been any changes lately to the PyGTK/Gtk requirements for PythonCAD. In fact, the "pygtk.require('2.0')" line has been in the code for quite a long time. I'm guessing there is some issue with the PyGTK installations on your machine. I also run Debian and on my machine typing the command above I get the following results: $ dpkg --list | grep gtk | grep python ii python-gtk2 2.8.6-8 Python bindings for the GTK+ widget set I'm using Debian unstable. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 From ahaas at airmail.net Tue Dec 26 23:55:25 2006 From: ahaas at airmail.net (Art Haas) Date: Tue, 26 Dec 2006 16:55:25 -0600 Subject: [PythonCAD] [PATCH] Fix typos in 'preferences.py' file Message-ID: <20061226225525.GB12106@artsapartment.org> Hi. The patch below fixes errors setting the preferences for the dimension position and endpoint types when being read back from the 'prefs.py' file. This fix and a few other changes will appear at the repo shortly; I thought sending the patch out would help people not pulling the code via Subversion. Wish I'd caught this before the release went out last week ... Art Index: PythonCAD/Generic/preferences.py =================================================================== --- PythonCAD/Generic/preferences.py (revision 2697) +++ PythonCAD/Generic/preferences.py (revision 2698) @@ -78,7 +78,7 @@ def _test_dim_position(val): _pos = None try: - _pos = dimension.Dimension.getDimPositionFromString(val) + _pos = dimension.Dimension.getPositionFromString(val) except: sys.stderr.write("Invalid dimension position: '" + str(val) + "'\n") return _pos @@ -86,7 +86,7 @@ def _test_dim_endpoint(val): _ept = None try: - _ept = dimension.Dimenion.getDimEndpointTypeFromString(val) + _ept = dimension.Dimension.getEndpointTypeFromString(val) except: sys.stderr.write("Invalid dimension endpoint: '" + str(val) + "'\n") return _ept -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822