Page 1 of 1

Draft: Fresh started FreeCAD & Draft.makePoint

Posted: Sat Jan 06, 2018 8:03 am
by Gift
1. Restart FreeCAD
2. Create new doc
3. Test an example from wiki:

Code: Select all

import Draft
Draft.makePoint(6,4,2)

Code: Select all

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File ".../FreeCAD/freecad/Mod/Draft/Draft.py", line 2907, in makePoint
    color = FreeCADGui.draftToolBar.getDefaultColor('ui')
AttributeError: 'module' object has no attribute 'draftToolBar'
PR: https://github.com/FreeCAD/FreeCAD/pull/1201

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Posted: Sat Jan 06, 2018 3:11 pm
by yorik

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Posted: Sun Jan 07, 2018 12:03 pm
by Gift
Thx. How do I synchronize my fork?

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Posted: Sun Jan 07, 2018 12:56 pm
by chrisb
Gift wrote: Sun Jan 07, 2018 12:03 pm How do I synchronize my fork?
https://forum.freecadweb.org/viewtopic. ... 10#p197792

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Posted: Sun Jan 07, 2018 2:00 pm
by Kunda1
Please fix thread topic Darft.makePoint should be Draft.makePoint (please change the topic via the first post of this thread)

Re: Draft: Fresh started FreeCAD & Draft.makePoint

Posted: Sun Jan 07, 2018 5:58 pm
by Gift
Thank you both.