Sketcher ConstrainRadius/pt-br: Difference between revisions

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

{{Docnav
|[[Sketcher_ConstrainRadiam|Auto radius/diameter]]
|[[Sketcher_ConstrainDiameter|Diameter]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainRadiam.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconC=Workbench_Sketcher.svg
}}

<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/pt-br
{{GuiCommand/pt-br|Name=Constraint Radius|Name/pt-br=Constraint Radius|Workbenches=[[Sketcher Workbench/pt-br|Sketcher]], [[PartDesign Workbench/pt-br|PartDesign]]|MenuLocation=Sketch → Sketcher constraints → Constrain radius|SeeAlso=[[Constraint Length/pt-br|Constraint Distance]], [[Constraint Horizontal/pt-br|Constraint Horizontal]], [[Constraint Vertical/pt-br|Constraint Vertical]]}}
|Name=Constraint Radius
|Name/pt-br=Constraint Radius
|Workbenches=[[Sketcher Workbench/pt-br|Sketcher]], [[PartDesign Workbench/pt-br|PartDesign]]
|MenuLocation=Sketch → Sketcher constraints → Constrain radius
|SeeAlso=[[Sketcher_ConstrainDistance/pt-br|Constraint Distance]], [[Sketcher_ConstrainHorizontal/pt-br|Constraint Horizontal]], [[Sketcher_ConstrainVertical/pt-br|Constraint Vertical]]
}}
</div>
</div>


====Description====
==Description==

This constraint constrains the value of the radius of a circle or arc to have a specific value. Only one arc or circle can be constrained at a time.
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]].

[[File:Sketcher ConstrainRadius example.png]]

==Usage==

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===

See [[Sketcher_ConstrainRadiam#Once-only_mode|Sketcher ConstrainRadiam]].

== Scripting ==

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

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.



{{Docnav
|[[Sketcher_ConstrainRadiam|Auto radius/diameter]]
|[[Sketcher_ConstrainDiameter|Diameter]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainRadiam.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconC=Workbench_Sketcher.svg
}}


{{Sketcher_Tools_navi{{#translation:}}}}
====Operation====
{{Userdocnavi{{#translation:}}}}
[[File:ConstrainRadius1.png|256px]]<br />
Select an arc or circle in the sketch by clicking on is ( turns dark green to indicate selection).<br />
[[File:ConstrainRadius2.png|256px]]<br />
Apply the constraint by clicking on the Constrain Radius icon [[File:Constraint_Radius.png|16px]] in the Sketcher toolbar or selecting the Constrain radius menu item from the Sketcher constraints sub menu of the the Sketcher (or Part Design) menu item (depending upon which workbench is selected).<br />
[[File:ConstrainRadius3.png|256px]]<br />
The radius is constrained to have its current value when the constraint is applied.<br />
To change the constraint value either double click on the constraint in the 3D display (turning red indicates the constraint is currently selected) or by double clicking on the constraint in the Constraints panel of the Tasks tab of the Combo View.<br />This will bring up a pop-up window.<br />
[[File:ConstrainRadius4.png|256px]]<br />
Enter the desired value for the radius into the pop-up window and click OK to set the value of the constraint.<br />
[[File:ConstrainRadius5.png|256px]]<br />
The constraint value is set to the value entered in the pop-up window.<br />
{{clear}}

Latest revision as of 15:16, 23 April 2024

Constraint Radius

Veja também
Sketch → Sketcher constraints → Constrain radius
Bancadas de trabalho
Sketcher, PartDesign
Atalho padrão
Nenhum
Introduzido na versão
-
Veja também
Constraint Distance, Constraint Horizontal, Constraint Vertical

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.