From ahaas at airmail.net Wed Jul 2 13:23:48 2003 From: ahaas at airmail.net (Art Haas) Date: Wed Jul 2 13:23:54 2003 Subject: [PythonCAD] Subversion access update Message-ID: <20030702172348.GC20449@artsapartment.org> Hi. After completing the Subversion/Apache upgrades on Sunday I've been able to pull the PythonCAD public repo twice, so I'm confident that things work now. Updates to pulled repos also work, so things are looking good. 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 Wed Jul 9 14:56:42 2003 From: ahaas at airmail.net (Art Haas) Date: Wed Jul 9 14:56:51 2003 Subject: [PythonCAD] Option changes and progress towards next release Message-ID: <20030709185642.GA30832@artsapartment.org> Hi. A quick update on the option changes code I'm working on. I've got much of the color handling changes in place, and have begun to modify the code to make use of the new stuff. I've also been reworking the way linetype, line style, and dimension style stuff is handled. I'll be sending my changes to the public repository shortly. I've also fixed a few bugs in other areas of the code while working on these changes. Things like moving the dimension text should work, and various entity storage/deletion mistakes will be fixed in the next release. The dimension text moving fix is due to dumb typos on my part: in Generic/move.py, change 'getDimLocation()' to 'getLocation()', and change 'setDimLocation()' to 'setLocation()'. These changes are in the small '_moveDimension()' function. Sheesh, it's only a couple of lines and I screwed it up twice. :-( I'd like to hear from people who have been retrieving the code with subversion and find out if checkouts work for them, and what version of subversion they are running. As a new Apache release was made today (2.0.47), I'll probably try and upgrade that on the repository host machine sometime this week or next, and hopefully between now and the time of the upgrade the 0.25 subversion release will be made. It would be good to post results to the mailing list so that others can see them as well. 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 Tue Jul 15 15:02:48 2003 From: ahaas at airmail.net (Art Haas) Date: Tue Jul 15 15:02:55 2003 Subject: [PythonCAD] More option updates checked in Message-ID: <20030715190248.GC31950@artsapartment.org> Hi. I've sent another batch of option changes to the public repository now. There is still much more work to do, but I think the direction that the code is moving is the right one. I'm trying to avoid using module variables in more places and these changes replace a few of this will class variables. The DimStyle objects have changes like this and I think these changes will make this class more robust. While working on the DimStyle changes I could see a number of potential bugs that existed in the previous implementation and I think these bugs are now fixed. I'd like to make the next release sometime next week; there are still more option changes and cleanups I'd like to complete over the next week or so. It is looking like the ninth release will focus on cleanups with relatively little new stuff added. I'd also like to upgrade the Apache/Subversion software on the remote machine this week or upcoming weekend, so I'd advise people accesssing the code through subversion to upgrade to the latest release. 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 Jul 27 12:33:45 2003 From: ahaas at airmail.net (Art Haas) Date: Sun Jul 27 12:33:51 2003 Subject: [PythonCAD] Ninth release this week Message-ID: <20030727163345.GA15152@artsapartment.org> Hi. As July is nearing its end, I will be making the ninth release this week. The release will probably go out on Tuesday or Wednesday. I'd hoped to have more fixes in this release, but I've had the programming equivalent of writer's block at various times this month, so there are not as many fixes in the code as I had hoped. Nevertheless, this release will contain a number of good fixes and internal code improvements to build upon for future release. This release will also allow you to set the color of inactive layer elements. I'll send out an e-mail when the release is made and available on the web site. 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 showell at zipcon.net Mon Jul 28 19:53:23 2003 From: showell at zipcon.net (Steve Howell) Date: Mon Jul 28 14:53:24 2003 Subject: [PythonCAD] curious about pythoncad Message-ID: <1059418064.1821.132.camel@showell> Hello. I just stumbled upon your project today. I've always been interested in learning about CAD, but I never had access to expensive CAD software. I was pleased to learn that somebody's actually implementing a CAD program in Python. Can you tell me more about the project? How many people are using it, to your knowledge? How many folks are developing on it? What made you decide to do it? Have there been any articles written about it? I'll introduce myself quickly. My name is Steve Howell, and I've been a software developer for most of my career, and I got into Python a few years ago. Here are two small projects where I've been one of the primary contributors: http://python.yaml.org/ (Showell branch of PyYaml) http://gvr.sourceforge.net/ (Guido van Robot) I look forward to learning more about your work. Cheers, Steve From ahaas at airmail.net Tue Jul 29 14:38:27 2003 From: ahaas at airmail.net (Art Haas) Date: Tue Jul 29 14:38:37 2003 Subject: [PythonCAD] [ANNOUNCE] Ninth release of PythonCAD now available Message-ID: <20030729183827.GB32563@artsapartment.org> I'd like to announce the ninth 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. 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 interfaces will depend on the availability of a Python module for that particular interface and developer interest and action. The ninth release concentrated on internal improvements to the code. The storage and manipulation of optional values was heavily reworked. The first batch of changes regarding storing various drawing entities was finished, with the handling of colors having the largest number of changes. Linetypes and drawing styles will be updated in a similar manner to colors in future releases. This release also has numerous improvements in handling default values for many of the objects used in PythonCAD. A large number of bug fixes are included in this release. Various bugs relating to line splitting, tangent point calculation, and line intersection calculation have been fixed. In addition to bug fixes, numerous changes in the code are for data validation and error checking, resulting in several fixes where using improper data types was uncovered. A few changes have been made with regards to saving and loading of files as well. The ninth release also allows for the setting of the inactive layer entity color. This change is probably the only user interface change present in the release. As was stated above, the vast majority of changes present in this release are deep within the code and not UI related. Unfortunately the redraw bug in the preference dialog is still present, and when making the eighth release I had hoped to have it eliminated by the time the ninth release went out. That goal was not met, but hope springs eternal and maybe it will be removed in the next release. The 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 Thu Jul 31 20:12:57 2003 From: ahaas at airmail.net (Art Haas) Date: Thu Jul 31 20:13:08 2003 Subject: [PythonCAD] Things to work on for next release Message-ID: <20030801001257.GA12802@artsapartment.org> Hi. Well now that the ninth release is out it is time to set up a few goals for what to work on for the tenth release. I'm always going to add bug fixes and documentation additions, so those two items don't count. Improving the code robustness is also something I'm always aiming to do. I've looked around a bit for approaches to hatching, and I'm still coming up empty. Hatching is definitely one of the harder features I want to see in PythonCAD. Printing is still lacking, too. These two large deficiencies aside, I'm still trying to make the core program better. An undo/redo approach is needed to implement that functionality, and while I don't think the addition of this feature will be complete in a single release, it would be good to see the groundwork begin. One thing I'm definitely interested in seeing is an improved means of storing the drawing entities. The current system uses a sorted list, and requires the use of __cmp__ functions for the objects. I'm growing concerned that this approach is not optimal and that a better means of storing the objects in some manner exists. I've started to look at things like BSP Trees, if for nothing else just to see what else is out there. It would be great to get some suggestions for better approaches than the one implemented now. I'll send out more mail about other things I'm hoping to include for the tenth release probably within a day or two. 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