Sketcher ConstrainPointOnObject/ro: 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/>

{{Docnav
{{Docnav
|[[Sketcher_ConstrainCoincident|Coincident]]
|[[Sketcher_ConstrainCoincident|Coincident]]
|[[Sketcher_ConstrainHorVer|Horizontal/vertical]]
|[[Sketcher_ConstrainVertical|Vertical]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainCoincident.svg
|IconL=Sketcher_ConstrainCoincident.svg
|IconR=Sketcher_ConstrainVertical.svg
|IconR=Sketcher_ConstrainHorVer.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
Line 26: Line 27:
</div>
</div>


{{Version|1.0}}: This tool is replaced by the [[Sketcher_ConstrainCoincidentUnified|Sketcher ConstrainCoincidentUnified]] tool if the '''Unify Coincident and PointOnObject''' option is selected in the [[Sketcher_Preferences#General|preferences]].

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


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
# Select the point you want to affix onto a line/arc/etc. ('''Result:''' Once selected the point will become green).
# Select the line you want affixed onto the point you have just selected ('''Result:''' Once selected the line becomes green).
# Invoke the '''Constrain point onto object''' tool using several methods:
#* Press the {{Button|[[File:Sketcher_ConstrainPointOnObject.svg|16px]] [[Sketcher_ConstrainPointOnObject|Point on object]]}} button in the toolbar.
#* Use the {{KEY|Shift}} + {{KEY|O}} keyboard shortcut.
#* Use the {{MenuCommand|Sketch → Sketcher constraints → Constrain point onto object}} entry in the top menu.


===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
<div class="mw-translate-fuzzy">

Notă : Ordinea în care alegeți linia și punctul nu contează. Punctul se va muta întotdeauna pe linie. Linia rămâne fixă.
# Make sure there is no selection.
</div>
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_ConstrainPointOnObject.svg|16px]] [[Sketcher_ConstrainPointOnObject|Constrain point on object]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainPointOnObject.svg|16px]] Constrain point on object}} option from the menu.
#* Use the keyboard shortcut: {{KEY|O}}.
# The cursor changes to a cross with the tool icon.
# Select a single point and a single edge (in any order).
# A constraint is added.
# Optionally keep creating constraints.
# To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.

===Run-once mode===

# Do one of the following:
#* Select a single point and a single edge (in any order).
#* Select several points and a single edge (idem).
#* Select a single point and several edges (idem).
# Invoke the tool as explained above.
# Depending on the selection one or more constraints are added.


==Scripting==
==Scripting==
Line 67: Line 84:
{{Docnav
{{Docnav
|[[Sketcher_ConstrainCoincident|Coincident]]
|[[Sketcher_ConstrainCoincident|Coincident]]
|[[Sketcher_ConstrainHorVer|Horizontal/vertical]]
|[[Sketcher_ConstrainVertical|Vertical]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainCoincident.svg
|IconL=Sketcher_ConstrainCoincident.svg
|IconR=Sketcher_ConstrainVertical.svg
|IconR=Sketcher_ConstrainHorVer.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}


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

Latest revision as of 14:51, 23 April 2024

Sketcher ConstrainPointOnObject

Menu location
Sketch → Sketcher constraints → Constrain point onto object
Workbenches
Sketcher
Default shortcut
Shift+O
Introduced in version
-
See also
Constrain Coincident

Description

Descriere

Aplică un punct pe un alt obiect, cum ar fi o linie, un arc sau o axă de schiță.

introduced in version 1.0: This tool is replaced by the Sketcher ConstrainCoincidentUnified tool if the Unify Coincident and PointOnObject option is selected in the preferences.

Cum se folosește

  1. Selectați punctul pe care doriți să îl aplicați pe o linie/arc/etc. (Odată selectat punctul devine verde).
  2. Selectați linia pe care doriți să o atașați la punctul pe care tocmai l-ați selectat(Odată selecatată linia devine verde).
  3. Apăsați butonul Constrain point unto object.

See also: Drawing aids.

Continue mode

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • Press the Constrain point on object button.
    • Select the Sketch → Sketcher constraints → Constrain point on object option from the menu.
    • Use the keyboard shortcut: O.
  3. The cursor changes to a cross with the tool icon.
  4. Select a single point and a single edge (in any order).
  5. A constraint is added.
  6. Optionally keep creating constraints.
  7. To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Run-once mode

  1. Do one of the following:
    • Select a single point and a single edge (in any order).
    • Select several points and a single edge (idem).
    • Select a single point and several edges (idem).
  2. Invoke the tool as explained above.
  3. Depending on the selection one or more constraints are added.

Scripting

Script

Constrângerea poate fi creată din macrocomenzi și din consola Python folosind următoarea comandă:

Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))

  • Sketch este un obiect sketch
  • LineMoving este numărul care desemnează linia, care conține punctul care trebuie mutat pe LineFixed (Linia care este fixă)
  • PointOfLineMoving este numărul vârfului liniei LineMoving, care trebuie mutat pe LineFixed
  • LinedFixed este numărul liniei care trebuie aplicată pe punctul PointOfLineMoving

Pentru a identifica numărul care are indică liniile și punctele? Vă rog să vă referinți la parte de script a Sketcher ConstrainCoincident.