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|0.22}}: In most cases it is advisable to use the combined [[Sketcher_ConstrainHorVer|Sketcher ConstrainHorVer]] command instead.

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


Line 42: Line 48:
{{clear}}
{{clear}}
</div>
</div>

[[File:HorizontalConstraint2.png|500px]]
{{Caption|The line turns dark green.}}

[[File:HorizontalConstraint3.png|500px]]
{{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.}}

[[File:HorizontalConstraint4.png|500px]]
{{Caption|Multiple lines may be selected}}

[[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 59: Line 53:
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Horizontal', Line))}}
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Horizontal', Line))}}


The [[Scripting_Sketcher_constraints_in_Python|Scripting Sketcher constraints in Python]] page explains the values which can be used for {{incode|Line}} and contains further examples on how to create constraints from Python scripts.
The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|Line}} and contains further examples on how to create constraints from Python scripts.




Line 66: Line 60:
</div>
</div>


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

Latest revision as of 09:24, 20 January 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 0.22: In most cases it is advisable to use the combined Sketcher ConstrainHorVer command instead.

Utilizzo

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.

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.