Sketcher ConstrainRadius/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
<div class="mw-translate-fuzzy">
|[[Sketcher_ConstrainDistance|Distance]]
{{Docnav/ru
|[[Sketcher_ConstrainDiameter|Constraint Diameter]]
|[[Sketcher_ConstrainDistance/ru|Ограничить расстояние]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_ConstrainDiameter/ru|Ограничить диаметр]]
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|IconL=Sketcher_ConstrainDistance.svg
|IconL=Sketcher_ConstrainDistance.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name=Sketcher ConstrainRadius
|Name=Sketcher ConstrainRadius
Line 16: Line 20:
|SeeAlso=[[Sketcher_ConstrainDistance/ru|Sketcher Constrain distance]], [[Sketcher_ConstrainDistanceX/ru|Sketcher Constrain horizontal distance]], [[Sketcher_ConstrainDistanceY/ru|Sketcher Constrain vertical distance]]
|SeeAlso=[[Sketcher_ConstrainDistance/ru|Sketcher Constrain distance]], [[Sketcher_ConstrainDistanceX/ru|Sketcher Constrain horizontal distance]], [[Sketcher_ConstrainDistanceY/ru|Sketcher Constrain vertical distance]]
}}
}}
</div>


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


The [[Image:Sketcher_ConstrainRadius.svg|24px]] [[Sketcher_ConstrainRadius|Sketcher ConstrainRadius]] tool fixes the radius of circles, arcs and [[Sketcher_CreateBSpline#Notes|B-spline weight circles]].
This constraint constrains the value of the radius 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
** {{Button|[[File:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|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


[[File:Sketcher ConstrainRadius example.png]]
[[File:Sketcher ConstrainRadius example.png]]


==Usage==
<span id="Usage"></span>
==Применение==

See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].

===[[Sketcher_Workbench#Continue_modes|Continue mode]]===

# Make sure there is no selection.
# There are several ways to invoke the tool:
#* {{Version|1.0}}: If the {{MenuCommand|Dimensioning constraints}} [[Sketcher_Preferences#General|preference]] is set to {{Value|Single tool}} (default): press the down arrow to the right of the {{Button|[[Image:Sketcher_Dimension.svg||x16px]][[Image:Toolbar_flyout_arrow.svg|x16px]]}} button and select the {{MenuCommand|[[Image:Sketcher_ConstrainRadius.svg|16px]] Constrain radius}} option from the dropdown.
#* If this preference has a different value (and in {{VersionMinus|0.21}}): press the {{Button|[[Image:Sketcher_ConstrainRadius.svg|16px]] [[Sketcher_ConstrainRadius|Constrain radius]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainRadius.svg|16px]] Constrain radius}} option from the menu.
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Dimension → [[Image:Sketcher_ConstrainRadius.svg|16px]] Constrain radius}} option from the context menu.
#* Use the keyboard shortcut: {{KEY|K}} then {{KEY|R}}.
# For further steps see [[Sketcher_ConstrainRadiam#Continue_mode|Sketcher ConstrainRadiam]].


===Run-once mode===
# Pick one or more circles or arcs.
# Press the {{Button|[[File:Sketcher_ConstrainRadius.svg|16px]] [[Sketcher_ConstrainRadius|Constrain radius]]}} button.
# A pop up dialog opens to edit or confirm the value. Press {{Button|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'''.
# 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.


See [[Sketcher_ConstrainRadiam#Once-only_mode|Sketcher ConstrainRadiam]].
'''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.


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


{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Radius', ArcOrCircle, App.Units.Quantity('123.0 mm')))}}
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Radius', ArcOrCircle, App.Units.Quantity('123.0 mm')))}}
Line 44: Line 57:




<div class="mw-translate-fuzzy">
{{Docnav
{{Docnav/ru
|[[Sketcher_ConstrainDistance|Distance]]
|[[Sketcher_ConstrainDistance/ru|Ограничить расстояние]]
|[[Sketcher_ConstrainDiameter|Constraint Diameter]]
|[[Sketcher_ConstrainDiameter/ru|Ограничить диаметр]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|IconL=Sketcher_ConstrainDistance.svg
|IconL=Sketcher_ConstrainDistance.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
</div>


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

Latest revision as of 15:16, 23 April 2024

Sketcher ConstrainRadius

Системное название
Sketcher ConstrainRadius
Расположение в меню
Sketch → Ограничения эскиза → Ограничения радиуса
Верстаки
Sketcher
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Sketcher Constrain distance, Sketcher Constrain horizontal distance, Sketcher Constrain vertical distance

Описание

The Sketcher ConstrainRadius tool fixes the radius of circles, arcs and B-spline weight circles.

Применение

See also: Drawing aids.

Continue mode

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • introduced in version 1.0: If the Dimensioning constraints preference is set to Single tool (default): press the down arrow to the right of the button and select the Constrain radius option from the dropdown.
    • If this preference has a different value (and in version 0.21 and below): press the Constrain radius button.
    • Select the Sketch → Sketcher constraints → Constrain radius option from the menu.
    • introduced in version 1.0: Right-click in the 3D view and select the Dimension → Constrain radius option from the context menu.
    • Use the keyboard shortcut: K then R.
  3. For further steps see Sketcher ConstrainRadiam.

Run-once mode

See Sketcher ConstrainRadiam.

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

Sketch.addConstraint(Sketcher.Constraint('Radius', 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.