Preferences Editor/zh-cn

Introduction
FreeCAD的首选项系统位于.

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

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

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

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

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

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

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.
 * }



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



Selection
In 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.

In the Output tab you can specify the following:



Macro
These options control certain aspects of running macros.

In the Macro tab you can specify the following:



Units
This tab configures how Units are shown.

In the Units tab you can specify the following:



Display settings
This preferences section has two general tabs, 3D View and Colors, and further tabs depending in the used workbenches.

3D View
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:



Colors
This tab is always available.

In the Colors tab you can specify the following:



Part colors
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:



Workbenches
To conserve resources, FreeCAD does not automatically load all available workbenches. This means that a workbench's preferences will not be available until it is loaded, either by using it, or by using the Workbench preferences tab.

The Workbench preferences tab displays a list of all installed workbenches that have not been loaded yet. To load a workbench and view and modify its preferences, select workbench(es) from the list and click the button. The workbench will be loaded, and if it provides any preferences they will be added to the appropriate section in the preferences editor. Any additional file formats that workbench supports will be added to the Import-Export settings section of the preferences editor. Note that not all workbenches provide additional preferences.

For a list of known workbench preferences documentation see section Workbench preferences



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

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

Related

 * Parameter editor
 * Fine-tuning