Sketcher ConstrainEqual/ru: Difference between revisions
(Created page with "{{Docnav/ru |Ограничение касательности |Sketcher_ConstrainSymmetric/ru|Ограничение симметрично...") |
(Updating to match new version of source page) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav/ru |
{{Docnav/ru |
||
|[[Sketcher_ConstrainTangent/ru|Ограничение касательности]] |
|[[Sketcher_ConstrainTangent/ru|Ограничение касательности]] |
||
Line 9: | Line 10: | ||
}} |
}} |
||
⚫ | |||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
|Name/ru=Ограничение эквивалентностью |
|||
|Name=Sketcher ConstrainEqual |
|||
|Name=Sketcher_ConstrainEqual |
|||
|Name/ru=Sketcher ConstrainEqual |
|||
|MenuLocation=Sketch → |
|MenuLocation=Sketch → Ограничения эскиза → Ограничение эквивалентностью |
||
|Workbenches=[[Sketcher_Workbench/ru|Sketcher]] |
|Workbenches=[[Sketcher_Workbench/ru|Sketcher]] |
||
|Shortcut=E |
|Shortcut=E |
||
|SeeAlso=[[Sketcher_ConstrainRadius/ru| |
|SeeAlso=[[Sketcher_ConstrainRadius/ru|Ограничить радиус или вес]] |
||
}} |
}} |
||
⚫ | |||
<span id="Description"></span> |
|||
==Описание== |
==Описание== |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Ограничение |
Ограничение эквивалентности делает равным длину указанных отрезков в линии, ломаной или прямоугольнике. При применении к дугам или окружностям их радиусы становятся равными. Данное ограничение нельзя применять к геометрическим примитивам, которые не относятся к одному и тому же типу (например, нельзя применить к отрезку и дуге). |
||
</div> |
</div> |
||
==Usage== |
|||
⚫ | |||
==Oперация== |
|||
⚫ | |||
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]]. |
|||
The example sketch below contains a number of sketch primitives (line, poly-line, rectangle, arc and circle). |
|||
===[[Sketcher_Workbench#Continue_modes|Continue mode]]=== |
|||
[[File:EqualConstraint1.png]] |
|||
# Make sure there is no selection. |
|||
Select two or more line segments (e.g. line and one side of the rectangle). |
|||
# There are several ways to invoke the tool: |
|||
⚫ | |||
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainEqual.svg|16px]] Constrain equal}} option from the menu. |
|||
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Constrain → [[Image:Sketcher_ConstrainEqual.svg|16px]] Constrain equal}} option from the context menu. |
|||
#* Use the keyboard shortcut: {{KEY|E}}. |
|||
# The cursor changes to a cross with the tool icon. |
|||
# Select two edges of the same type. |
|||
# 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=== |
|||
[[File:EqualConstraint2.png]] |
|||
# Select two or more edges of the same type. |
|||
Click on {{Button|[[File:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} in the Sketcher toolbar (in either the Sketcher or Part Design workbenches) or select the Constrain Equal menu item from the Sketcher constraints sub menu item in either the Sketch or Part Design menu item depending upon which workbench is selected (Sketcher or Part Design) to apply the constraint to the selected items. |
|||
# Invoke the tool as explained above, or with the following additional option: |
|||
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ConstrainEqual.svg|16px]] Constrain equal}} option from the context menu. |
|||
# Depending on the selection one or more constraints are added. |
|||
<span id="Scripting"></span> |
|||
[[File:EqualConstraint3.png]] |
|||
==Программирование== |
|||
Now select the arc and the circle in the sketch. |
|||
[[File:EqualConstraint4.png]] |
|||
⚫ | |||
[[File:EqualConstraint5.png]] |
|||
Now select the line segment, all segments of the poly-line and one of the remaining unconstrained sides of the rectangle |
|||
[[File:EqualConstraint6.png]] |
|||
and apply {{Button|[[File:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} as before. |
|||
[[File:EqualConstraint7.png]] |
|||
Select the line segment and the arc |
|||
[[File:EqualConstraint8.png]] |
|||
and apply {{Button|[[File:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} as before. A pop-up message indicates that the constrained items have to be of the same geometrical type (lines of zero curvature or lines of non-zero curvature). |
|||
[[File:EqualConstraint9.png]] |
|||
== Scripting == |
|||
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Equal', Edge1, Edge2))}} |
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Equal', Edge1, Edge2))}} |
||
Line 71: | Line 61: | ||
{{Docnav |
{{Docnav/ru |
||
|[[Sketcher_ConstrainTangent| |
|[[Sketcher_ConstrainTangent/ru|Ограничение касательности]] |
||
|[[Sketcher_ConstrainSymmetric| |
|[[Sketcher_ConstrainSymmetric/ru|Ограничение симметричности]] |
||
|[[Sketcher_Workbench|Sketcher]] |
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]] |
||
|IconL=Sketcher_ConstrainTangent.svg |
|IconL=Sketcher_ConstrainTangent.svg |
||
|IconR=Sketcher_ConstrainSymmetric.svg |
|IconR=Sketcher_ConstrainSymmetric.svg |
||
Line 80: | Line 70: | ||
}} |
}} |
||
{{ |
{{Sketcher_Tools_navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Latest revision as of 15:02, 23 April 2024
Ограничение эквивалентностью |
Системное название |
---|
Sketcher_ConstrainEqual |
Расположение в меню |
Sketch → Ограничения эскиза → Ограничение эквивалентностью |
Верстаки |
Sketcher |
Быстрые клавиши |
E |
Представлено в версии |
- |
См. также |
Ограничить радиус или вес |
Описание
Ограничение эквивалентности делает равным длину указанных отрезков в линии, ломаной или прямоугольнике. При применении к дугам или окружностям их радиусы становятся равными. Данное ограничение нельзя применять к геометрическим примитивам, которые не относятся к одному и тому же типу (например, нельзя применить к отрезку и дуге).
Usage
See also: Drawing aids.
Continue mode
- Make sure there is no selection.
- There are several ways to invoke the tool:
- Press the Constrain equal button.
- Select the Sketch → Sketcher constraints → Constrain equal option from the menu.
- introduced in version 1.0: Right-click in the 3D view and select the Constrain → Constrain equal option from the context menu.
- Use the keyboard shortcut: E.
- The cursor changes to a cross with the tool icon.
- Select two edges of the same type.
- A constraint is added.
- Optionally keep creating constraints.
- To finish, right-click or press Esc, or start another geometry or constraint creation tool.
Run-once mode
- Select two or more edges of the same type.
- Invoke the tool as explained above, or with the following additional option:
- introduced in version 1.0: Right-click in the 3D view and select the Constrain equal option from the context menu.
- Depending on the selection one or more constraints are added.
Программирование
Sketch.addConstraint(Sketcher.Constraint('Equal', Edge1, Edge2))
The Sketcher scripting page explains the values which can be used for Edge1
and Edge2
and contains further examples on how to create constraints from Python scripts.
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