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: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Draft: Fresh started FreeCAD & Draft.makePoint

Post 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
Last edited by Gift on Sun Jan 07, 2018 5:57 pm, edited 1 time in total.
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Post by Gift »

Thx. How do I synchronize my fork?
chrisb
Veteran
Posts: 54180
Joined: Tue Mar 17, 2015 9:14 am

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Post by chrisb »

Gift wrote: Sun Jan 07, 2018 12:03 pm How do I synchronize my fork?
https://forum.freecadweb.org/viewtopic. ... 10#p197792
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Draft: Fresh started FreeCAD & Darft.makePoint

Post by Kunda1 »

Please fix thread topic Darft.makePoint should be Draft.makePoint (please change the topic via the first post of this thread)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Draft: Fresh started FreeCAD & Draft.makePoint

Post by Gift »

Thank you both.
Post Reply