Sketcher ConstrainHorizontal/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{UnfinishedDocu{{#translation:}}}}
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Docnav/it|[[Sketcher_ConstrainVertical/it|Verticale]]|[[Sketcher_ConstrainParallel/it|Parallela]]|[[Sketcher_Workbench/it|Sketcher]]|IconL=Constraint_Vertical.svg|IconC=Workbench_Sketcher.svg|IconR=Constraint Parallel.svg}}
{{Docnav/it|[[Sketcher_ConstrainVertical/it|Verticale]]|[[Sketcher_ConstrainParallel/it|Parallela]]|[[Sketcher_Workbench/it|Sketcher]]|IconL=Constraint_Vertical.svg|IconC=Workbench_Sketcher.svg|IconR=Constraint Parallel.svg}}
Line 9: Line 9:
</div>
</div>


<span id="Description"></span>
==Descrizione==
==Descrizione==


<div class="mw-translate-fuzzy">
Il vincolo Orizzontale impone a una o più linee selezionate nello schizzo di essere parallele all'asse orizzontale del disegno.
Il vincolo Orizzontale impone a una o più linee selezionate nello schizzo di essere parallele all'asse orizzontale del disegno.
</div>


{{Version|1.0}}: In most cases it is advisable to use the combined [[Sketcher_ConstrainHorVer|Sketcher ConstrainHorVer]] tool instead.

<span id="Usage"></span>
==Utilizzo==
==Utilizzo==

See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].

===[[Sketcher_Workbench#Continue_modes|Continue mode]]===


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 43: Line 53:
</div>
</div>


===Run-once mode===
[[File:HorizontalConstraint2.png|500px]]
{{Caption|The line turns dark green.}}


# Do one of the following:
[[File:HorizontalConstraint3.png|500px]]
#* Select two or more points.
{{Caption|Apply the Horizontal Constraint by clicking on the {{Button|[[File:Sketcher_ConstrainHorizontal.svg|16px]] [[Sketcher_ConstrainHorizontal|Constraint horizontal]]}} in the Sketcher Constraints toolbar or by selecting the Constrain horizontally menu item in the Sketcher constraints sub menu of the Sketcher menu item in the Sketcher work bench (or the Part Design menu item of the Part Design work bench). The selected line is constrained to be parallel to the horizontal axis of the sketch.}}
#* Select one or more lines. Points can be included in the selection, but will be ignored.

# Invoke the tool as explained above, or with the following additional option:
[[File:HorizontalConstraint4.png|500px]]
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ConstrainHorizontal.svg|16px]] Constrain horizontal}} option from the context menu.
{{Caption|Multiple lines may be selected}}
# Depending on the selection one or more constraints are added.

[[File:HorizontalConstraint5.png|500px]]
{{Caption|and then applying the constraint as described above, they are constrained to be parallel to the sketch horizontal axis.}}


== Scripting ==
== Scripting ==
Line 66: Line 73:
</div>
</div>


{{Sketcher Tools navi{{#translation:}}}}
{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 14:54, 23 April 2024

Vincolo orizzontale

Posizione nel menu
PartDesign → Vincoli → Orizzontale
Ambiente
Schizzo, PartDesign
Avvio veloce
H
Introdotto nella versione
-
Vedere anche
Verticale

Descrizione

Il vincolo Orizzontale impone a una o più linee selezionate nello schizzo di essere parallele all'asse orizzontale del disegno.

introduced in version 1.0: In most cases it is advisable to use the combined Sketcher ConstrainHorVer tool instead.

Utilizzo

See also: Drawing aids.

Continue mode

Selezionare una linea nello schizzo cliccando su di essa.

La linea assume il colore verde scuro.

Applicare il vincolo Orizzontale facendo clic sull'icona vincolo orizzontale nella barra degli strumenti vincoli di Schizzo oppure selezionando la voce nel menu orizzontale Vincoli di Schizzo nell'ambiente Schizzo (o nel menu di Parte per l'ambiente di lavoro Part Design).

La linea selezionata viene forzata parallela all'asse orizzontale del disegno.

Si possono selezionare più linee,

a cui applicare lo stesso vincolo di prima,

e forzarle parallele all'asse orizzontale dello schizzo.

Run-once mode

  1. Do one of the following:
    • Select two or more points.
    • Select one or more lines. Points can be included in the selection, but will be ignored.
  2. Invoke the tool as explained above, or with the following additional option:
  3. Depending on the selection one or more constraints are added.

Scripting

Sketch.addConstraint(Sketcher.Constraint('Horizontal', Line))

The Sketcher scripting page explains the values which can be used for Line and contains further examples on how to create constraints from Python scripts.