Sketcher ConstrainPointOnObject/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/ru| Coincident| Vertical| Sketcher |IconL=Constraint_PointOnPoint.png|...")
(Updating to match new version of source page)
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
{{Docnav/ru|
{{Docnav/ru|
[[Sketcher ConstrainCoincident/ru|Coincident]]|
[[Sketcher ConstrainCoincident/ru|Coincident]]|
Line 5: Line 6:
IconL=Constraint_PointOnPoint.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_Vertical.png
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=Sketcher ConstrainPointOnObject
Line 14: Line 17:
|SeeAlso=[[Sketcher ConstrainCoincident/ru|Ограничение коинциндентности]]
|SeeAlso=[[Sketcher ConstrainCoincident/ru|Ограничение коинциндентности]]
}}
}}
</div>


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


<div class="mw-translate-fuzzy">
==How to Use==
==Использование==
#Select the point you want to affix 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).
#Выделите линию, к которой Вы хотите прикрепить выделенную точку (выделенная точка становится зелёной).
#Press the {{KEY|[[File:Constraint_PointOnObject.png|24px]] '''Constrain point unto object'''}} button.
#Нажмите кнопку {{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>


== Скрипты ==
{{clear}}
Ограничения можно создавать макросами и в консоли python, используя следующие команды:
{{Code|code= Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))}}


{{incode|Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))}}
where :


<div class="mw-translate-fuzzy">
* Sketch is a sketch object
* Sketch это объект эскиза
* 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)
* LineMoving это номер, обозначающий линию, содержащую точку, которая будет передвинута на LineFixed (линию, которая останется на месте)
*PointOfLineMoving is the number of the vertex of line LineMoving, that has to be moved onto the LineFixed
*PointOfLineMoving это номер вершины линии LineMoving, которая будет передвинута на LineFixed
*LinedFixed is the number of the line to be affixed onto the point PointOfLineMoving
*LinedFixed это номер линии, к которой будет прикреплена точка PointOfLineMoving

</div>
How to identify the number that designates lines and points ? Please refer to the scripting part of [[Sketcher ConstrainCoincident]].


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


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


{{Sketcher Tools navi/ru}}
{{Sketcher Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

{{Userdocnavi/ru}}

{{clear}}
{{clear}}

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.