Re: [Pythoncad-developer] PyCAD Technical Report 100819
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: matteo\.boscolo\@boscolini\.eu <mat...@bo...> - 2010-08-20 07:48:54
|
Hi Pietro, Thanks a lot for the report .. I already notice the problem of loosing the last entity after closing the drawing .. I will do some more testing on it and I will fix it as soon as possible. I will tell you the file system in PyCad. All drawing are an sqlite database http://www.sqlite.org/ you can download the sqlite viewer at http://sqliteman.com/page/4.html. Every time you starts PyCad a new sqlite db will be created with name Pythoncad_baseDb.pdr. This file is a sort of .ini file with all the settings of the porogram. Of course this file is a normal drawing with all the settings property in it .. We chose this way for having the some support for reading and writing the information this is a technical choice. The location of the new file is under %temp% in all installation .. this is just a temporary situation. In future I will provide a PythonCAD folder under local user to store all the drawing so the user have is own drawing space in wicth all the drawing will be stored. Using this system the upgrading of the release mantaing the settings, this means that the Pythoncad_baseDb.pdr. will be also moved in user directory. You can suggest a different way to store this settings information if you think that this is not standard like beavior. In the actual git commited code I had already provided the file history section .. The home1.pdr-journal file is automatic genereted douring the normal use of the sqlite database and will be automatic deleted after closing the file. if after closing PyCad the file is already there may be this is for bad sql transaction that this will tells us the loose of the data. I will provide a remember of the last opened folder so the user remember the last opened folder. I did some test on printing and it seems to work to me. The print command at the moment it's just a test for testing the print functionality .. so as soon we well develop it i will fix all the problems . I hope I do not forget somthing .. let me know .. Regards, Matteo From: "Pietro06" Pie...@co... To: pyt...@li... Cc: Date: Thu, 19 Aug 2010 01:56:12 -0700 Subject: [Pythoncad-developer] PyCAD Technical Report 100819 > Hi PyCAD folks, > Here you have the first excerpt of the Technical Report I'm working on. Of course, being the first, we'll have a lot to talk about. So I remain looking forward your questions & remarks... > See you soon. > Pietro Moras > |