Sketcher ConstrainPointOnObject/ru: Difference between revisions
(Created page with "== Скрипты == Ограничения можно создавать макросами и в консоли python, используя следующие команды:") |
(Updating to match new version of source page) |
||
(50 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
[[Sketcher ConstrainCoincident/ru|Coincident]]| |
|||
⚫ | |||
⚫ | |||
|[[Sketcher_ConstrainCoincident/ru|Ограничение наложения точек]] |
|||
IconL=Constraint_PointOnPoint.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_Vertical.png |
|||
|[[Sketcher_ConstrainVertical/ru|Ограничение вертикальности]] |
|||
⚫ | |||
|IconL=Sketcher_ConstrainCoincident.svg |
|||
⚫ | |||
|IconC=Workbench_Sketcher.svg |
|||
}} |
}} |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
|Name/ru=Ограничить точку на объекте |
|||
|Name=Sketcher ConstrainPointOnObject |
|||
|Name=Sketcher_ConstrainPointOnObject |
|||
|Name/ru=Sketcher ConstrainPointOnObject |
|||
⚫ | |||
|Workbenches=[[Sketcher Workbench/ru|Sketcher]], [[PartDesign Workbench/ru|PartDesign]] |
|||
⚫ | |||
⚫ | |||
|Shortcut= |
|Shortcut={{KEY|O}} |
||
|SeeAlso=[[ |
|SeeAlso=[[Sketcher_ConstrainCoincident/ru|Ограничение пересечения]] |
||
}} |
}} |
||
</div> |
|||
<span id="Description"></span> |
|||
==Описание== |
==Описание== |
||
⚫ | |||
<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). |
|||
</div> |
|||
#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. |
|||
{{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]]. |
|||
Note : The order you select the line and point does not matter. The point will always move to line. The line remains fixed. |
|||
<span id="Usage"></span> |
|||
== Скрипты == |
|||
==Применение== |
|||
⚫ | |||
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]]. |
|||
{{clear}} |
|||
⚫ | |||
===[[Sketcher_Workbench#Continue_modes|Continue mode]]=== |
|||
где: |
|||
<div class="mw-translate-fuzzy"> |
|||
* 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 |
|||
#* Нажмите на панели инструментов кнопку {{Button|[[File:Sketcher_ConstrainPointOnObject.svg|16px]] [[Sketcher_ConstrainPointOnObject/ru|Зафиксировать точку на объекте]]}}. |
|||
*LinedFixed is the number of the line to be affixed onto the point PointOfLineMoving |
|||
#* Используйте клавиатурное сокращение {{KEY|Shift}} + {{KEY|O}}. |
|||
#* Используйте пункт верхнего меню {{MenuCommand|Sketch → Ограничения эскиза → Зафиксировать точку на объекте}}. |
|||
</div> |
|||
===Run-once mode=== |
|||
Как узнать номер, определяющий линии и точки? Смотрите скриптовую часть [[Sketcher ConstrainCoincident/ru|Sketcher ConstrainCoincident]]. |
|||
# 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. |
|||
<span id="Scripting"></span> |
|||
⚫ | |||
==Программирование== |
|||
[[Sketcher ConstrainCoincident/ru|Coincident]]| |
|||
⚫ | |||
⚫ | |||
|IconL=Constraint_PointOnPoint.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_Vertical.png |
|||
⚫ | |||
⚫ | |||
{{Sketcher Tools navi/ru}} |
|||
⚫ | |||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
* {{incode|Sketch}} это объект эскиза. |
|||
* {{incode|LineMoving}} это номер, обозначающий линию, содержащую точку, которая будет передвинута на {{incode|LineFixed}} (линию, которая останется на месте). |
|||
* {{incode|PointOfLineMoving}} это номер вершины линии {{incode|LineMoving}}, которая будет передвинута на {{incode|LineFixed}}. |
|||
* {{incode|LinedFixed}} это номер линии, к которой будет прикреплена точка {{incode|PointOfLineMoving}}. |
|||
</div> |
|||
Страница [[Sketcher_scripting/ru|Sketcher scripting]] показывает, как узнать номер, определяющий линии и точки? |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
|[[Sketcher_ConstrainCoincident/ru|Ограничение наложения точек]] |
|||
|[[Sketcher_ConstrainVertical/ru|Ограничение вертикальности]] |
|||
|[[Sketcher_Workbench/ru|Sketcher]] |
|||
|IconL=Sketcher_ConstrainCoincident.svg |
|||
|IconR=Sketcher_ConstrainVertical.svg |
|||
|IconC=Workbench_Sketcher.svg |
|||
⚫ | |||
</div> |
|||
{{Sketcher_Tools_navi{{#translation:}}}} |
|||
{{clear}} |
|||
⚫ |
Latest revision as of 14:51, 23 April 2024
Ограничить точку на объекте |
Системное название |
---|
Sketcher_ConstrainPointOnObject |
Расположение в меню |
Sketch → Ограничения эскиза → Ограничить точку на объекте |
Верстаки |
Sketcher |
Быстрые клавиши |
O |
Представлено в версии |
- |
См. также |
Ограничение пересечения |
Описание
Прикрепляет точку к таким объектам как: линия, дуга или ось эскиза.
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.
Применение
See also: Drawing aids.
Continue mode
- Выделите точку, которую Вы хотите прикрепить к линии, дуге и так далее (Результат: выделенная точка становится зелёной).
- Выделите линию, к которой Вы хотите прикрепить выделенную точку (Результат: выделенная точка становится зелёной).
- Нажмите на панели инструментов кнопку Зафиксировать точку на объекте.
- Используйте клавиатурное сокращение Shift + O.
- Используйте пункт верхнего меню Sketch → Ограничения эскиза → Зафиксировать точку на объекте.
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.
Программирование
Ограничения можно создавать с помощью макросов и в консоли Python, используя следующие команды:
Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))
Sketch
это объект эскиза.LineMoving
это номер, обозначающий линию, содержащую точку, которая будет передвинута наLineFixed
(линию, которая останется на месте).PointOfLineMoving
это номер вершины линииLineMoving
, которая будет передвинута наLineFixed
.LinedFixed
это номер линии, к которой будет прикреплена точкаPointOfLineMoving
.
Страница Sketcher scripting показывает, как узнать номер, определяющий линии и точки?
Sketcher
- General: Create sketch, Edit sketch, Map sketch to face, Reorient sketch, Validate sketch, Merge sketches, Mirror sketch, Leave sketch, View sketch, View section, Toggle grid, Toggle snap, Configure rendering order, Stop operation
- Sketcher geometries: Point, Line, Arc, Arc by 3 points, Circle, Circle by 3 points, Ellipse, Ellipse by 3 points, Arc of ellipse, Arc of hyperbola, Arc of parabola, B-spline by control points, Periodic B-spline by control points, B-spline by knots, Periodic B-spline by knots, Polyline, Rectangle, Centered rectangle, Rounded rectangle, Triangle, Square, Pentagon, Hexagon, Heptagon, Octagon, Regular polygon, Slot, Fillet, Corner-preserving fillet, Trim, Extend, Split, External geometry, Carbon copy, Toggle construction geometry
- Sketcher constraints:
- Geometric constraints: Coincident, Point on object, Vertical, Horizontal, Parallel, Perpendicular, Tangent, Equal, Symmetric, Block
- Dimensional constraints: Lock, Horizontal distance, Vertical distance, Distance, Radius or weight, Diameter, Auto radius/diameter, Angle, Refraction (Snell's law)
- Constraint tools: Toggle driving/reference constraint, Activate/deactivate constraint
- Sketcher tools: Select unconstrained DoF, Select associated constraints, Select associated geometry, Select redundant constraints, Select conflicting constraints, Show/hide internal geometry, Select origin, Select horizontal axis, Select vertical axis, Symmetry, Clone, Copy, Move, Rectangular array, Remove axes alignment, Delete all geometry, Delete all constraints
- Sketcher B-spline tools: Show/hide B-spline degree, Show/hide B-spline control polygon, Show/hide B-spline curvature comb, Show/hide B-spline knot multiplicity, Show/hide B-spline control point weight, Convert geometry to B-spline, Increase B-spline degree, Decrease B-spline degree, Increase knot multiplicity, Decrease knot multiplicity, Insert knot, Join curves
- Sketcher virtual space: Switch virtual space
- Additional: Sketcher Dialog, Preferences, Sketcher scripting
Документация пользователя
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework