Sketcher Preferences: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
m (space)
(15 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:9-->
<!--T:9-->
{{Docnav|[[Sketcher_SwitchVirtualSpace|Switch Virtual Space]]||[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher SwitchVirtualSpace.png|IconC=Workbench_Sketcher.svg|IconR=}}
{{Docnav|[[Sketcher_SwitchVirtualSpace|Switch Virtual Space]]||[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher SwitchVirtualSpace.svg|IconC=Workbench_Sketcher.svg|IconR=Freecad.svg}}

<!--T:10-->
<div style="float:right; clean:both; margin-left:0.5em;">__TOC__</div>


<!--T:1-->
<!--T:1-->
The preferences of the Sketcher is located in the {{MenuCommand|Edit menu → Preferences → Sketcher}}. It consists of 2 tabs:
The preferences screen of the [[Sketcher_Workbench|Sketcher Workbench]] are found in the [[Preferences Editor|Preferences Editor]], {{MenuCommand|Edit → Preferences → Sketcher}}.

<!--T:15-->
There are two tabs: General, and Colors.


===General Settings=== <!--T:2-->
==General== <!--T:2-->


<!--T:3-->
<!--T:3-->
Line 58: Line 58:
|-
|-
| {{MenuCommand|Show Grid}}
| {{MenuCommand|Show Grid}}
| If checked, a grid will be shown in the sketches.<br\> This option and the following 5 preferences settings can also be specified only for single sketches in the [[Sketcher_Dialog#Edit_controls|sketcher dialog]] section ''Edit controls''.
| If checked, a grid will be shown in the sketches.

<!--T:16-->
This option and the following 5 preferences settings can also be specified only for single sketches in the [[Sketcher_Dialog#Edit_controls|sketcher dialog]] section ''Edit controls''.
|-
|-
| {{MenuCommand|Grid size}}
| {{MenuCommand|Grid size}}
| The distance between 2 subsequent grid lines. Note that the default value of 0 mm will result in a 10 mm grid.
| The distance between two subsequent grid lines. Note that the default value of 0 mm will result in a 10 mm grid.
|-
|-
| {{MenuCommand|Grid snap}}
| {{MenuCommand|Grid snap}}
| If checked, new points will snap to the nearest grid crossing point. Note that the points have already to be close to a grid crossing point that the snap takes effect. The distance is a fifth of the value set for {{MenuCommand|Grid size}}, so for a 10 mm grid, the snapping only occurs if the point is not more than 2 mm away from a grid line.<br/>'''Note:''' a snapped point has no coincident constraint with the grid point it snapped to.
| If checked, new points will snap to the nearest grid line. Note that the points have already to be close to a grid line that the snap takes effect. The distance is a fifth of the value set for {{MenuCommand|Grid size}}, so for a 10 mm grid, the snapping only occurs if the point is not more than 2 mm away from a grid line.

<!--T:17-->
'''Note:''' A snapped point has no coincident constraint with the grid point it snapped to.
|-
|-
| {{MenuCommand|Auto constraints}}
| {{MenuCommand|Auto constraints}}
Line 84: Line 90:
<!--T:4-->
<!--T:4-->
[[File:Preference_Sketcher_Tab_01.png]]
[[File:Preference_Sketcher_Tab_01.png]]
</translate>
{{clear}}
<translate>


===Colors=== <!--T:5-->
==Colors== <!--T:5-->


<!--T:6-->
<!--T:6-->
Line 97: Line 100:
|-
|-
| {{MenuCommand|Default edge color}}
| {{MenuCommand|Default edge color}}
| The color in which sketch edges will be displayed when the sketch is not edited.
| ??

<!--T:18-->
Note: Changing the color will only have an effect for new sketches.
|-
|-
| {{MenuCommand|Default vertex color}}
| {{MenuCommand|Default vertex color}}
| The color in which sketch [[Glossary#Vertex|vertices]] (points) will be displayed when the sketch is not edited.
|

<!--T:19-->
Note: Changing the color will only have an effect for new sketches.
|-
|-
| {{MenuCommand|Making line color}}
| {{MenuCommand|Making line color}}
| The color used while new sketch elements are created.
|
|-
|-
| {{MenuCommand|Edit edge color}}
| {{MenuCommand|Edit edge color}}
| The color in which sketch edges will be displayed when the sketch is edited.
|
|-
|-
| {{MenuCommand|Edit vertex color}}
| {{MenuCommand|Edit vertex color}}
| The color in which sketch [[Glossary#Vertex|vertices]] (points) will be displayed when the sketch is edited.
|
|-
|-
| {{MenuCommand|Construction geometry}}
| {{MenuCommand|Construction geometry}}
| The color of [[Sketcher_ToggleConstruction|construction geometry]] in edit mode.
|
|-
|-
| {{MenuCommand|External geometry}}
| {{MenuCommand|External geometry}}
| The color of [[Sketcher_External|external geometry]] in edit mode.
|
|-
|-
| {{MenuCommand|Fully constrained geometry}}
| {{MenuCommand|Fully constrained geometry}}
| The color of fully constrained geometry in edit mode.
|
|-
|-
| {{MenuCommand|Constraint color}}
| {{MenuCommand|Constraint color}}
| The color of constraints in edit mode.
|
|-
|-
| {{MenuCommand|Reference Constraint color}}
| {{MenuCommand|Reference Constraint color}}
| The color of [[Sketcher_ToggleDrivingConstraint|reference]] constraints in edit mode.
|
|-
|-
| {{MenuCommand|Expression dependent constraint color}}
| {{MenuCommand|Expression dependent constraint color}}
| The color of [[Expressions|expression]] dependent constraints in edit mode.
|
|-
| {{MenuCommand|Deactivated constraint color}}
| The color of deactivated constraints in edit mode. {{Version|0.19}}
|-
|-
| {{MenuCommand|Datum color}}
| {{MenuCommand|Datum color}}
| The color of dimensional (datum) constraints.
|
|-
|-
| {{MenuCommand|Cursor text color}}
| {{MenuCommand|Cursor text color}}
| Text color of the coordinates. When creating a new sketch element or when dragging an existing element the coordinates are displayed next to the cursor in the specified color.
|
|-
|-
| {{MenuCommand|Cursor crosshair color}}
| {{MenuCommand|Cursor crosshair color}}
| The color of the crosshair cursor. This is the cursor you get when creating a new sketch element.
|
|}
|}


<!--T:7-->
<!--T:7-->
[[File:Preference_Sketcher_Tab_02.png]]
[[File:Preference_Sketcher_Tab_02.png]]

</translate>
{{clear}}
<translate>
<!--T:11-->
<!--T:11-->
{{Docnav|[[Sketcher_SwitchVirtualSpace|Switch Virtual Space]]||[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher SwitchVirtualSpace.png|IconC=Workbench_Sketcher.svg|IconR=}}
{{Docnav|[[Sketcher_SwitchVirtualSpace|Switch Virtual Space]]||[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher SwitchVirtualSpace.svg|IconC=Workbench_Sketcher.svg|IconR=Freecad.svg}}


<!--T:12-->
<!--T:12-->
{{Sketcher Tools navi}}
{{Sketcher Tools navi}}

<!--T:13-->
{{Userdocnavi}}
{{Userdocnavi}}


<!--T:8-->
[[Category:User Documentation]]

<!--T:14-->
[[Category:Sketcher]]
</translate>
</translate>
{{clear}}
{{clear}}

Revision as of 13:23, 26 September 2019

The preferences screen of the Sketcher Workbench are found in the Preferences Editor, Edit → Preferences → Sketcher.

There are two tabs: General, and Colors.

General

In the General tab you can specify the following:

Name Description
Font size The font size used for the labels and constraints in the sketch.
Grid line pattern The line pattern used for grid lines. Grid lines will be displayed if you set the option Show grid.
Segments per geometry Curves are approximated by polygon segments for visualization. The segments per geometry define the number of polygons for the approximation. The lower limit are 50 segments. Higher values refine the visualization but can lead to longer calculation times, especially for B-splines.
Ask for value after creating a dimensional constraint If checked, a dialog will pop up to input a value for new dimensional constraints.
Geometry Creation "Continue Mode" If checked, the current sketcher creation tool will remain active after the creation. If you use for example the line tool , it will remain active after you created a line with it. You can leave the tool any time by right-clicking into the sketch.
Constraint Creation "Continue Mode" If checked, the current constraint creation tool will remain active after the creation. If you use for example the tangent tool , it will remain active after you created a constraint. You can leave the tool any time by right-clicking into the sketch.
Hide base length units for supported unit systems If checked, base length units will not be displayed in the sketch constraints. The actual base length unit is the one of the selected unit system.
Hide all objects that depend on the sketch If checked, all features that depend the sketch will be hidden when the sketch is opened. Note that the effect of this option might not occur when using the option Show objects used for external geometry and/or Show object(s) sketch is attached to.
Show objects used for external geometry If checked, all objects used for an external geometry will be shown. If you edit for example a sketch that uses the geometry of a pad, this pad will be shown (if not already). Other features in the model tree between the pad and the sketch will not necessarily be shown.
Show object(s) sketch is attached to If checked, objects the sketch is attached to will be shown when the sketch is opened. If you attached for example a sketch to a pocket, this pocket will be shown (if not already). Otherwise you will only see the sketch if the pocket was not shown in advance.
Restore camera position after editing If checked, the camera position is moved back to where it was before sketch was opened.
Apply to existing sketches If pressed, the options in the preferences section Visibility automation will be applied to existing sketches too. Otherwise these settings will only be used for new sketches.
Notify automatic constraint substitutions If checked, you will be informed with a dialog about constraint substitutions. For example if the endpoints of two arcs are connected with the coincident constraint and you reconnect the arcs using the tangent constraint, the coincidence constraint will be substituted by the tangent constraint and you will get a popup dialog to telling you this.
Show Grid If checked, a grid will be shown in the sketches.

This option and the following 5 preferences settings can also be specified only for single sketches in the sketcher dialog section Edit controls.

Grid size The distance between two subsequent grid lines. Note that the default value of 0 mm will result in a 10 mm grid.
Grid snap If checked, new points will snap to the nearest grid line. Note that the points have already to be close to a grid line that the snap takes effect. The distance is a fifth of the value set for Grid size, so for a 10 mm grid, the snapping only occurs if the point is not more than 2 mm away from a grid line.

Note: A snapped point has no coincident constraint with the grid point it snapped to.

Auto constraints If checked, the sketcher proposes automatically sensible constraints. If you draw for example a polyline and point towards the bottom, you will see that the sketcher proposes a vertical constraint:. If you set now a point the drawn line segment will get the vertical constraint.
Avoid redundant auto constraints If checked, the sketcher tries not to propose redundant auto constraints. This option only has an effect if also the option Auto constraints is used.
Rendering order The order how sketches are rendered. To change it, drag and drop one of the geometries to the top or bottom.
Show Advanced Solver Control in the Task bar If checked, the sketcher dialog will have the additional section Advanced solver control to adjust solver settings.
Improve solving while dragging If checked, a special solver algorithm will be used while dragging sketch elements. This avoids that the sketch flips around while dragging. It is an improvement for most cases, however for complex sketches this option can increase the time to solve the sketch.

Colors

In the Colors tab you can specify the following:

Name Description
Default edge color The color in which sketch edges will be displayed when the sketch is not edited.

Note: Changing the color will only have an effect for new sketches.

Default vertex color The color in which sketch vertices (points) will be displayed when the sketch is not edited.

Note: Changing the color will only have an effect for new sketches.

Making line color The color used while new sketch elements are created.
Edit edge color The color in which sketch edges will be displayed when the sketch is edited.
Edit vertex color The color in which sketch vertices (points) will be displayed when the sketch is edited.
Construction geometry The color of construction geometry in edit mode.
External geometry The color of external geometry in edit mode.
Fully constrained geometry The color of fully constrained geometry in edit mode.
Constraint color The color of constraints in edit mode.
Reference Constraint color The color of reference constraints in edit mode.
Expression dependent constraint color The color of expression dependent constraints in edit mode.
Deactivated constraint color The color of deactivated constraints in edit mode. introduced in version 0.19
Datum color The color of dimensional (datum) constraints.
Cursor text color Text color of the coordinates. When creating a new sketch element or when dragging an existing element the coordinates are displayed next to the cursor in the specified color.
Cursor crosshair color The color of the crosshair cursor. This is the cursor you get when creating a new sketch element.