Translations:Workbench creation/3/zh-tw: Difference between revisions

From FreeCAD Documentation
(Created page with "基本上這很簡單:需要再Mod資料夾裏面建立一個新的資料夾,並給資料夾一個任意的名字,")
 
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

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Workbench creation)
You need a folder, with any name you like, placed in the user Mod directory, with an {{incode|Init.py}} file, and, optionally an {{incode|InitGui.py}} file. The Init file is executed when FreeCAD starts, and the {{incode|InitGui.py}} file is executed immediately after, but only when FreeCAD starts in GUI mode. That's all it needs for FreeCAD to find your workbench at startup and add it to its interface.

基本上這很簡單:需要再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.