Sketcher ConstrainDiameter/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/ru |Ограничить радиус или вес |Sketcher_ConstrainRadiam/ru|Ограничить радиус/диаметр а...")
(Updating to match new version of source page)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Sketcher_ConstrainRadius/ru|Ограничить радиус]]
|[[Sketcher_ConstrainRadius/ru|Ограничить радиус]]
Line 9: Line 10:
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Ограничить диаметр
|Name/ru=Ограничить диаметр
Line 18: Line 21:
|Version=0.18
|Version=0.18
}}
}}
</div>


<span id="Description"></span>
==Описание==
==Описание==


Line 28: Line 33:
NB : B-spline poles can't be mixed with other object type in the selection
NB : B-spline poles can't be mixed with other object type in the selection


<span id="Usage"></span>
<div class="mw-translate-fuzzy">
==Применение==
==Применение==
</div>


# Pick one or more circles or arcs.
# Pick one or more circles or arcs.
Line 37: Line 45:
'''Note:''' the constraint tool can also be started with no prior selection. By default the command will be in continue mode to create new constraints; press the right mouse button or {{KEY|Esc}} once to quit the command.
'''Note:''' the constraint tool can also be started with no prior selection. By default the command will be in continue mode to create new constraints; press the right mouse button or {{KEY|Esc}} once to quit the command.


<span id="Scripting"></span>
==Программирование==
==Программирование==


Line 44: Line 53:




<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Sketcher_ConstrainRadius/ru|Ограничить радиус или вес]]
|[[Sketcher_ConstrainRadius/ru|Ограничить радиус или вес]]
Line 52: Line 62:
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
</div>


{{Sketcher Tools navi{{#translation:}}}}
{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 10:13, 18 May 2023

Ограничить диаметр

Системное название
Sketcher_ConstrainDiameter
Расположение в меню
Sketch → Ограничения эскиза → Ограничить диаметр
Верстаки
Sketcher
Быстрые клавиши
Нет
Представлено в версии
0.18
См. также
Ограничить расстояние, Ограничение расстояния по горизонтали, Ограничение расстояния по вертикали

Описание

This constraint constrains the value of the diameter of a circle or arc to have a specific value. If more than one circle or arc is selected before launching the command :

  • If the constrain is applied in 'Reference' mode, a new reference constrain is added to each object separately according above rules
  • If the constrain is applied in 'Normal' (driving) mode, following rules are applied
    • A reference constrain is applied separately on each object which is an external geometry
    • Equal constrains are applied sequentially between all real/construction geometry objects and a dimensional constrain is applied to the first selected object according above rules

NB : B-spline poles can't be mixed with other object type in the selection

Применение

  1. Pick one or more circles or arcs.
  2. Press the Constrain diameter button.
  3. A pop up dialog opens to edit or confirm the value. Press OK to validate. In case multiple circles/arcs were selected, all constraints will adopt this value. Edit their separate values by double-clicking on the dimension label in the 3D view; or in the Constraints list, double-click on the constraint or right-click and select Change value.
  4. Optionally the dimension label and line can be moved and rotated in the 3D view by clicking on the value and dragging while keeping the left mouse button pressed.

Note: the constraint tool can also be started with no prior selection. By default the command will be in continue mode to create new constraints; press the right mouse button or Esc once to quit the command.

Программирование

Sketch.addConstraint(Sketcher.Constraint('Diameter', ArcOrCircle, App.Units.Quantity('123.0 mm')))

The Sketcher scripting page explains the values which can be used for ArcOrCircle, and contains further examples on how to create constraints from Python scripts.