View Issue Details

IDProjectCategoryView StatusLast Update
0000116FreeCADFeaturepublic2010-07-26 19:25
ReporteryorikAssigned Toyorik 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target Version0.11Fixed in Version0.11 
Summary0000116: make an API for the Draft module
DescriptionThis is not so important because the Draft module actually only uses the Part API, but I think it would be nice for people to have a couple of simple makeLine, makeRectangle, etc... functions to use in macros.

With the switch of the Draft module to parametric, this will be easy.
Then, need to build a good documentation!
TagsNo tags attached.

Activities

yorik

2010-07-26 19:25

administrator   ~0000279

This is now done. The Draft functions that can be useful to scriptwriters are now gathered in the Draft module itself, while Gui-specific stuff has been moved to another file. So, by doing "import Draft", a script writer now has a clear access to most of the Draft functionality.

Issue History

Date Modified Username Field Change
2010-06-29 12:22 yorik New Issue
2010-06-29 12:22 yorik Status new => assigned
2010-06-29 12:22 yorik Assigned To => yorik
2010-07-26 19:25 yorik Note Added: 0000279
2010-07-26 19:25 yorik Status assigned => closed
2010-07-26 19:25 yorik Resolution open => fixed
2010-07-26 19:25 yorik Fixed in Version => 0.11