Sketcher ConstrainHorizontal/ro: Difference between revisions

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

{{UnfinishedDocu{{#translation:}}}}
{{Docnav
{{Docnav
|[[Sketcher_ConstrainHorVer|Horizontal/vertical]]
|[[Sketcher_ConstrainVertical|Vertical]]
|[[Sketcher_ConstrainVertical|Vertical]]
|[[Sketcher_ConstrainParallel|Parallel]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainVertical.svg
|IconL=Sketcher_ConstrainHorVer.svg
|IconR=Sketcher_ConstrainParallel.svg
|IconR=Sketcher_ConstrainVertical.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
Line 21: Line 21:
</div>
</div>


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


<div class="mw-translate-fuzzy">
'''Constrângerea orizontală''' forțează o linie din schiță să fie paralelă cu axa orizontală a schiței.
'''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">
<div class="mw-translate-fuzzy">
==Cum se folosește==
==Cum se folosește==
</div>
</div>

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 47: Line 57:
</div>
</div>


===Run-once mode===
[[File:HorizontalConstraint2.png|500px]]

{{Caption|The line turns dark green.}}
# 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))}}
[[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.}}


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.
[[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.}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 63: Line 77:
</div>
</div>


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

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.