Preferences Editor/zh

Introduction
FreeCAD 的首选项位于菜单栏中的 编辑 → 首选项.

FreeCAD 的功能被分为了不同的模块，每个模块负责某个具体工作台的相关工作. FreeCAD 还使用了一种称之为后加载的观念，意即相关组件只有在需要时才被加载进来. 或许你已经注意到，当你在 FreeCAD 工具栏中选择一个工作台时，此工作台和它的所有组件都同时被加载进来. 这其中包含了它的首选项设置.

如果没有载入任何模块，将会有两项配置部分，一项是对一般的应用设置，另一项则对显示设置.

单击任何首选项显示左下角的 按钮，将freecad首选项的“全部”设置为其默认值.

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

一般的首选项设置
在刚启动 FreeCAD 时没有加载工作台，此时出现的是最小首选项窗口. 随着其它模块的载入，最小首选项窗口中就会出现新的部分，此时可以对每个工作台的细节进行配置.

通用
A2plus首选项



文档
On the Document tab you can specify the following:



Selection
On the Selection tab you can specify the following:



编辑器
The editor preferences settings affect the behavior of the macro editor. This editor can be opened using the menu.

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

On the Editor tab you can specify the following:



输出窗口
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:



宏脚本
On the Macro tab you can specify the following:



单位
Freecad一直在不断发展，因此这些屏幕的内容可能与上述截图不同. 这些设置通常是不言自明的，因此您不会有任何困难去配置FreeCad以满足您的需要.



显示设置
显示设置会影响显示的外观和鼠标手势. 在“3D”选项卡上设置常规外观和鼠标手势；可以在“颜色”选项卡上修改颜色.

在光标处缩放
如果设置，缩放操作将在鼠标指针的中心位置. 如果未设置，缩放操作将在当前视图的中心位置.

反转缩放
反转缩放操作的方向.

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



Navigation
On the Navigation tab you can specify the following:



颜色
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.

In FreeCAD version 0.19 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.

In FreeCAD version 0.20 the Unloaded Workbenches tab displays a list of all installed workbenches. To load a workbench press its button. If you check a workbench's checkbox it will autoload when FreeCAD starts up. Loading more workbenches will make the startup slower, but switching between workbenches that have already been loaded is faster.

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

建筑工作台首选项

External workbenches

 * A2plus Preferences
 * Ship Preferences (none)

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