From ahaas at airmail.net Wed Jan 3 02:07:38 2007 From: ahaas at airmail.net (Art Haas) Date: Tue, 2 Jan 2007 19:07:38 -0600 Subject: [PythonCAD] Pythoncad wiki In-Reply-To: References: Message-ID: <20070103010738.GL24909@artsapartment.org> On Mon, Dec 25, 2006 at 06:38:32PM +0100, Jos? Antonio Mart?n Prieto wrote: > 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 :) > Hi. I've added a link to the Wiki page from the PythonCAD home page. Thanks again for starting 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 Wed Jan 3 07:27:10 2007 From: ynd at lntenc.com (Yagnesh Desai) Date: Wed, 3 Jan 2007 11:57:10 +0530 Subject: [PythonCAD] PythonCAD session starts at startup Message-ID: Initially when I installed the pythoncad I found that it was starting by default while i start my laptop. I thought its ok for me but now I am finding that there are atleast 4 to 5 pythoncad sessions starting one after the other. Where to look for ? From ahaas at airmail.net Wed Jan 3 19:00:59 2007 From: ahaas at airmail.net (Art Haas) Date: Wed, 3 Jan 2007 12:00:59 -0600 Subject: [PythonCAD] PythonCAD session starts at startup In-Reply-To: References: Message-ID: <20070103180059.GB2268@artsapartment.org> On Wed, Jan 03, 2007 at 11:57:10AM +0530, Yagnesh Desai wrote: > > Initially when I installed the pythoncad I found that > it was starting by default while i start my laptop. > > I thought its ok for me but now I am finding that > there are atleast 4 to 5 pythoncad sessions starting > one after the other. > Where to look for ? The only guess I can make now is that your startup scripts are launching PythonCAD, but where and how this is happening I don't have a clue. Perhaps you're running in an environment that is saving the previous session and trying to restart all the running programs? 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 w.knol at niwa.co.nz Mon Jan 8 23:48:00 2007 From: w.knol at niwa.co.nz (Wilbert Knol) Date: Tue, 9 Jan 2007 11:48:00 +1300 Subject: [PythonCAD] Trouble after svn update In-Reply-To: <20061226162954.GA12106@artsapartment.org> References: <3287.203.211.73.231.1167035747.squirrel@secure.niwa.co.nz> <20061226162954.GA12106@artsapartment.org> Message-ID: <200701091148.01084.w.knol@niwa.co.nz> Forgot to mention: I also use Debian unstable. After I replaced python2.3-gtk2 with python-gtk2 (2.8.6-8), all is well now. The latter looks like one of those 'virtual' Debian packages which figure out what particular version you need and install it by way of a package dependency. Whatever it was, pythoncad now runs happily. Thanks for the feedback. Wilbert. From azabala at gmail.com Tue Jan 9 14:13:56 2007 From: azabala at gmail.com (Alvaro Zabala) Date: Tue, 9 Jan 2007 14:13:56 +0100 Subject: [PythonCAD] How to manage layer handles in DWG15.py? Message-ID: <5560f02d0701090513n4e8a3336u78df674fb0642096@mail.gmail.com> Hi! I have a question about how to manage layer handles for DWG files: In DWG class we can find all DWG drawing entities in objects array. First of all, I iterate on this objects array to find dwg layer objects. After that, I iterate along all the objects array, and for each dwgEntity instance, I call getLayer() method. This method returns the layer handle. The problem that I found is that sometimes this layer handle doesnt match with the handle of any layer recovered in the first iteration. In the DWG specification, we can read (section HANDLE REFERENCES): If handle code is 0x6, you must take the handle of the next dwg object, If handle code is 0x8, you must take the handle of the previous dwg object. Where can I found some sample code? (Im trying to do this with java, for a pythoncad dwg code port). Thanks in advance! -- Alvaro Zabala Ord??ez Tel?fono: 954939528 Plaza de Espa?a, sector II. SEVILLA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythoncad/attachments/20070109/d20adcd1/attachment.html From richley at onion-switch.com Sun Jan 14 22:49:01 2007 From: richley at onion-switch.com (Ed Richley) Date: Sun, 14 Jan 2007 16:49:01 -0500 Subject: [PythonCAD] prefs Message-ID: <200701142149.l0ELn1PG017697@lodge.onion-switch.com> Hi: I just did a svn update to get the latest version. I notice that things that I change in the prefs don't take effect. In particular, dimension sizes and chamfer sizes don't seem to change when I change their values. Also, the "Save" button doesn't seem to do the intuitive thing (save the prefs and quit the tool). Did I miss something? Ed From ahaas at airmail.net Tue Jan 16 04:17:22 2007 From: ahaas at airmail.net (Art Haas) Date: Mon, 15 Jan 2007 21:17:22 -0600 Subject: [PythonCAD] prefs In-Reply-To: <200701142149.l0ELn1PG017697@lodge.onion-switch.com> References: <200701142149.l0ELn1PG017697@lodge.onion-switch.com> Message-ID: <20070116031722.GA5793@artsapartment.org> On Sun, Jan 14, 2007 at 04:49:01PM -0500, Ed Richley wrote: > > Hi: > > I just did a svn update to get the latest version. > > I notice that things that I change in the prefs don't take effect. In > particular, dimension sizes and chamfer sizes don't seem to change when I > change their values. Also, the "Save" button doesn't seem to do the > intuitive thing (save the prefs and quit the tool). > > Did I miss something? Possibly. When you use the Preferences dialog via 'Edit'->'Preferences', the settings you are adjusting are the various "global" settings, not the particular settings of whichever Image window you happen to have invoked the menu from. After fiddling with the various dialog settings and you press the 'OK' button, the settings you've selected are written to the ${HOME}/.pythoncad/prefs.py file; pressing 'Cancel' does not write anything, and if it does that is a bug. So, supposing you brought up the preference dialog and made some changes, any new Image you create via 'File'->'New' in your current PythonCAD session should start with the values you've defined in the dialog; again if this is not happening then you've found a bug. When you quit PythonCAD and restart it the values in ${HOME}/.pythoncad/prefs.py will be used as the starting global values for your new session, so new Images will start with those settings. If you are trying to adjust the various values in a particular Image, you need to use the dialogs brought up from the 'Draw'->'Set' menu choices. These dialogs adjust the Image settings only in the window you executed the menu selection from, so if you have multiple windows open the Images displayed in the other windows are not affected by whatever changes you make. Did the descriptions above clear things up or muddy the waters? 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 Jan 31 14:23:08 2007 From: ahaas at airmail.net (Art Haas) Date: Wed, 31 Jan 2007 07:23:08 -0600 Subject: [PythonCAD] Apologies for the recent lack of updates Message-ID: <20070131132308.GT22889@artsapartment.org> Hi. As people accessing the PythonCAD subversion repo have noticed, there's been a lack of updates lately. I've been having less time to work on PythonCAD over most of the last month, and when I do get time I've accomplished very little. Hopefully the situation will improve somewhat next month ... 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