Preferences Editor/zh-cn

Introduction
FreeCAD的首选项系统位于.

FreeCAD中的功能被分为不同的模块，每个模块负责实现一种特定workbench的具体工作. FreeCAD采用的是延迟加载方式，意即只有当需要使用特定组件时才会进行加载. 您在FreeCAD的工具栏中选择工作台时可能会注意到这一点，因为在加载工作台及其所有组件时需要花费一点儿时间. 在进行首选项设置时也是如此.

在没有加载任何模块时，您可以访问两个配置部分，分别用于应用通用设置（general）与显示设置（display）. 当您使用特定的工作台时，便会在新选项卡中显示对应工作台的首选项设置，并在新加部分显示该工作台所支持的文件格式.

点击首选项左下角的按钮，即可将FreeCAD中的所有首选项设置还原为其默认值.

Some advanced preferences can only be changed in the Parameter editor. The Fine-tuning page lists some of them.

通用设置
本首选项部分包含6个选项卡：

General
在General选项卡中，您可以指定下列内容：



Document
在Document选项卡中，您可以指定以下内容：



Selection
On the Selection tab you can specify the following:



Editor
编辑器首选项设置影响的是宏编辑器的行为. 此编辑器可通过菜单打开. 请注意: 这里的颜色和字体设置也会影响到Python控制台. 此控制台可通过菜单打开.

The color and font settings also affect the Python console. This console is shown using the menu.

在Editor选项卡中，您可以指定以下内容：



Output window
The output preferences affect the behavior of the Report view. This panel is shown using the menu.

On the Output tab you can specify the following:



Macro
On the Macro tab you can specify the following:



Units
On the Units tab you can specify the following:



Display settings
This preferences section has three standard tabs: 3D View, Navigation and Colors. A fourth tab, Mesh view, is added if the Mesh Workbench has been loaded.

3D View
On the 3D View tab you can specify the following:



Navigation
On the Navigation tab you can specify the following:



Colors
On the Colors tab you can specify the following:



Mesh view
This tab is only available if the Mesh Workbench has been loaded.

On the Mesh view tab you can specify the following:



Workbenches
This preferences section has a single tab: Unloaded Workbenches.

Unloaded Workbenches
To preserve resources, FreeCAD does not automatically load all available workbenches. And only if a workbench has been loaded will its preferences, if any, appear in the Preferences editor.

The Unloaded Workbenches tab displays a list of installed workbenches that have not yet been loaded. To load one or more workbenches select them in the list and then press the button. If a newly loaded workbench has dedicated preference they will appear in a new section in the Preferences editor. Some workbenches add support for additional import and export formats. If there are any related preferences they will appear on one or more new tabs in the Import-Export settings section of the Preferences editor.

For a list of workbench preferences see Workbench preferences



Import-Export settings
The Import-Export settings affect how files are imported and exported. They are described on the Import Export Preferences page.

工作台首选项
下列为常用工作台的首选项. 部分工作台并没有对应的首选项. 其他可选工作台可能也未列入其中.

Preferences for the more common workbenches are linked below. Some workbenches have no preferences. Other optional workbenches may not be listed. These links are also listed in Category:Preferences

Arch工作台首选项

External workbenches
A2plus工作台首选项

Scripting
Preferences can be accessed from Python scripts using their corresponding path in the Parameter Editor. For example, the preference appears in  and has type. It can therefore be accessed in Python using the following code:

Finding which parameter is used to store which option from the Preferences editor can require searching a bit, but the Parameter Editor offers a search facility, which should help.

It is likely a bad idea to modify the preferences of other parts of FreeCAD unless doing so at the user's request. The setter can however be used to set parameters for your own workbench, and the getter can be used to obey existing parameters.

Related

 * Parameter editor
 * Fine-tuning