Draft: Fresh started FreeCAD & Draft.makePoint

Merged, abandoned or rejected pull requests are moved here to clear the main Pull Requests forum.
Post Reply
User avatar
Gift
Posts: 419
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Draft: Fresh started FreeCAD & Draft.makePoint

Post by Gift » Sat Jan 06, 2018 8:03 am

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
Last edited by Gift on Sun Jan 07, 2018 5:57 pm, edited 1 time in total.

User avatar
yorik
Site Admin
Posts: 11371
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Post by yorik » Sat Jan 06, 2018 3:11 pm


User avatar
Gift
Posts: 419
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Post by Gift » Sun Jan 07, 2018 12:03 pm

Thx. How do I synchronize my fork?

chrisb
Posts: 16831
Joined: Tue Mar 17, 2015 9:14 am

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Post by chrisb » Sun Jan 07, 2018 12:56 pm

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

User avatar
Kunda1
Posts: 4755
Joined: Thu Jan 05, 2017 9:03 pm

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Post by Kunda1 » Sun Jan 07, 2018 2:00 pm

Please fix thread topic Darft.makePoint should be Draft.makePoint (please change the topic via the first post of this thread)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features

User avatar
Gift
Posts: 419
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Draft: Fresh started FreeCAD & Draft.makePoint

Post by Gift » Sun Jan 07, 2018 5:58 pm

Thank you both.

Post Reply