Sketcher ConstrainPointOnObject/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<br />
<languages/>
<div class="mw-translate-fuzzy">
{{Docnav/ru|
[[Sketcher ConstrainCoincident/ru|Coincident]]|
[[Sketcher_ConstrainVertical/ru|Vertical]]|[[Sketcher_Workbench/ru|Sketcher]]|
IconL=Constraint_PointOnPoint.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_Vertical.png
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name=Sketcher ConstrainPointOnObject
|Name=Constraint PointOnObject
|Name/ru=Constraint PointOnObject
|Name/ru=Sketcher ConstrainPointOnObject
|Workbenches=[[Sketcher Workbench/ru|Sketcher]], [[PartDesign Workbench/ru|PartDesign]]
|Workbenches=[[Sketcher Workbench/ru|Sketcher]], [[PartDesign Workbench/ru|PartDesign]]
|MenuLocation=Sketch → Ограничения эскиза → Зафиксировать точку на объекте
|MenuLocation=Sketch → Ограничения эскиза → Зафиксировать точку на объекте
|Shortcut=Shift+O
|Shortcut=Shift+O
|SeeAlso=[[Constraint PointOnPoint/ru|Ограничение коинциндентности]]
|SeeAlso=[[Sketcher ConstrainCoincident/ru|Ограничение коинциндентности]]
}}
}}
</div>


==Описание==
==Description==
Прикрепляет точку к другому объекту, вроде линии, дуги или оси эскиза..
Affixes a point onto another object such as a line, arc, or axis.


<div class="mw-translate-fuzzy">
==How to Use==
==Использование==
#Select the point you want to affixe onto a line/arc/etc. (Once selected the point become green).
#Выделите точку, которую Вы хотите прикрепить к линии, дуге и так далее (выделенная точка становится зелёной).
#Select the line you want to be affixed onto the point you have just selected (Once selected the line become green).
#Выделите линию, к которой Вы хотите прикрепить выделенную точку (выделенная точка становится зелёной).
#Click the constraint button «point onto object » [[Image:Constraint_PointOnObject.png|24px]].
#Нажмите кнопку {{KEY|[[File:Constraint_PointOnObject.png|24px]] '''Constrain point unto object'''}}.
</div>


# Select the point you want to affix onto a line/arc/etc. ('''Result:''' Once selected the point will become green).
Note : The order you select the line and point does not matter. The point will always move to line. The line remains fixed.
# 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 {{KEY|[[File:Constraint_PointOnObject.svg|24px]]}} 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.


<div class="mw-translate-fuzzy">
== Scripting ==
Примечание: Порядок, в котором Вы выбираете линии и точки не важен. Точка всегда переносится на линию, линия остаётся на месте.
The constraint can be created from macros and from the python console by using the following command:
</div>
{{Code|code= Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))}}


== Скрипты ==
where :
Ограничения можно создавать макросами и в консоли python, используя следующие команды:


{{incode|Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))}}
* Sketch is a sketch object
* LineMoving is the number that designates the line, which contains the point that has to be moved onto the LineFixed (The line which is fixed)
*PointOfLineMoving is the number of the vertex of line LineMoving, that has to be moved onto the LineFixed
*LinedFixed is the number of the line to be affixed onto the point PointOfLineMoving


<div class="mw-translate-fuzzy">
How to indentify the number that designates lines and points ? Please refer to the scripting part of [[Constraint_PointOnPoint|this wiki page]].
* Sketch это объект эскиза
* LineMoving это номер, обозначающий линию, содержащую точку, которая будет передвинута на LineFixed (линию, которая останется на месте)
*PointOfLineMoving это номер вершины линии LineMoving, которая будет передвинута на LineFixed
*LinedFixed это номер линии, к которой будет прикреплена точка PointOfLineMoving
</div>


<div class="mw-translate-fuzzy">
<br />
Как узнать номер, определяющий линии и точки? Смотрите скриптовую часть [[Sketcher ConstrainCoincident/ru|Sketcher ConstrainCoincident]].
</div>


<div class="mw-translate-fuzzy">
{{Docnav/ru|
[[Sketcher ConstrainCoincident/ru|Coincident]]|
[[Sketcher_ConstrainVertical/ru|Vertical]]|
[[Sketcher_Workbench/ru|Sketcher]]
|IconL=Constraint_PointOnPoint.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_Vertical.png
}}
</div>

{{Sketcher Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}
<languages/>

Revision as of 21:43, 28 March 2020

Sketcher ConstrainPointOnObject

Системное название
Sketcher ConstrainPointOnObject
Расположение в меню
Sketch → Ограничения эскиза → Зафиксировать точку на объекте
Верстаки
Sketcher, PartDesign
Быстрые клавиши
Shift+O
Представлено в версии
-
См. также
Ограничение коинциндентности

Описание

Прикрепляет точку к другому объекту, вроде линии, дуги или оси эскиза..

Использование

  1. Выделите точку, которую Вы хотите прикрепить к линии, дуге и так далее (выделенная точка становится зелёной).
  2. Выделите линию, к которой Вы хотите прикрепить выделенную точку (выделенная точка становится зелёной).
  3. Нажмите кнопку Constrain point unto object.
  1. Select the point you want to affix onto a line/arc/etc. (Result: Once selected the point will become green).
  2. Select the line you want affixed onto the point you have just selected (Result: Once selected the line becomes green).
  3. Invoke the Constrain point onto object tool using several methods:
    • Press the button in the toolbar.
    • Use the Shift + O keyboard shortcut.
    • Use the Sketch → Sketcher constraints → Constrain point onto object entry in the top menu.

Примечание: Порядок, в котором Вы выбираете линии и точки не важен. Точка всегда переносится на линию, линия остаётся на месте.

Скрипты

Ограничения можно создавать макросами и в консоли python, используя следующие команды:

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

  • Sketch это объект эскиза
  • LineMoving это номер, обозначающий линию, содержащую точку, которая будет передвинута на LineFixed (линию, которая останется на месте)
  • PointOfLineMoving это номер вершины линии LineMoving, которая будет передвинута на LineFixed
  • LinedFixed это номер линии, к которой будет прикреплена точка PointOfLineMoving

Как узнать номер, определяющий линии и точки? Смотрите скриптовую часть Sketcher ConstrainCoincident.