Sketcher: constrângere punct pe obiect

From FreeCAD Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Sketcher ConstrainPointOnObject and the translation is 7% complete.
Outdated translations are marked like this.

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 0.22: This command is replaced by the Sketcher ConstrainCoincidentUnified command if the Unify Coincident and PointOnObject option is selected in the Sketcher 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.
  1. Optionally 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. There are several ways to invoke the command:
    • Press the Constrain point onto object button.
    • Select the Sketch → Sketcher constraints → Constrain point onto object option from the menu.
    • Use the keyboard shortcut: O.
  3. To indicate that the command has been activated the cursor changes to a white cross with the command icon.
  4. Optionally keep selecting elements. You can only select two elements at a time now.
  5. To finish the command press Esc or the right mouse button, or start a another constraints or geometries command.

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.