Sketcher ConstrainRadius/fr: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
No edit summary
 
(96 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=Constraint Radius|Workbenches=[[Sketcher Workbench|Sketcher]], [[PartDesign Workbench|PartDesign]]|MenuLocation=Sketch → Sketcher constraints → Constrain radius|SeeAlso=[[Constraint Length|Constraint Distance]], [[Constraint Horizontal]], [[Constraint Vertical]]}}


{{Docnav/fr
====Description====
|[[Sketcher_ConstrainRadiam/fr|Contrainte auto rayon/diamètre]]
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.
|[[Sketcher_ConstrainDiameter/fr|Contrainte diamètre]]
|[[Sketcher_Workbench/fr|Atelier Sketcher]]
|IconL=Sketcher_ConstrainRadiam.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconC=Workbench_Sketcher.svg
}}


{{GuiCommand/fr
|Name=Sketcher ConstrainRadius
|Name/fr=Sketcher Contrainte rayon
|MenuLocation=Esquisse → Contraintes d'esquisse → Contrainte de rayon
|Workbenches=[[Sketcher_Workbench/fr|Sketcher]]
|Shortcut={{KEY|K}} {{KEY|R}}
|SeeAlso=[[Sketcher_ConstrainRadiam/fr|Sketcher Contrainte auto rayon/diamètre]], [[Sketcher_ConstrainDiameter/fr|Sketcher Contrainte diamètre]]
}}


====Operation====
==Description==
[[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}}


L'outil [[Image:Sketcher_ConstrainRadius.svg|24px]] [[Sketcher_ConstrainRadius/fr|Sketcher Contrainte de rayon]] fixe le rayon des cercles, des arcs et des [[Sketcher_CreateBSpline/fr#Remarques|cercles des poids des B-splines]].
<languages/>

[[File:Sketcher ConstrainRadius example.png]]

<span id="Usage"></span>
==Utilisation==

Voir aussi : [[Sketcher_Workbench/fr#Aides_au_dessin|Aides au dessin]].

<span id="Continue_mode"></span>
===[[Sketcher_Workbench/fr#Modes_continus|Mode continu]]===

# Assurez-vous qu'il n'y a pas de sélection.
# Il y a plusieurs façons de lancer l'outil :
#* {{Version/fr|1.0}} : si la [[Sketcher_Preferences/fr#Général|préférence]] des {{MenuCommand|contraintes de dimension}} est réglée sur {{Value|Outil unique}} (par défaut) : appuyez sur la flèche vers le bas à droite du bouton {{Button|[[Image:Sketcher_Dimension.svg||x16px]][[Image:Toolbar_flyout_arrow.svg|x16px]]}} et sélectionnez la {{MenuCommand|[[Image:Sketcher_ConstrainRadius.svg|16px]] Contrainte de rayon}} dans le menu déroulant.
#* Si cette préférence a une valeur différente (et dans {{VersionMinus/fr|0.21}}) : appuyez sur le {{Button|[[Image:Sketcher_ConstrainRadius.svg|16px]] [[Sketcher_ConstrainRadius/fr|Contrainte de rayon]]}}.
#* Sélectionnez l'option {{MenuCommand|Esquisse → Contraintes de l'esquisse → [[Image:Sketcher_ConstrainRadius.svg|16px]] Contrainte de rayon}} du menu.
#* {{Version/fr|1.0}} : cliquez avec le bouton droit de la souris dans la [[3D_view/fr|vue 3D]] et sélectionnez l'option {{MenuCommand|Dimension → [[Image:Sketcher_ConstrainRadius.svg|16px]] Contrainte de rayon}} du menu contextuel.
#* Utilisez le raccourci clavier : {{KEY|K}} puis {{KEY|R}}.
# Pour plus d'informations, voir [[Sketcher_ConstrainRadiam/fr#Mode_continu|Sketcher Contrainte auto rayon/diamètre]].

<span id="Run-once_mode"></span>
===Mode unique===

Voir [[Sketcher_ConstrainRadiam/fr#Mode_unique|Sketcher Contrainte auto rayon/diamètre]].

<span id="Scripting"></span>
==Script==

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

La page [[Sketcher_scripting/fr|Sketcher Scripts]] explique les valeurs qui peuvent être utilisées pour {{incode|ArcOrCircle}} et contient d'autres exemples sur la façon de créer des contraintes à partir de scripts Python.


{{Docnav/fr
|[[Sketcher_ConstrainRadiam/fr|Contrainte auto rayon/diamètre]]
|[[Sketcher_ConstrainDiameter/fr|Contrainte diamètre]]
|[[Sketcher_Workbench/fr|Atelier Sketcher]]
|IconL=Sketcher_ConstrainRadiam.svg
|IconR=Sketcher_ConstrainDiameter.svg
|IconC=Workbench_Sketcher.svg
}}

{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 14:09, 3 May 2024

Sketcher Contrainte rayon

Emplacement du menu
Esquisse → Contraintes d'esquisse → Contrainte de rayon
Ateliers
Sketcher
Raccourci par défaut
K R
Introduit dans la version
-
Voir aussi
Sketcher Contrainte auto rayon/diamètre, Sketcher Contrainte diamètre

Description

L'outil Sketcher Contrainte de rayon fixe le rayon des cercles, des arcs et des cercles des poids des B-splines.

Utilisation

Voir aussi : Aides au dessin.

Mode continu

  1. Assurez-vous qu'il n'y a pas de sélection.
  2. Il y a plusieurs façons de lancer l'outil :
    • introduit dans la version 1.0 : si la préférence des contraintes de dimension est réglée sur Outil unique (par défaut) : appuyez sur la flèche vers le bas à droite du bouton et sélectionnez la Contrainte de rayon dans le menu déroulant.
    • Si cette préférence a une valeur différente (et dans version 0.21 et précédentes) : appuyez sur le Contrainte de rayon.
    • Sélectionnez l'option Esquisse → Contraintes de l'esquisse → Contrainte de rayon du menu.
    • introduit dans la version 1.0 : cliquez avec le bouton droit de la souris dans la vue 3D et sélectionnez l'option Dimension → Contrainte de rayon du menu contextuel.
    • Utilisez le raccourci clavier : K puis R.
  3. Pour plus d'informations, voir Sketcher Contrainte auto rayon/diamètre.

Mode unique

Voir Sketcher Contrainte auto rayon/diamètre.

Script

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

La page Sketcher Scripts explique les valeurs qui peuvent être utilisées pour ArcOrCircle et contient d'autres exemples sur la façon de créer des contraintes à partir de scripts Python.