[Pythoncad-developer] Commandline use in PythonCAD
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: <ger...@gm...> - 2009-12-14 20:54:48
|
Hi All, I want to start a discussion about the use of the commandline in PythonCAD (besides the bugtracker issue). I do not want to talk about a timeline (R38, R40 1.0 etc) only functionality we want to have. I think the commandline is very important and I like to see it gets more features. At this moment we have a commandline interface and a menu based interface. As far as I can see the two interfaces are seperated (in the source code) from each other. I think the menu based interface should also work through the commandline. Than we only have to maintain and test one input method. Also we can construct the menubar (and toolbars/palettes) from an external resource (xml file). If a commandline gets a new function only the xml file has to be altered, no programming needed for the menus. All the menuitems can do their call to the commandline which handles the function. Also I like to see the commandline able to process script files. These script files are a simple sequence of commands, the same as the user can enter these on the commandline. In this way we can also implement macro recording. Commandline history? More ideas, comments? Regards, Gertwin |