Sketcher ConstrainRadius: Difference between revisions

From FreeCAD Documentation
m (initial editing stages - lots of edits!)
(Marked this version for translation)
 
(76 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=Constraint Radius|Workbenches=[[Sketcher Workbench|Sketcher]], [[PartDesign Module|PartDesign_Workbench]]|MenuLocation=Sketcher → Constrain radius|SeeAlso=[[Constraint distance]], [[Constraint horizontal]], [[Constraint vertical]]}}
<translate>


<!--T:8-->
====Description====
{{Docnav
|[[Sketcher_ConstrainRadiam|Auto radius/diameter]]
|[[Sketcher_ConstrainDiameter|Diameter]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainRadiam.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconC=Workbench_Sketcher.svg
}}


<!--T:1-->
<WRONG> This tool draws an arc by picking three points: the center, the start angle along the radius, and the end angle.
{{GuiCommand
|Name=Sketcher ConstrainRadius
|MenuLocation=Sketch → Sketcher constraints → Constrain radius
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|K}} {{KEY|R}}
|SeeAlso=[[Sketcher_ConstrainRadiam|Sketcher ConstrainRadiam]], [[Sketcher_ConstrainDiameter|Sketcher ConstrainDiameter]]
}}


==Description== <!--T:2-->
When starting the tool, the mouse pointer changes to a white cross with a red arc icon. The coordinates of the pointer are shown beside it in blue in real time.


<!--T:6-->
[[Image:Sketcher_ArcExample1.png|The center has been selected, dragging to set the radius‎]] [[Image:Sketcher_ArcExample2.png|407x360px|The center and start angle have been selected, dragging to set end angle‎]] </WRONG>
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]].


</translate>
====Usage====
[[File:Sketcher ConstrainRadius example.png]]
<translate>


==Usage== <!--T:3-->
<WRONG> * Pick points on an empty area of the 3D view, or on an existing object (auto constraints must be active in TaskView).
* Pressing {{KEY|ESC}} or clicking the right mouse button cancels the function. </WRONG>


<!--T:14-->
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].


===[[Sketcher_Workbench#Continue_modes|Continue mode]]=== <!--T:15-->
{{languages | {{es|Sketcher_Arc/es}} }}

--[[User:Jdurston|Jdurston]] 00:34, 16 November 2011 (UTC)
<!--T:4-->
# 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=== <!--T:16-->

<!--T:17-->
See [[Sketcher_ConstrainRadiam#Once-only_mode|Sketcher ConstrainRadiam]].

== Scripting == <!--T:12-->

</translate>
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Radius', ArcOrCircle, App.Units.Quantity('123.0 mm')))}}
<translate>

<!--T:13-->
The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|ArcOrCircle}}, and contains further examples on how to create constraints from Python scripts.


<!--T:9-->
{{Docnav
|[[Sketcher_ConstrainRadiam|Auto radius/diameter]]
|[[Sketcher_ConstrainDiameter|Diameter]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainRadiam.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconC=Workbench_Sketcher.svg
}}

</translate>
{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 15:16, 23 April 2024

Sketcher ConstrainRadius

Menu location
Sketch → Sketcher constraints → Constrain radius
Workbenches
Sketcher
Default shortcut
K R
Introduced in version
-
See also
Sketcher ConstrainRadiam, Sketcher ConstrainDiameter

Description

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

Usage

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.

Scripting

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.