Draft API
これらの関数はDraftモジュールの一部であり、Draftモジュールをインポートすることでスクリプト、マクロ、Pythonインタプリタから使用することができます。
These functions are part of the Draft Workbench and can be used in macros and from the Python console once the Draft
module has been imported.
例:
import FreeCAD, Draft
myrect = Draft.makeRectangle(4, 3)
mydistance = FreeCAD.Vector(2, 2, 0)
Draft.move(myrect, mydistance)