Preferences Editor/zh

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

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

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

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

for more fine-tuned control of preferences see Parameter editor and Fine-tuning

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

通用
A2plus首选项

This option only has an effect if in /No style sheet is selected.

The image can be changed by adding the folders in the folder

[https://www.howtogeek.com/318177/what-is-the-appdata-folder-in-windows/ (on Windows),

(on Linux) or

(on MacOS).

Put there a file named  and uncheck/check this option to see the changed file.
 * Selection of a style sheet. The style sheets define how the user interface of FreeCAD looks.
 * Selection of the size for the toolbar icons
 * Customization how the tree view is shown in the panel (restart required). The options are:
 * Combo View: combine tree view and property view into one panel.
 * TreeView and PropertyView: split tree view and property view into separate panel.
 * Both: keep all three panels, and you can have two sets of tree view and property view.
 * Selection what workbench will be used directly after starting FreeCAD
 * If checked, the splash screen of FreeCAD is shown when starting.
 * Customization how the tree view is shown in the panel (restart required). The options are:
 * Combo View: combine tree view and property view into one panel.
 * TreeView and PropertyView: split tree view and property view into separate panel.
 * Both: keep all three panels, and you can have two sets of tree view and property view.
 * Selection what workbench will be used directly after starting FreeCAD
 * If checked, the splash screen of FreeCAD is shown when starting.
 * Selection what workbench will be used directly after starting FreeCAD
 * If checked, the splash screen of FreeCAD is shown when starting.
 * If checked, the splash screen of FreeCAD is shown when starting.
 * If checked, the splash screen of FreeCAD is shown when starting.

The splash screen image can be changed by adding the folders in the folder  (where %APPDATA% is the the user-specific application folder of FreeCAD of your operating system). Put there a file named  and restart FreeCAD to see the changed splash screen.
 * Words will be wrapped when they exceed the available horizontal space in the Python console. This console is shown using the menu.
 * }
 * Words will be wrapped when they exceed the available horizontal space in the Python console. This console is shown using the menu.
 * }



文档
In the Document 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.

In the Editor tab you can specify the following:



输出窗口
The output preferences affect the behavior of the Report view.

In the Output tab you can specify the following:



宏脚本
网页工作台首选项（暂无）

In the Macro tab you can specify the following:



单位
This tab configures how Units are shown.

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



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

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

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

This tab is always available, and controls certain characteristics of the 3D view.

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



Navigation
This tab is always available, and controls the behavior of the navigation tools.

In the Navigation tab you can specify the following:



颜色
This tab is always available.

In the Colors tab you can specify the following:



零件颜色
This tab is only shown if you are in the Part or PartDesign Workbench or if you have been in these workbenches before.

In the Part colors tab you can specify the following:



Mesh view
This tab is only shown if you are in the Mesh Workbench or if you have been in this workbench before.

In the Mesh view tab you can specify the following:



Import-Export Settings
The Import-Export settings affect how files are imported and exported to and from FreeCAD. They are described in the page Import Export Preferences.

工作台首选项
下面链接了更常见工作台的首选项. 有些工作台没有偏好. 其他可选工作台可能未列出.

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 (e.g. to use colors from the current theme).

Related

 * Parameter editor
 * Fine-tuning