Sketcher ConstrainHorizontal/ro: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{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
{{GuiCommand/ro
|Name=Constraint Horizontal
|Name=Constraint Horizontal
Line 8: Line 19:
|SeeAlso=[[Sketcher ConstrainVertical/ro|Constraint Vertical]]
|SeeAlso=[[Sketcher ConstrainVertical/ro|Constraint Vertical]]
}}
}}
</div>


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


<div class="mw-translate-fuzzy">
The Horizontal Constraint forces a selected line or lines in the sketch to be parallel to the horizontal axis of the sketch.
'''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>

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.
Selectați linia făcând click pe ea.
Line 32: Line 57:
</div>
</div>


===Run-once mode===
[[File:HorizontalConstraint1.png|left|256px]]

Select a line in the sketch by clicking on it.
# Do one of the following:
<br style="clear: both" />
#* Select two or more points.
[[File:HorizontalConstraint2.png|left|256px]]
#* Select one or more lines. Points can be included in the selection, but will be ignored.
The line turns dark green.
# Invoke the tool as explained above, or with the following additional option:
<br style="clear: both" />
#* {{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.
[[File:HorizontalConstraint3.png|left|256px]]
# Depending on the selection one or more constraints are added.
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.

<br style="clear: both" />
== Scripting ==
[[File:HorizontalConstraint4.png|left|256px]]

Multiple lines may be selected,
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Horizontal', Line))}}
<br style="clear: both" />

[[File:HorizontalConstraint5.png|left|256px]]
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.
and then applying the constraint as described above, they are constrained to be parallel to the sketch horizontal axis.

<br style="clear: both" />

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


{{Sketcher_Tools_navi{{#translation:}}}}
[[Category:Sketcher]]
{{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.