Sketcher Preferences: Difference between revisions
(Removed Sketcher_ConstrainInternalAlignment link.) |
(Some grid prefs are used for new sketches only.) |
||
Line 62: | Line 62: | ||
|- |
|- |
||
| {{MenuCommand|Grid}} |
| {{MenuCommand|Grid}} |
||
| If checked, a grid will be shown while the sketch is in edit mode. |
| If checked, a grid will be shown while the sketch is in edit mode. Used for new sketches. Is stored in the {{PropertyView|Show Grid}} property of sketches. |
||
|- |
|- |
||
| {{MenuCommand|Grid Auto Spacing}} |
| {{MenuCommand|Grid Auto Spacing}} |
||
| If checked, grid spacing is automatically adapted based on the view dimensions. |
| If checked, grid spacing is automatically adapted based on the view dimensions. Used for new sketches. Is stored in the {{PropertyView|Grid Auto}} property of sketches. |
||
|- |
|- |
||
| {{MenuCommand|Grid spacing}} |
| {{MenuCommand|Grid spacing}} |
||
| The distance between two subsequent grid lines. Used as a base value if {{MenuCommand|Grid Auto Spacing}} is enabled. |
| The distance between two subsequent grid lines. Used as a base value if {{MenuCommand|Grid Auto Spacing}} is enabled. Used for new sketches. Is stored in the {{PropertyView|Grid Size}} property of sketches. |
||
|- |
|- |
||
| {{MenuCommand|Pixel size threshold}} |
| {{MenuCommand|Pixel size threshold}} |
Revision as of 15:02, 23 May 2023
The preferences for the Sketcher Workbench can be found in the Preferences Editor. In the menu select Edit → Preferences... and then Sketcher.
There are four tabs: General, Grid, Display and Colors.
General
On the General tab you can specify the following:
Name | Description |
---|---|
Show section 'Advanced solver control' | If checked, the sketcher dialog will show the 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. |
Auto remove redundants | If checked, new constraints that are redundant are automatically removed. |
Esc can leave sketch edit mode | If checked, the Esc key can trigger exiting sketch edit mode. The option to disable this may be useful for users who are used to pressing Esc as part of their workflow in other CAD solutions but don't necessarily want to exit a sketch. |
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 telling you this. |
Grid
On the Grid tab (introduced in version 0.21) you can specify the following:
Name | Description |
---|---|
Grid | If checked, a grid will be shown while the sketch is in edit mode. Used for new sketches. Is stored in the ViewShow Grid property of sketches. |
Grid Auto Spacing | If checked, grid spacing is automatically adapted based on the view dimensions. Used for new sketches. Is stored in the ViewGrid Auto property of sketches. |
Grid spacing | The distance between two subsequent grid lines. Used as a base value if Grid Auto Spacing is enabled. Used for new sketches. Is stored in the ViewGrid Size property of sketches. |
Pixel size threshold | The grid spacing threshold in pixels. Only used if Grid Auto Spacing is enabled. If the onscreen spacing is smaller than this value, physical grid spacing is multiplied by the Major grid lines every value. If the onscreen spacing is larger than the threshold value times the every value, physical grid spacing is divided by the every value. If the every value is set to 1, 10 is used instead in these calculations. |
Minor grid lines | For minor grid lines you can specify:
|
Major grid lines | For major grid lines you can specify:
|
Display
On the Display tab you can specify the following:
Name | Description |
---|---|
Font size | The font size used for the labels and constraints in the sketch. |
View scale ratio introduced in version 0.21 | The 3D view is scaled based on this factor. |
Segments per geometry | Curves are approximated by polygon segments for visualization. This value defines the number of segments. The lower limit is 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, geometry creation tools will remain active after creating an element. You can leave a tool any time by right-clicking in the sketch. |
Constraint creation "Continue Mode" | If checked, constraint creation tools will remain active after creating a constraint. You can leave a tool any time by right-clicking in the sketch. |
Hide base length units for supported unit systems | If checked, the length unit from the selected unit system is used but not displayed in sketch constraints. Only for supported unit systems. |
Show coordinates beside cursor while editing introduced in version 0.21 | If checked, cursor coordinates are displayed beside the cursor while editing a sketch. |
Use system decimals setting for cursor coordinates introduced in version 0.21 | If checked, cursor coordinates will use the system decimals setting instead of the short form. |
Show dimensional constraint name with format introduced in version 0.21 | If checked, the names of dimensional constraints (if available) are displayed using the given format:
|
Hide all objects that depend on the sketch | If checked, all objects that depend on the sketch will be hidden when the sketch is opened. Note that this may have no effect if the Show objects used for external geometry and/or Show objects that the sketch is attached to options are selected. |
Show objects used for external geometry | If checked, hidden objects used for external geometry will be shown when the sketch is opened. If you edit for example a sketch that uses geometry from a pad, this pad will be shown (if not already). Other features in the Tree view between the pad and the sketch will not necessarily be shown. |
Show objects that the sketch is attached to | If checked, hidden 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). |
Restore camera position after editing | If checked, the camera position is moved back to where it was before the sketch was opened. |
Force orthographic camera when entering edit introduced in version 0.20 | If checked, camera mode will be forced to orthographic when the sketch is opened. Camera mode will be restored when leaving edit mode. This preference is only available if Restore camera position after editing is activated. |
Open sketch in Section View mode introduced in version 0.20 | If checked, the sketch will open with 'Section View' active. |
Apply to existing sketches | If pressed, the Visibility automation settings will be applied to existing sketches too. Otherwise they will only be used for new sketches. |
Colors
On the Colors tab you can specify the following colors. Unless otherwise stated the colors are only used while a sketch is in edit mode.
Name | Description |
---|---|
Creating line | The color used for sketch elements while they are being created. |
Coordinate text | The color used for the coordinates displayed while creating sketch elements. |
Cursor crosshair | The color used for the crosshair cursor displayed while creating sketch elements. |
Edge | The colors used for constrained and unconstrained edges. |
Vertex | The colors used for constrained and unconstrained vertices (points). |
Construction geometry | The colors used for constrained and unconstrained construction geometry. |
Internal alignment edge | The colors used for constrained and unconstrained internal alignment edges. |
External geometry | The color used for external geometry. |
Fully constrained Sketch | The color used for a fully constrained sketch. |
Invalid Sketch | The color used for an invalid sketch. |
Constraint symbols | The color used for driving geometric constraints. |
Dimensional constraint | The color used for driving dimensional constraints. |
Reference constraint | The color used for reference dimensional constraints. |
Expression dependent constraint | The color used for expression dependent dimensional constraints. |
Deactivated constraint | The color used for deactivated constraints. |
Colors outside Sketcher: Edge | The color used for edges when not in edit mode. |
Colors outside Sketcher: Vertex | The color used for vertices (points) when not in edit mode. |
Hint: The color for selections inside sketches is the global selection setting Enable selection highlighting, see the Preferences Editor.
Note
There is another preference that has an influence on sketches. If the Transparent objects preference on the Display → 3D View tab is set to Backface pass
, arrowheads on one end of sketch dimensions are hidden on some systems. When viewed from the rear the dimension value can then also be hidden. Versions 0.19 to 0.21 (except Link branch) are affected. In versions 0.19 and 0.20 the effect only occurs if Show grid is deactivated in the Edit controls section of the Task panel as shown below.
See forum topic.
Front view, grid enabled and grid disabled
Rear view, grid enabled and grid disabled hiding arrowheads on the opposite end as well as the dimension value
- General: Create sketch, Edit sketch, Map sketch to face, Reorient sketch, Validate sketch, Merge sketches, Mirror sketch, Leave sketch, View sketch, View section, Toggle grid, Toggle snap, Configure rendering order, Stop operation
- Sketcher geometries: Point, Line, Arc, Arc by 3 points, Circle, Circle by 3 points, Ellipse, Ellipse by 3 points, Arc of ellipse, Arc of hyperbola, Arc of parabola, B-spline by control points, Periodic B-spline by control points, B-spline by knots, Periodic B-spline by knots, Polyline, Rectangle, Centered rectangle, Rounded rectangle, Triangle, Square, Pentagon, Hexagon, Heptagon, Octagon, Regular polygon, Slot, Fillet, Corner-preserving fillet, Trim, Extend, Split, External geometry, Carbon copy, Toggle construction geometry
- Sketcher constraints:
- Geometric constraints: Coincident, Point on object, Vertical, Horizontal, Parallel, Perpendicular, Tangent, Equal, Symmetric, Block
- Dimensional constraints: Lock, Horizontal distance, Vertical distance, Distance, Radius or weight, Diameter, Auto radius/diameter, Angle, Refraction (Snell's law)
- Constraint tools: Toggle driving/reference constraint, Activate/deactivate constraint
- Sketcher tools: Select unconstrained DoF, Select associated constraints, Select associated geometry, Select redundant constraints, Select conflicting constraints, Show/hide internal geometry, Select origin, Select horizontal axis, Select vertical axis, Symmetry, Clone, Copy, Move, Rectangular array, Remove axes alignment, Delete all geometry, Delete all constraints
- Sketcher B-spline tools: Show/hide B-spline degree, Show/hide B-spline control polygon, Show/hide B-spline curvature comb, Show/hide B-spline knot multiplicity, Show/hide B-spline control point weight, Convert geometry to B-spline, Increase B-spline degree, Decrease B-spline degree, Increase knot multiplicity, Decrease knot multiplicity, Insert knot, Join curves
- Sketcher virtual space: Switch virtual space
- Additional: Sketcher Dialog, Preferences, Sketcher scripting
![](/images/thumb/9/94/User_hub.png/24px-User_hub.png)
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub