PartDesign Preferences/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "Есть две вкладки: Главный, и Форма представления")
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>

<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[PartDesign_MoveFeatureInTree/ru|Move object after other object]]
|[[PartDesign_MoveFeatureInTree/ru|Move object after other object]]
Line 8: Line 10:
|IconR=
|IconR=
}}
}}
</div>


{{TOCright}}

==Introduction==

<div class="mw-translate-fuzzy">
Экран настроек [[PartDesign_Workbench/ru|верстака PartDesign]] находятся в [[Preferences Editor/ru|редакторе настроек]], {{MenuCommand|Правка → Настройки → Разработка деталей}}.
Экран настроек [[PartDesign_Workbench/ru|верстака PartDesign]] находятся в [[Preferences Editor/ru|редакторе настроек]], {{MenuCommand|Правка → Настройки → Разработка деталей}}.
</div>

==Available preferences==


<div class="mw-translate-fuzzy">
Есть две вкладки: Главный, и Форма представления
Есть две вкладки: Главный, и Форма представления
</div>


<div class="mw-translate-fuzzy">
==Главный==
==Главный==
</div>

On the ''General'' tab you can specify the following:


In the ''General'' tab you can specify the following:
{| class="wikitable float-right mw-collapsible mw-collapsed"
{| class="wikitable float-right mw-collapsible mw-collapsed"
!style="width: 33%;"|Name
!style="width: 33%;"|Name
Line 21: Line 37:
|-
|-
| {{MenuCommand|Automatically check model after boolean operation}}
| {{MenuCommand|Automatically check model after boolean operation}}
| If checked, after a [[Part_Boolean|boolean operation]] it will be checked if the [https://en.wikipedia.org/wiki/Boundary_representation Boundary representation] (BRep) of the model is valid. This is internally done by the function [[Part CheckGeometry|CheckGeometry]].
| If checked, the [https://en.wikipedia.org/wiki/Boundary_representation Boundary representation] (BRep) of the model is [[Part_CheckGeometry|validated]] after [[Part_Boolean|boolean operations]]
|-
|-
| {{MenuCommand|Automatically refine model after boolean operation}}
| {{MenuCommand|Automatically refine model after boolean operation}}
| If checked, the model will be refined using the function [[Part RefineShape|RefineShape]] after a [[Part_Boolean|boolean operation]].
| If checked, the model is [[Part_RefineShape|refined]] after [[Part_Boolean|boolean operations]]
|-
|-
| {{MenuCommand|Automatically refine model after sketch-based operation}}
| {{MenuCommand|Automatically refine model after sketch-based operation}}
| If checked, the model will be refined using the function [[Part RefineShape|RefineShape]] after a sketch of an object has been changed.
| If checked, the model is [[Part_RefineShape|refined]] after changes to source sketches of objects
|-
| {{MenuCommand|Add name of base object}}
| This option has currently no effect.
|}
|}


[[Image:Preferences_Part_design_Tab_General.png]]
[[File:Preference_Part_Design_Tab_01.png]]


<div class="mw-translate-fuzzy">
==Форма представления==
==Форма представления==
</div>

On the ''Shape view'' tab you can specify the following:


In the ''Shape view'' tab you can specify the following:
{| class="wikitable float-right mw-collapsible mw-collapsed"
{| class="wikitable float-right mw-collapsible mw-collapsed"
!style="width: 33%;"|Name
!style="width: 33%;"|Name
Line 43: Line 59:
|-
|-
| {{MenuCommand|Maximum deviation depending on the model bounding box}}
| {{MenuCommand|Maximum deviation depending on the model bounding box}}
| Maximum [https://www.opencascade.com/doc/occt-7.3.0/overview/html/occt_user_guides__modeling_algos.html#occt_modalg_11_2 linear deflection] of the tesselated objects from their surface
| Maximum [https://www.opencascade.com/doc/occt-7.3.0/overview/html/occt_user_guides__modeling_algos.html#occt_modalg_11_2 linear deflection] of the [[#Tesselation|tesselated]] objects from their surface
|-
|-
| {{MenuCommand|Maximum angular deflection}}
| {{MenuCommand|Maximum angular deflection}}
| Maximum [https://www.opencascade.com/doc/occt-7.3.0/overview/html/occt_user_guides__modeling_algos.html#occt_modalg_11_2 angular deflection] from one tesselated object section to the next section
| Maximum [https://www.opencascade.com/doc/occt-7.3.0/overview/html/occt_user_guides__modeling_algos.html#occt_modalg_11_2 angular deflection] from one [[#Tesselation|tesselated]] object section to the next section
|}
|}

[[Image:Preferences_Part_design_Tab_Shape_view.png]]

===Shape appearance===

On the ''Shape appearance'' tab you can specify the following:

{| class="wikitable float-right mw-collapsible mw-collapsed"
!style="width: 33%;"|Name
!style="width: 66%;"|Description
|-
| {{MenuCommand|Shape color}}
| Color for new shapes. If the option {{MenuCommand|Random}} is set, a random color is used instead.
|-
| {{MenuCommand|Line color}}
| Line color for new shapes
|-
| {{MenuCommand|Line width}}
| Line thickness for new shapes
|-
| {{MenuCommand|Vertex color}}
| Color for new [[Glossary#Vertex|vertices]]
|-
| {{MenuCommand|Vertex size}}
| Size for new [[Glossary#Vertex|vertices]]
|-
| {{MenuCommand|Bounding box color}}
| Color of [[Property_editor#View|bounding boxes]] in the 3D view
|-
| {{MenuCommand|Two-side rendering}}
| If checked, the color of the interior side of faces will be the same as the exterior side. If not checked either the [[Preferences_Editor#3D_View|backlight color]], if enabled, or black will be used instead.
|-
| {{MenuCommand|Text color}}
| Text color for document annotations. There is currently no dialog to add annotations to documents. Annotations can only be added using the Python console with this command:

<code>obj=App.ActiveDocument.addObject("App::Annotation", "Label")</code>

This console is shown using the menu {{MenuCommand|View → Panels → Python console}}.
|}

[[Image:Preferences_Part_design_Tab_Shape_appearance.png]]

==Tesselation==


In order to display an object efficiently its surface is [https://en.wikipedia.org/wiki/Tessellation_(computer_graphics) tesselated], i.e. it is displayed with some small deviations from it real surface. This applies not only to PartDesign models, but also to other objects in FreeCAD.
In order to display an object efficiently its surface is [https://en.wikipedia.org/wiki/Tessellation_(computer_graphics) tesselated], i.e. it is displayed with some small deviations from it real surface. This applies not only to PartDesign models, but also to other objects in FreeCAD.
Line 55: Line 114:
Right click on '''Mesh deviation''' choose in the context menu '''Change value'''. Set the value to the minimum tesselation of your choice. Please keep in mind that the value is in %, i.e. for a value of 0.005% you have to enter "0.00005". The smallest value possible is 1e-7. '''Note:''' In the preferences menu you will still see 0.01% even if you set a lower value.
Right click on '''Mesh deviation''' choose in the context menu '''Change value'''. Set the value to the minimum tesselation of your choice. Please keep in mind that the value is in %, i.e. for a value of 0.005% you have to enter "0.00005". The smallest value possible is 1e-7. '''Note:''' In the preferences menu you will still see 0.01% even if you set a lower value.


[[File:Preference_Part_Design_Tab_02.png]]


{{Docnav
{{Docnav
Line 62: Line 120:
|[[PartDesign_Workbench|PartDesign]]
|[[PartDesign_Workbench|PartDesign]]
|IconL=
|IconL=
|IconC=Workbench_PartDesign.svg
|IconR=
|IconR=
|IconC=Workbench_PartDesign.svg
}}
}}



Revision as of 08:59, 18 March 2021

Introduction

Экран настроек верстака PartDesign находятся в редакторе настроек, Правка → Настройки → Разработка деталей.

Available preferences

Есть две вкладки: Главный, и Форма представления

Главный

On the General tab you can specify the following:

Name Description
Automatically check model after boolean operation If checked, the Boundary representation (BRep) of the model is validated after boolean operations
Automatically refine model after boolean operation If checked, the model is refined after boolean operations
Automatically refine model after sketch-based operation If checked, the model is refined after changes to source sketches of objects

Форма представления

On the Shape view tab you can specify the following:

Name Description
Maximum deviation depending on the model bounding box Maximum linear deflection of the tesselated objects from their surface
Maximum angular deflection Maximum angular deflection from one tesselated object section to the next section

Shape appearance

On the Shape appearance tab you can specify the following:

Name Description
Shape color Color for new shapes. If the option Random is set, a random color is used instead.
Line color Line color for new shapes
Line width Line thickness for new shapes
Vertex color Color for new vertices
Vertex size Size for new vertices
Bounding box color Color of bounding boxes in the 3D view
Two-side rendering If checked, the color of the interior side of faces will be the same as the exterior side. If not checked either the backlight color, if enabled, or black will be used instead.
Text color Text color for document annotations. There is currently no dialog to add annotations to documents. Annotations can only be added using the Python console with this command:

obj=App.ActiveDocument.addObject("App::Annotation", "Label")

This console is shown using the menu View → Panels → Python console.

Tesselation

In order to display an object efficiently its surface is tesselated, i.e. it is displayed with some small deviations from it real surface. This applies not only to PartDesign models, but also to other objects in FreeCAD.

There is a lower limit for the tesselation of 0.01%. If you really want to spend the additional time you can reduce the lower limit even further by opening the menu Tools → Edit parameters... This opens the parameter editor where you navigate to BaseApp → Preferences → Mod → Part.

Right click on Mesh deviation choose in the context menu Change value. Set the value to the minimum tesselation of your choice. Please keep in mind that the value is in %, i.e. for a value of 0.005% you have to enter "0.00005". The smallest value possible is 1e-7. Note: In the preferences menu you will still see 0.01% even if you set a lower value.