Preferenze di Sketcher

From FreeCAD Documentation
Revision as of 14:03, 2 December 2020 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Le preferenze per l'ambiente Sketcher si trovano nel Editor delle preferenze, nel menu Modifica → Preferenze → Sketcher.

v0.18.x

Below are Sketcher preferences available in v0.18.x.

Sono disponibili due schede: Generale e Colori.

Generale

Nella scheda "Generale" è possibile specificare quanto segue:

Nome Descrizione
Font size La dimensione del carattere utilizzata per le etichette e i vincoli nello schizzo.
Grid line pattern Il modello di linea utilizzato per le linee della griglia. Le linee della griglia sono visualizzate se si imposta l'opzione Mostra griglia.
Segments per geometry Le curve sono approssimate da segmenti poligonali per la visualizzazione. I segmenti per geometria definiscono il numero di poligoni per l'approssimazione. Il limite inferiore è di 50 segmenti. Valori più alti migliorano la visualizzazione ma possono portare a tempi di calcolo più lunghi, soprattutto per le B-spline.
Ask for value after creating a dimensional constraint Se selezionato, viene visualizzata una finestra di dialogo per inserire un valore per i nuovi vincoli dimensionali.
Geometry Creation "Continue Mode" Se selezionato, lo strumento di creazione dello sketcher corrente rimane attivo dopo la creazione. Se si us ad esempio lo strumento linea , esso rimane attivo dopo aver creato una linea. È possibile uscire dallo strumento in qualsiasi momento facendo clic con il pulsante destro del mouse sullo schizzo.
Constraint Creation "Continue Mode" Se selezionato, lo strumento di creazione del vincolo corrente rimane attivo dopo la creazione. Se si us ad esempio lo strumento tangente , esso rimane attivo dopo aver creato un vincolo. È possibile uscire dallo strumento in qualsiasi momento facendo clic con il pulsante destro del mouse sullo schizzo.
Hide base length units for supported unit systems Se selezionato, le unità di lunghezza base non sono visualizzate nei vincoli dello schizzo. L'unità di lunghezza base effettiva è quella selezionata nel sistema di unità.
Hide all objects that depend on the sketch Se selezionato, tutte le funzioni che dipendono dallo schizzo vengono nascoste quando lo schizzo viene aperto. Si noti che l'effetto di questa opzione potrebbe non verificarsi quando si utilizza l'opzione Show objects used for external geometry e/o Show object(s) sketch is attached to.
Show objects used for external geometry Se selezionato, vengono mostrati tutti gli oggetti utilizzati per la geometria esterna. Se si modifica ad esempio uno schizzo che utilizza la geometria di un pad, questo pad viene mostrato (se non lo è già). Le altre funzioni nell'albero del modello comprese tra il pad e lo schizzo non sono necessariamente mostrate.
Show object(s) sketch is attached to Se selezionato, gli oggetti a cui è collegato lo schizzo vengono mostrati quando lo schizzo viene aperto. Se per esempio uno schizzo è attaccato a una tasca, questa tasca viene mostrata (se non lo è già). Altrimenti si vede solo lo schizzo se la tasca non è stata mostrata in anticipo.
Restore camera position after editing Se selezionato, la posizione della telecamera viene riportata al punto in cui era prima dell'apertura dello schizzo.
Apply to existing sketches Se premuto, le opzioni nella sezione delle preferenze Visibility automation vengono applicate anche agli schizzi esistenti. In caso contrario, queste impostazioni vengono utilizzate solo per i nuovi schizzi.
Notify automatic constraint substitutions Se selezionato, si viene informati con una finestra di dialogo sulle sostituzioni di vincoli. Ad esempio se gli endpoint di due archi sono collegati con un vincolo di coincidenza e si riconnettono gli archi usando il vincolo di tangenza, il vincolo di coincidenza viene sostituito dal vincolo tangenza e si apre una finestra di dialogo popup che avvisa sulla sostituzione.
Show Grid Se selezionato, viene mostrata una griglia negli schizzi.

Questa opzione e le seguenti 5 impostazioni delle preferenze possono anche essere specificate solo per singoli schizzi nel Dialogo della sezione Controlli di editazione.

Grid size La distanza tra due successive linee della griglia. Si noti che il valore predefinito di 0 mm comporterà una griglia di 10 mm.
Grid snap Se selezionato, i nuovi punti vengono agganciati alla linea della griglia più vicina. Si noti che i punti devono già essere vicini a una linea della griglia per rendere effettivo lo snap. La distanza è un quinto del valore impostato per Grid size, quindi per una griglia da 10 mm, lo snap si verifica solo se il punto è entro 2 mm da una linea della griglia.

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.

Colori

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.

v0.19.x

There are three tabs: General, Display, and Colors.

General

In the General tab you can specify the following:

Name Description
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.
Auto remove redundants TBD
Esc can leave sketch edit mode If checked, Esc key will trigger exiting sketch editing 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 to telling you this.


Display

In the Display 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.

File:FreeCAD-v0.19-Sketcher-Preferences-Display.png

Colors

File:FreeCAD-v0.19-Sketcher-Preferences-Colors.png