View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002107 | FreeCAD | Bug | public | 2015-05-18 06:30 | 2015-09-04 15:53 |
Reporter | xibinke | Assigned To | yorik | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | linux | OS | Ubuntu | OS Version | 14.04LTS |
Fixed in Version | 0.16 | ||||
Summary | 0002107: Draft API cannot be interpreted under pure python? | ||||
Description | When I run the python script under linux command line, no shape showed on the Document window. After that I draw rectangle under GUI, nothing appeared. At this situation, the object labels and the icon besides have grey color. import FreeCAD,FreeCADGui,Part,Draft FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("DraftWorkbench") FreeCAD.newDocument("Test") rec = Draft.makeRectangle(10,10) FreeCAD.ActiveDocument.recompute() FreeCADGui.exec_loop() | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
Here is the more detailed: http://forum.freecadweb.org/viewtopic.php?f=22&t=10861 |
|
This is not a bug, it is actually the normal behaviour: If you create an object while the GUI is not running, it doesn't have a View provider. Therefore, it is greyed out when you run the GUI. The solution for this is either to save the file, then open it with the GUI up, which will add a default view provider automatically, or add the View Provider yourself once the GUI is up. |
|
I'll close this report because there is nothing to do here, please reopen if needed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-18 06:30 | xibinke | New Issue | |
2015-05-20 07:15 | xibinke | Note Added: 0006152 | |
2015-09-04 15:53 | yorik | Note Added: 0006331 | |
2015-09-04 15:53 | yorik | Note Added: 0006332 | |
2015-09-04 15:53 | yorik | Status | new => closed |
2015-09-04 15:53 | yorik | Assigned To | => yorik |
2015-09-04 15:53 | yorik | Resolution | open => no change required |
2015-09-04 15:53 | yorik | Fixed in Version | => 0.16 |