Deduzione automatica
L'editor schizzi Onshape può assegnare automaticamente vincoli a determinate entità. Ad esempio, crea una linea e, quando passi il cursore del mouse su uno dei punti finali sopra l'origine, viene visualizzata una linea punteggiata che indica un'deduzione verticale tra quel punto finale e l'origine.
Durante la creazione dello schizzo, Onshape mostra le deduzioni per l'allineamento orizzontale e verticale tra un'entità e l'origine e/o un'altra entità. In alcuni casi, la deduzione si verifica solo quando il cursore viene spostato vicino a un'altra entità per «risvegliare» la deduzione tra le due entità. Alcune deduzioni di risveglio comunemente utilizzate sono: orizzontale, verticale, punto medio, parallelo e coincidente.



Constraints are added to a sketch either through automatic inferencing or manually.
Automatic inferencing is a quick way to add basic constraints while sketching. It applies to items within the active sketch or entities of the face the sketch is on
Hover over one or more sketch entities with the cursor to wake up inference points.
The type of inferred constraint it is suggesting is shown below the cursor. For vertices and midpoints, it indicates with a yellow highlight. For vertical or horizontal constraints, it indicates with an orange dashed line.
Left-click while these indicators are showing to accept the inferred constraint.
Inferencing is enabled by default but can be temporarily disabled by holding down the Shift key.
Releasing the Shift key makes automatic inferencing available again.
Drag existing sketch entities to utilize automatic inferencing after placement.
For example, dragging the center point of a circle vertically to the origin automatically adds a vertical constraint.
You can also make constraints manually. To add one constraint at a time, pre-select the sketch entities to constrain, then click the constraint that you want in the toolbar.
To add multiple constraints of the same type, select the constraint from the toolbar first, then click on the sketch geometry to constrain.
his keeps the constraint active until it is deselected.
To evaluate the sketch’s definition, there are a couple methods for the constraints you have already applied. To show the constraints applied to an individual sketch entity, hover over it with the cursor.
To see what entities a constraint is applied to, hover the cursor over the constraint icon.
This highlights the sketch geometry associated with that constraint.
Press and hold the Shift key while moving the cursor to retain visible constraint icons.
This makes it easier to select them. Show all constraints by checking Show constraints in the sketch dialog.
Remove a constraint by left-clicking the constraint icon in the graphics area and pressing the Delete key.
Constraint icons are generally either blue or white.
A white constraint icon indicates a constraint between entities within the same sketch.
A blue constraint icon indicates a constraint that is associated with something outside of the sketch, such as an origin or edge of a previous sketch or feature.
Passaggi
- Crea due linee con un vincolo perpendicolare tra di loro.
- Sposta il cursore vicino alla linea fino a quando la deduzione 'si risveglia'.
- Disegna una linea.
Quando si crea uno schizzo, Onshape indica relazioni con altre entità schizzo. Nell'illustrazione sottostante, la linea inferiore (blu) è quella disegnata. Quando è parallela all'altra linea, diventa una linea punteggiata e l'altra è evidenziata in arancione per mostrare che esiste una relazione presente (in questo esempio, è visibile anche l'icona vincolo parallelo).
Per sospendere le deduzioni automatiche, premi il tasto Maiusc durante l'uso del mouse.