Sketcher ConstrainHorizontal/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "Sketcher ConstrainHorizontal")
 
(Updating to match new version of source page)
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{GuiCommand
{{Docnav
|[[Sketcher_ConstrainHorVer|Horizontal/vertical]]
|[[Sketcher_ConstrainVertical|Vertical]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainHorVer.svg
|IconR=Sketcher_ConstrainVertical.svg
|IconC=Workbench_Sketcher.svg
}}

<div class="mw-translate-fuzzy">
{{GuiCommand/ro
|Name=Constraint Horizontal
|Name=Constraint Horizontal
|Name/ro=Constraint Horizontal
|Workbenches=[[Sketcher Workbench|Sketcher]]
|Workbenches=[[Sketcher Workbench/ro|Sketcher]]
|Shortcut=H
|Shortcut=H
|MenuLocation=Sketch → Sketcher constraints → Constrain horizontally
|MenuLocation=Sketch → Sketcher constraints → Constrain horizontally
|SeeAlso=[[Sketcher ConstrainVertical|Constraint Vertical]]
|SeeAlso=[[Sketcher ConstrainVertical/ro|Constraint Vertical]]
}}
}}
</div>


==Description==
<span id="Description"></span>
==Descriere==
The Horizontal Constraint forces a selected line or lines in the sketch to be parallel to the horizontal axis of the sketch.


<div class="mw-translate-fuzzy">
==How to Use==
'''Constrângerea orizontală''' forțează o linie din schiță să fie paralelă cu axa orizontală a schiței.
</div>

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

<span id="Usage"></span>
<div class="mw-translate-fuzzy">
==Cum se folosește==
</div>

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

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

<div class="mw-translate-fuzzy">
[[File:HorizontalConstraint1.png|left|256px]]
[[File:HorizontalConstraint1.png|left|256px]]
Selectați linia făcând click pe ea.
Select a line in the sketch by clicking on it.
<br style="clear: both" />
<br style="clear: both" />
[[File:HorizontalConstraint2.png|left|256px]]
[[File:HorizontalConstraint2.png|left|256px]]
Linia își schimbă culaorea în verde închis.
The line turns dark green.
<br style="clear: both" />
<br style="clear: both" />
[[File:HorizontalConstraint3.png|left|256px]]
[[File:HorizontalConstraint3.png|left|256px]]
Apply the Horizontal Constraint by clicking on the Horizontal Constraint icon [[File:Constraint_Horizontal.png|16px]] 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.
Apply the Horizontal Constraint by clicking on the Horizontal Constraint icon [[File:Constraint_Horizontal.png|16px]] în bara de instrumente Sketcher Constructors sau selectând elementul de meniu Sketcher Constructors din Atelierul Sketcher (sau elementul de design al piesei de proiectare a bancului de lucru Part Design). Linia selectată este constrânsă fie paralelă cu axa orizontală a schiței.
<br style="clear: both" />
<br style="clear: both" />
[[File:HorizontalConstraint4.png|left|256px]]
[[File:HorizontalConstraint4.png|left|256px]]
Multiple lines may be selected,
Multiple linii pot fi selectate,
<br style="clear: both" />
<br style="clear: both" />
[[File:HorizontalConstraint5.png|left|256px]]
[[File:HorizontalConstraint5.png|left|256px]]
și apoi aplicarea constrângerii așa cum este descrisă mai sus, ele sunt constrânse să fie paralele cu axa orizontală.
and then applying the constraint as described above, they are constrained to be parallel to the sketch horizontal axis.
<br style="clear: both" />
<br style="clear: both" />
</div>

===Run-once mode===

# 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.
# Invoke the tool as explained above, or with the following additional option:
#* {{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.
# Depending on the selection one or more constraints are added.

== Scripting ==

{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Horizontal', Line))}}

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.


<div class="mw-translate-fuzzy">
[[Category:Sketcher/ro]]
</div>

{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 14:54, 23 April 2024

Constraint Horizontal

poziția meniului
Sketch → Sketcher constraints → Constrain horizontally
Ateliere
Sketcher
scurtătură
H
Prezentat în versiune
-
A se vedea, de asemenea,
Constraint Vertical

Descriere

Constrângerea orizontală forțează o linie din schiță să fie paralelă cu axa orizontală a schiței.

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

Cum se folosește

See also: Drawing aids.

Continue mode

Selectați linia făcând click pe ea.

Linia își schimbă culaorea în verde închis.

Apply the Horizontal Constraint by clicking on the Horizontal Constraint icon în bara de instrumente Sketcher Constructors sau selectând elementul de meniu Sketcher Constructors din Atelierul Sketcher (sau elementul de design al piesei de proiectare a bancului de lucru Part Design). Linia selectată este constrânsă să fie paralelă cu axa orizontală a schiței.

Multiple linii pot fi selectate,

și apoi aplicarea constrângerii așa cum este descrisă mai sus, ele sunt constrânse să fie paralele cu axa orizontală.

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.