界面定制

From FreeCAD Documentation
Revision as of 10:30, 13 June 2019 by Wconly (talk | contribs) (Created page with "由于FreeCAD界面是基于现代的[http://en.wikipedia.org/wiki/Qt_(toolkit) Qt]工具包制作,因此它具有最先进的组织架构。widget部件、菜单、工具...")
Preferences Editor
Property editor

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

Customization tabs

The Commands tab lets you browse all available FreeCAD commands, organized by their category.

In Keyboard, you can see the keyboard shortcuts associated with every FreeCAD command, and if you want, modify or assign new shortcut to any command. This is where to come if you use a particular workbench often, and would like to speed up its use by using the keyboard.

The Toolbars and Toolbox bars tabs let you modify existing toolbars, or create your own custom toolbars.

The Macros tab lets you manage your saved Macros.

Create your Toolbars for your macro Customize Toolbars

Since FreeCAD 0.16 a new tool is available that lets you manage your workbenches.

Example

For an example workflow lets suppose we want to have the "Measure Linear" tool also show up in a custom toolbar in the Draft Workbench.

  • in FreeCAD choose Tools → Customize from the top menu
  • select the "Toolbars" tab
  • 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