界面定制

From FreeCAD Documentation
Revision as of 03:22, 15 June 2019 by Wconly (talk | contribs) (Created page with "==示例== 这里给出一个有关示例:假设我们希望在Draft Workbench中显示一个含有"Measure Linear"工具的自定义工具栏。 * 在FreeCAD中的顶...")
Preferences Editor
Property editor

由于FreeCAD界面是基于现代的Qt工具包制作,因此它具有最先进的组织架构。widget部件、菜单、工具栏与其他工具都可修改、移动、在工具台之间共享,还可设置、修改快捷键,并记录和执行宏(macro)。通过Tools → Customize菜单即可进行窗口的定制:

定制选项卡

Commands选项卡可令您浏览FreeCAD中可用的所有命令,这些命令根据其分类进行组织。

Keyboard选项卡中,您能看到每个FreeCAD命令的对应快捷键,如有需要,可以修改任意命令的快捷键或为之赋予新的快捷键。如果您经常使用某种特定的工作台,且需要用键盘提高工作效率,此选项卡就派上了用场。

利用ToolbarsToolbox bars选项卡即可令您修改存在的工具栏,或创建您自己的自定义工具栏。

借助Macros选项卡来管理您自己所保存的

利用您自己的宏来创建一个工具栏 自定义工具栏(Customize Toolbars)

自0.16版开始,FreeCAD提供了一个新的工具用来使您管理自己的工作台。

示例

这里给出一个有关示例:假设我们希望在Draft Workbench中显示一个含有"Measure Linear"工具的自定义工具栏。

  • 在FreeCAD中的顶级菜单里选择Tools → Customize
  • 选中"Toolbars"选项卡
  • on the left side choose "Part" in the pull down menu
  • on the left side in the lower window scroll down to the "Measure Linear" entry and select it
  • on the right side choose "Draft" in the pull down menu
  • click on New... to create a new toolbar and choose a name for it
  • now select your destination toolbar in the right lower window (only needed if you have more than one toolbar)
  • by clicking on the blue "Arrow right" (top icon in the middle row) you will add your selected entry to the selected toolbar

Remarks

When selecting "Global" in the pull down menu on the right side you will create a toolbar which will be visible in all workbenches.

For adding an installed macro to a toolbar you must

  • select "Macros" in the pull down menu on the left side
  • have assigned menu text, icon (Pixmap) and so on using the Tools → Customize → Macros menu


Preferences Editor
Property editor