Translations:Workbench creation/3/zh-tw: Difference between revisions
Randy19962 (talk | contribs) (Created page with "基本上這很簡單:需要再Mod資料夾裏面建立一個新的資料夾,並給資料夾一個任意的名字,") |
Randy19962 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
基本上這很簡單:需要再Mod資料夾裏面建立一個新的資料夾,並給資料夾一個任意的名字 |
基本上這很簡單:需要再Mod資料夾裏面建立一個新的資料夾,並給資料夾一個任意的名字,with an '''Init.py''' file, and, optionally an '''InitGui.py''' file. The Init file is executed when FreeCAD starts, always, and the InitGui.py file is executed immediately after, but only when FreeCAD starts in GUI mode, not in console mode. That's all it needs for FreeCAD to find your workbench at startup and add it to its interface. |
Revision as of 07:24, 6 November 2015
基本上這很簡單:需要再Mod資料夾裏面建立一個新的資料夾,並給資料夾一個任意的名字,with an Init.py file, and, optionally an InitGui.py file. The Init file is executed when FreeCAD starts, always, and the InitGui.py file is executed immediately after, but only when FreeCAD starts in GUI mode, not in console mode. That's all it needs for FreeCAD to find your workbench at startup and add it to its interface.