Basic Sketcher Tutorial/fr

Ce tutoriel est destiné à présenter au lecteur le workflow de base du Sketcher Workbench. Nous allons créer un croquis similaire à celui montré ci-dessous.



L'atelier Sketcher existe en tant que module autonome, mais il est également accessible depuis PartDesign Workbench lorsqu'il est nécessaire de créer un  'profil' .

Requis

 * FreeCAD version 0.16 ou après

Création d'une esquisse

 * 1) Créer un nouveau document
 * 2) Passer à Sketcher Workbench en utilisant le menu déroulant  'ou en cliquant sur'  Menu Affichage> Workbench> Esquisse '' '.
 * 3) Sélectionner [[Image: Sketcher_NewSketch.png | 32px]]  Nouvelle esquisse
 * 4) Nous devrions voir une boîte de dialogue qui nous invite à choisir l'orientation de l'esquisse et à fournir un décalage. Nous n'utiliserons pas offset, et nous utiliserons le plan par défaut
 * 5) Cliquer sur OK et nous pouvons commencer à construire l'esquisse

Nous sommes maintenant dans l'environnement Sketcher. En son sein, nous sommes en mesure d'utiliser la majorité des outils disponibles dans cet atelier.

Dans la  Vue Combinée  ', développer l'option'  Edit controls  'et s'assurer que'  Autoconstraints  'sont activés.

Géométrie de construction de l'esquisse
La géométrie de construction est utilisée comme guide pour la création de profils complexes. Pour y accéder, nous devons activer le mode Construction '' '.


 * 1) Select  [[Image:Sketcher_ToggleConstruction.png|32px]] Construction Mode
 * 2) Select [[Image:Sketcher_Line.png|32px]] Line by 2 point
 * 3) Approach the origin point in the sketch, the point should highlight and near your cursor this icon [[Image:Constraint_PointOnPoint.png|32px]] will appear.
 * 4) Select the point and extend the line diagonally up to an arbitrary length.
 * 5) Repeat this procedure until you've created five construction lines. Be sure to keep all of them diagonal.
 * 6) To exit construction mode, simply click again on [[Image:Sketcher_ToggleConstruction.png|32px]] Construction Mode

Sketcher geometry
Sketcher geometry is used to create the closed profiles required to perform 3D operations in the PartDesign workbench.
 * 1) Select  [[Image:Sketcher_Circle.png|32px]] Circle
 * 2) Position its centerpoint on the origin of the sketch.
 * 3) Extend the circumference to an arbitrary length.


 * 1) Select  [[Image:Sketcher_Arc.png|32px]] Arc
 * 2) Approach the endpoint of one of the construction lines.
 * 3) Set the centerpoint of the arc to be coincident' with the endpoint.
 * 4) Select an arbitrary location of your cursor to be set as the beginning of the arc, by clicking once.
 * 5) Extend the arc an arbitrary amount, making sure the circumference opens outward (the empty space is facing towards the circle you created earlier).
 * 6) Repeat these steps for each construction line.


 * 1) Create an arc between each pair of the previous arcs, with their circumference pointing towards the circle.

We have now created the basic elements for our profile.

Constraints
Constraints are used to constrain the Degrees of Freedom of points and curves within sketcher.

Geometric Constraints
They are used to establish relations between points and curves without the use of dimensions.


 * 1) Select all five construction lines.
 * 2) Select [[Image:Constraint_EqualLength.png|32px]] Equal Length


 * 1) Select all five arcs centered on an endpoint of a line.
 * 2) Select [[Image:Constraint_EqualLength.png|32px]] Equal Length
 * 3) Repeat for all five arcs that are not centered on an endpoint.


 * 1) Select the construction line that is closest to the vertical axis.
 * 2) Select  [[Image:Constraint_Vertical.png|32px]] Vertical


 * 1) Select the endpoint of an arc and the endpoint closest to it.
 * 2) Select [[Image:Constraint_Tangent.png|32px]] Tangent
 * 3) Repeat for each endpoint, until a closed profile is created.

As of this step, we have now created a closed profile that can be adjusted with the desired dimensions.

Datum Constraints
These are used to specify the distance between points in a particular direction and the dimensions of curves.


 * 1) Select the vertically constrained construction line.
 * 2) Select  [[Image:Constraint_VerticalDistance.png|32px]] Vertical Distance
 * 3) Set the length to 30 mm.


 * 1) Select the vertical construction line and the line closest to it
 * 2) Select  [[Image:Constraint_InternalAngle.png|32px]] Internal Angle
 * 3) Set the angle to 72°
 * 4) Repeat the same procedure for each pair of adjacent lines.


 * 1) Select one of the arcs centered on the endpoint of a line.
 * 2) Select [[Image:Constraint_Radius.png|32px]] Radius
 * 3) Set the radius to 8 mm.
 * 4) Do the same for an arc not centered on an endpoint. Set the radius to 11 mm.
 * 5) Set the center circle radius to 10 mm.

You should end up with a fully constrained sketch. It can be comfirmed by noticing the change in color of all curves.

We are now finished with the basic workflow for the Sketcher Module.