Basic Sketcher Tutorial/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "# Selectați unul dintre arcele de cerc centrate pe puctul de capăt al liniei. # Selectați 32px Radius # Defini...")
No edit summary
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{TutorialInfo/ro
{{TutorialInfo/ro
|Topic= Sketcher
|Topic= Sketcher
Line 9: Line 10:
|Files=
|Files=
}}
}}
</div>


<span id="Introduction"></span>
<div class="mw-translate-fuzzy">
=== Introducere ===
=== Introducere ===
Acest tutorial are rolul de a introduce cititorul în fluxul de lucru de bază al aplicației [[Sketcher Workbench|Sketcher Workbench]]. Vom crea o schiță similară celei prezentate mai jos.
Acest tutorial are rolul de a introduce cititorul în fluxul de lucru de bază al aplicației [[Sketcher Workbench|Sketcher Workbench]]. Vom crea o schiță similară celei prezentate mai jos.
</div>


This tutorial was originally written by Drei, and it was rewritten and illustrated by vocx.
[[Image:Sketcher_tutorial_result.png|480px]]


This tutorial is meant to introduce the reader to the basic workflow of the [[Image:Workbench_Sketcher.svg|24px]] [[Sketcher Workbench|Sketcher Workbench]].

<div class="mw-translate-fuzzy">
Atelierul de lucru Sketcher există ca modul independent, dar este accesibil și din cadrul [[PartDesign Workbench|PartDesign Workbench]] atunci când este necesar să creați un '''profil'''.
Atelierul de lucru Sketcher există ca modul independent, dar este accesibil și din cadrul [[PartDesign Workbench|PartDesign Workbench]] atunci când este necesar să creați un '''profil'''.
</div>


The reader will practice:
* Creating construction geometry
* Creating real geometry
* Applying geometric constraints
* Applying datum constraints
* Obtaining a closed profile

For a more in depth description of the sketcher, read the [[Sketcher_reference|Sketcher reference]].

[[File:00_Sk01_Sketcher_fully_constrained_final.png]]
<div class="mw-translate-fuzzy">
[[Image:Sketcher_tutorial_result.png|480px]]
</div>


<span id="Setup"></span>
<div class="mw-translate-fuzzy">
=== Cerințe ===
=== Cerințe ===
* Versiunea FreeCAD 0.16 sau mai recentă
* Versiunea FreeCAD 0.16 sau mai recentă
</div>


1. Open FreeCAD, create a new empty document with {{MenuCommand|File → [[File:Std_New.svg|16px]] [[Std_New|New]]}}.
:1.1. Switch to the [[Sketcher_Workbench|Sketcher Workbench]] from the [[Std_Workbench|workbench selector]], or the menu {{MenuCommand|[[Std_View_Menu|View]] → Workbench → Sketcher}}.

Some actions to remember:
* Press the right mouse button, or press {{KEY|Esc}} in the keyboard once, to deselect the active tool in edit mode.
* To exit the sketch edit mode, press the {{Button|Close}} button in the [[task_panel|task panel]], or press {{KEY|Esc}} twice in the keyboard.
* To enter again edit mode, double click on the sketch in the [[tree_view|tree view]], or select it, and then click on {{Button|[[File:Sketcher_EditSketch.svg|16px]] [[Sketcher_EditSketch|Edit sketch]]}}.

<span id="Create_a_sketch"></span>
<div class="mw-translate-fuzzy">
=== Procedură ===
=== Procedură ===
==== Crearea unei Sketch ====
==== Crearea unei Sketch ====
Line 28: Line 63:
# Ar trebui să vedeți un dialog care vă solicită să alegeți orientarea schiței și să oferiți o compensare. Nu vom folosi offset și vom folosi planul implicit
# Ar trebui să vedeți un dialog care vă solicită să alegeți orientarea schiței și să oferiți o compensare. Nu vom folosi offset și vom folosi planul implicit
# Faceți clic pe OK și putem începe să construim schița
# Faceți clic pe OK și putem începe să construim schița
</div>


2. Click on {{Button|[[Image:Sketcher_NewSketch.svg‎‎|16px]] [[Sketcher_NewSketch|New sketch]]}}.
:2.1. Choose the sketch orientation, that is, one of the base XY, XZ, or YZ planes. Also choose if you want an inverted orientation, and an offset from the base plane.
:2.2. We will use the default plane and options.
:2.3. Click {{Button|OK}} to start constructing the sketch.

<div class="mw-translate-fuzzy">
Suntem acum în mediul Sketcher. În cadrul acestuia, putem folosi majoritatea instrumentelor disponibile în acest atelier de lucru.
Suntem acum în mediul Sketcher. În cadrul acestuia, putem folosi majoritatea instrumentelor disponibile în acest atelier de lucru.
</div>


<div class="mw-translate-fuzzy">
In the '''Combo View''', expand the option '''Edit controls''' and make sure '''Autoconstraints''' are enabled.
In the '''Combo View''', expand the option '''Edit controls''' and make sure '''Autoconstraints''' are enabled.
</div>

[[File:01_Sk01_Sketcher_Task_panel.png|x400px]]

{{Caption|Upper part of the [[task_panel|task panel]] of the sketcher.}}


<span id="Construction_geometry"></span>
<div class="mw-translate-fuzzy">
==== Creating geometry ====
==== Creating geometry ====
===== Sketcher construction geometry =====
===== Sketcher construction geometry =====
Construction geometry is used as guides for the creation of complex profiles. To access it, we need to enable '''Construction mode '''.
Construction geometry is used as guides for the creation of complex profiles. To access it, we need to enable '''Construction mode '''.
</div>


<div class="mw-translate-fuzzy">
# Selectați [[Image:Sketcher_ToggleConstruction.png|32px]] [[Sketcher_ToggleConstruction|Construction Mode]]
# Selectați [[Image:Sketcher_ToggleConstruction.png|32px]] [[Sketcher_ToggleConstruction|Construction Mode]]
# Select [[Image:Sketcher_Line.png|32px]] [[Sketcher_CreateLine|Line by 2 point]]
# Select [[Image:Sketcher_Line.png|32px]] [[Sketcher_CreateLine|Line by 2 point]]
Line 43: Line 96:
# Repetați această procedură până când creați cinci linii de '''construction'''. Asigurați-vă că păstrați-le pe toate diagonale.
# Repetați această procedură până când creați cinci linii de '''construction'''. Asigurați-vă că păstrați-le pe toate diagonale.
# Pentru a ieși din modul construcție, doar faceți click din nou pe [[Image:Sketcher_ToggleConstruction.png|32px]] [[Sketcher_ToggleConstruction|Construction Mode]]
# Pentru a ieși din modul construcție, doar faceți click din nou pe [[Image:Sketcher_ToggleConstruction.png|32px]] [[Sketcher_ToggleConstruction|Construction Mode]]
</div>


{{Emphasis|Note:}} up to this point the [[Sketcher_CreateLine|line tool]] is still active. This means we can keep clicking on the [[3D_view|3D view]] to draw as many lines as we want. If we wish to exit this tool, we can press the right mouse button, or press {{KEY|Esc}} in the keyboard once. By doing this the pointer won't create lines any more, it will just be a pointer allowing us to select the objects we just created. In this pointer mode we can pick and drag the endpoints of each line to adjust its placement.
===== Sketcher geometry =====
Sketcher geometry is used to create the closed profiles required to perform 3D operations in the '''PartDesign''' workbench.
# Select [[Image:Sketcher_Circle.png|32px]] [[Sketcher_CreateCircle|Circle]]
# Position its '''centerpoint''' on the origin of the sketch.
# Extend the circumference to an arbitrary length.


{{Emphasis|Note 2:}} do not press {{KEY|Esc}} a second time as this will exit the sketch edit mode. If you do this, re-enter the edit mode by double clicking on the sketch in the [[tree_view|tree view]].


Take a look at the [[task_panel|task panel]] again. The {{MenuCommand|Solver messages}} section already indicates that the sketch is under-constrained, and it mentions the number of {{Emphasis|degrees of freedom}}.
# Select [[Image:Sketcher_Arc.png|32px]] [[Sketcher_CreateArc|Arc]]
# Approach the '''endpoint''' of one of the construction lines.
# Set the ''centerpoint''' of the arc to be '''coincident''' with the endpoint.
# Select an arbitrary location of your cursor to be set as the beginning of the arc, by clicking once.
# Extend the arc an arbitrary amount, making sure the circumference opens outward (the empty space is facing towards the circle you created earlier).
# Repeat these steps for each construction line.


Look at the {{MenuCommand|Constraints}} and {{MenuCommand|Elements}} sections to see the new listed constraints and lines. Once your sketches have many elements, it may be difficult to select them in the [[3D_view|3D view]], so you can use these lists to select the object that you wish exactly.


[[File:02_Sk01_Sketcher_construction.png|x400px]]
# Create an arc between each pair of the previous arcs, with their circumference pointing towards the circle.


{{Caption|Construction lines forming a star shape with its center in the origin.}}
We have now created the basic elements for our profile.


<span id="Real_geometry"></span>
==== Constraints ====
<div class="mw-translate-fuzzy">
Constraints are used to constrain the '''Degrees of Freedom''' of points and curves within sketcher.
===== Geometria Sketcher =====
Geometria Sketcher este folosită pentru a crea profilurile închise necesare pentru a efectua operații 3D în Atelierul'''PartDesign''' .
# Selectați [[Image:Sketcher_Circle.png|32px]] [[Sketcher_CreateCircle|Circle]]
# Poziționați '''centerpoint''' acestuia pe oringinea sketch.
# Extindeți circumferința cu o lungime arbitrară.
</div>


<div class="mw-translate-fuzzy">
===== Geometric Constraints =====
# Selectați [[Image:Sketcher_Arc.png|32px]] [[Sketcher_CreateArc|Arc]]
They are used to establish relations between points and curves without the use of dimensions.
# Apropiați '''endpoint''' de una de liniile de construcție.
# Definiți '''centerpoint''' arcului de cerc pentru a '''coincide''' cu punctul de capăt.
# Selectați o locație arbitrară a cursorului dvs pentru a fi definit ca începutul arcului , făcând click o dată.
# Extindeți arcul de cerc în mod arbitar, asigurându-vă că circumferința se deschide spre exterior (spațiul gol se îndreaptă spre cercul pe care l-ați creat mai devreme).
# Repetați acești pași pentru fiecare linie de construcție.
</div>


Make sure you are not in construction mode by clicking on {{Button|[[File:Sketcher_ToggleConstruction.svg|16px]] [[Sketcher_ToggleConstruction|Toggle construction]]}}, if you have not previously exited this mode.
# Select all five construction lines.
# Select [[Image:Constraint_EqualLength.png|32px]] [[Sketcher ConstrainEqual|Equal Length]]


=== Outer arcs ===


4. Create a circle.
# Select all five arcs centered on an endpoint of a line.
:4.1. Click on {{Button|[[File:Sketcher_Circle.svg|16px]] [[Sketcher_CreateCircle|Create circle]]}}.
# Select [[Image:Constraint_EqualLength.png|32px]] [[Sketcher ConstrainEqual|Equal Length]]
:4.2. Click on the '''origin''' of the sketch to position its center point.
# Repeat for all five arcs that are not centered on an endpoint.
:4.3. Click anywhere in the [[3D_view|3D view]] to set the circumference radius as a distance from the origin. Make it approximately {{Value|8 mm}}. Again the dimension will be fixed later.


5. Create a series of arcs.
:5.1. Click on {{Button|[[File:Sketcher_Arc.svg|16px]] [[Sketcher_CreateArc|Create arc]]}}.
:5.2. Approach the endpoint of one of the construction lines, and click on it. This will set the center point of the circular arc to be [[File:Constraint_PointOnPoint.svg|32px]] [[Sketcher_ConstrainCoincident|coincident]] with this line's endpoint.
:5.3. Click once in the [[3D_view|3D view]] at an arbitrary location to set simultaneously the radius of the arc, and the first endpoint of it. Define an approximate radius of {{Value|8 mm}}.
:5.4. Move the pointer in an anti-clockwise direction to trace an arc that has its concavity pointing towards the origin of the sketch. Click to set the final endpoint of the arc, defining a circular arc that approximately sweeps {{Value|180°}} or half a circle.
:5.5. Repeat these steps with each construction line, so that each of them has a circular arc at its tip. We will call these O-arcs for outwards-arcs.


[[File:03_Sk01_Sketcher_outer_arcs.png|x400px]]
# Select the construction line that is closest to the vertical axis.
# Select [[Image:Constraint_Vertical.png|32px]] [[‎Sketcher ConstrainVertical|Vertical]]


{{Caption|Circular arcs added at the endpoints of the construction lines. Also a central circle.}}


=== Inner arcs ===
# Select the endpoint of an arc and the endpoint closest to it.
# Select [[Image:Constraint_Tangent.png|32px]] [[Sketcher ConstrainTangent|Tangent]]
# Repeat for each endpoint, until a closed profile is created.


<div class="mw-translate-fuzzy">
As of this step, we have now created a closed profile that can be adjusted with the desired dimensions.
# Creați un arc între fiecare pereche de arce anterioare, cu circumferința lor îndreptată către cerc.
</div>


To summarize, the O-arcs should have their curvature pointing outwards, and their concavity pointing towards the origin of the sketch; the I-arcs should have their curvature pointing inwards, and their concavity pointing away from the same origin.


[[File:04_Sk01_Sketcher_inner_arcs.png|x400px]]
===== Datum Constraints =====
These are used to specify the distance between points in a particular direction and the dimensions of curves.


{{Caption|Circular arcs added between the first set of arcs placed.}}
# Select the vertically constrained construction line.
# Select [[Image:Constraint_VerticalDistance.png|32px]] [[Sketcher ConstrainDistanceY|Vertical Distance]]
# Set the length to 30 mm.


== Constraints ==


Take a look at the [[task_panel|task panel]] again. Due to the new geometrical elements that we have drawn, the {{MenuCommand|Solver messages}} section indicates even more {{Emphasis|degrees of freedom}}. A {{Emphasis|degree of freedom}} (DOF) indicates a possible movement of one element. For example, a point can be moved both in horizontal and vertical directions, so it has two degrees of freedom. A line is defined by two points, therefore in total it has four degrees of freedom. If we fix one of those points, then the entire system has only two degrees of freedom available; if we additionally fix the horizontal movement of the remaining point, we only have one degree of freedom left; and if we also fix the vertical movement of this point, then the last degree of freedom disappears, and the line cannot move from its position any more.
# Select the vertical construction line and the line closest to it
# Select [[Image:Constraint_InternalAngle.png|32px]] [[Sketcher_ConstrainAngle|Internal Angle]]
# Set the angle to 72°
# Repeat the same procedure for each pair of adjacent lines.


<div class="mw-translate-fuzzy">
==== Constrângeri ====
Constrângerile sunt folosite pentru a reduce '''Degrees of Freedom''' a punctelor și curbelor din schiță.
</div>


There are two principal types of constraints:
* {{Emphasis|Geometric constraints}} define characteristics of the shapes without specifying exact dimensions, for example, horizontality, verticality, parallelism, perpendicularity, and tangency.
* {{Emphasis|Datum constraints}} define characteristics of the shapes by specifying dimensions, for example, a numeric length or an angle.

<span id="Geometric_constraints"></span>
<div class="mw-translate-fuzzy">
===== Constrângeri Geometrice =====
Ele sunt folosite pentru a stabili relațiile dintre puncte și curbe fără a utiliza dimensiuni.
</div>

=== Equal length and radius ===

<div class="mw-translate-fuzzy">
# Selectați toate cele cinci linii de construcție.
# Selectați [[Image:Constraint_EqualLength.png|32px]] [[Sketcher ConstrainEqual|Equal Length]]
</div>

:7.3. Select all five O-arcs, those centered on an endpoint of a construction line.
:7.4. Press {{Button|[[File:Constraint_EqualLength.svg|16px]] [[Sketcher_ConstrainEqual|Equal length]]}}.
:7.5. Repeat with all I-arcs, those between the O-arcs.
:{{Emphasis|Note:}} again the constraints are chained. Therefore all O-arcs will have the same radius, and all I-arcs will have the same radius. At this moment, the specific value of these lengths is not fixed. You may use the pointer to drag a point and see how the sketch is updated while respecting the constraints in place.

<div class="mw-translate-fuzzy">
# Selectați linia de construcție care este închisă pe axa verticală .
# Selectați [[Image:Constraint_Vertical.png|32px]] [[‎Sketcher ConstrainVertical|Vertical]]
</div>

{{Emphasis|Note:}} as you add constraints, overlay symbols indicating the type of constraint appear over the geometry in the [[3D_view|3D view]]. If these symbols obfuscate your view, you can hide them by unchecking the constraint in the [[task_panel|task panel]]. Also note that the number of degrees of freedom decreases after adding each constraint.

{{Emphasis|Note 2:}} if you wish to temporarily disable the constraint, you may select it and press {{Button|[[File:Sketcher_ToggleActiveConstraint.svg|16px]] [[Sketcher_ToggleActiveConstraint|Toggle active constraint]]}}. When you want to apply it again, press again the same button.

[[File:05a_Sk01_Sketcher_equality_constraints_lines.png|x400px]] [[File:05b_Sk01_Sketcher_equality_constraints_O-arcs.png|x400px]]

[[File:05c_Sk01_Sketcher_equality_constraints_I-arcs.png|x400px]]

{{Caption|Sketch with equality constraints applied to the construction lines, and to the two sets of arcs.}}

=== Tangency ===

<div class="mw-translate-fuzzy">
# Selectați punctul de capăt al arcului de cer și punctul de capăt cel mai apropiat de el.
# Selectați [[Image:Constraint_Tangent.png|32px]] [[Sketcher ConstrainTangent|Tangent]]
# Repetați pentru fiecare punct de capăt, până se închide profilul creat.
</div>

{{Emphasis|Note:}} applying the tangential constraint very often will move the geometry around in order to produce a smooth connection. You may have to use the pointer to reposition the points a bit before applying the next tangential constraint. Try placing the endpoints in such a way that two arcs aren't too far apart, so they can be connected with a short line rather than a long line.

<div class="mw-translate-fuzzy">
Până la acest pas, am creat un profil închis, care poate fi ajustat cu dimensiunile dorite.
</div>

[[File:06_Sk01_Sketcher_tangency_constraints.png|x400px]]

{{Caption|Sketch with tangential constraints applied to the arcs, which closes the shape.}}

<span id="Datum_constraints"></span>
<div class="mw-translate-fuzzy">
===== Constrângeri de Referință =====
Acestea sunt folosite pentru a specifica distanța dintre punctele dintr-o anumită direcție și dimensiunile curbelor.
</div>

These constraints specify the numerical distances between two points, and angles between two lines.

=== Distances and angles ===

<div class="mw-translate-fuzzy">
# Selectați constrângerea verticală pentru linia de construit.
# Selectați [[Image:Constraint_VerticalDistance.png|32px]] [[Sketcher ConstrainDistanceY|Vertical Distance]]
# Definiți lungimea la 30 mm.
</div>

<div class="mw-translate-fuzzy">
# Selectați linia verticală de construcție și linia cea mai apropiată de aceasta
# Selectați [[Image:Constraint_InternalAngle.png|32px]] [[Sketcher_ConstrainAngle|Internal Angle]]
# Definiți unghiul la 72°
# Repetați aceeași procedură pentru fiecare pereche de linii adiacente.
</div>

[[File:07a_Sk01_Sketcher_length_constraint.png|x400px]] [[File:07b_Sk01_Sketcher_angle_constraint.png|x400px]]

{{Caption|Sketch with length constraint applied to one vertical construction line (left), and angle constraints to three pairs of construction lines (right).}}

=== Radius ===

<div class="mw-translate-fuzzy">
# Selectați unul dintre arcele de cerc centrate pe puctul de capăt al liniei.
# Selectați unul dintre arcele de cerc centrate pe puctul de capăt al liniei.
# Selectați [[Image:Constraint_Radius.png|32px]] [[Sketcher ConstrainRadius|Radius]]
# Selectați [[Image:Constraint_Radius.png|32px]] [[Sketcher ConstrainRadius|Radius]]
Line 108: Line 259:
# Faceți același lucru pentru un arc de cerc necentrat pe un punct de capăt. Definiți raza la 11 mm.
# Faceți același lucru pentru un arc de cerc necentrat pe un punct de capăt. Definiți raza la 11 mm.
# Modificați raza cercului de centru la 10 mm.
# Modificați raza cercului de centru la 10 mm.
</div>


[[File:08a_Sk01_Sketcher_radius_1_constraint.png|x400px]] [[File:08b_Sk01_Sketcher_radius_2_constraint.png|x400px]]

{{Caption|Sketch with radius constraints applied to the outwards arcs (left), and inwards arcs (right).}}

:11.7. Finally, select the circle in the center of the sketch, press {{Button|[[File:Constraint_Radius.svg|16px]] [[Sketcher_ConstrainRadius|Radius]]}}, and set the value to {{Value|8 mm}}.

<div class="mw-translate-fuzzy">
Ar trebui să finalizați cu o schiță complet constrânsă. Aceasta poate fi confirmată prin observarea modificării culorii tuturor curbelor.
Ar trebui să finalizați cu o schiță complet constrânsă. Aceasta poate fi confirmată prin observarea modificării culorii tuturor curbelor.
</div>

[[File:09_Sk01_Sketcher_fully_constrained.png|x400px]]

{{Caption|Sketch with all geometrical and datum constraints applied.}}

== Extrusion ==

12. Now that we have a fully constrained sketch, it can be used to create a solid body.
:12.1. Exit the sketch edit mode by pressing the {{Button|Close}} button, or pressing {{KEY|Esc}} twice. The sketch should appear in the [[tree_view|tree view]] and the [[3D_view|3D view]].
:12.2. Switch to the [[PartDesign_Workbench|PartDesign Workbench]].
:12.3. With the sketch selected in the [[tree_view|tree view]], press {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Body]]}}, choose the default XY-plane, and press {{Button|OK}}. The sketch should appear now inside the Body.
:12.4. Select the sketch, and then press {{Button|[[File:PartDesign_Pad.svg|16px]] [[PartDesign_Pad|PartDesign Pad]]}}, choose the default options, and press {{Button|OK}} to create a solid extrusion.

[[File:09b_Sk01_Sketcher_fully_constrained_clean.png|x400px]] [[File:10_Sk01_Sketcher_solid_extrusion.png|x400px]]


{{Caption|Left: fully constrained sketch with only the most important constraints showing. Right: solid extrusion produced with [[PartDesign_Pad|PartDesign Pad]].}}
We are now finished with the basic workflow for the [[Sketcher Module|Sketcher Workbench]].


=== Lectură Suplimentară ===
== Additional information ==
* Pentru a înțelege mai mult asupra atelierului, a se vedea[[Sketcher Workbench|Sketcher Workbench]].


For a more in depth description of the sketcher, visit the [[Sketcher_Workbench|Sketcher Workbench]] documentation and also read the [[Sketcher_reference|Sketcher reference]].


Constraining a sketch can be done in many different ways. In general, it is recommended to use geometrical constraints first, and minimize the number of datum constraints, as this simplifies the task of the internal constraint solver. To investigate this, repeat this example, now adding the constraints in different order.
* First constrain the construction lines before drawing the arcs.
* Or constrain the size of the arcs before making them tangent.
* Or set the angle of the construction lines before adding more elements.
* Try using other construction geometry.


{{Sketcher Tools navi{{#translation:}}}}
[[Category:Sketcher]]
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 08:53, 18 April 2024

Tutorial
Topic
Sketcher
Level
Beginner
Time to complete
10 minutes
Authors
Drei
FreeCAD version
0.16 or above
Example files
See also
None

Introducere

Acest tutorial are rolul de a introduce cititorul în fluxul de lucru de bază al aplicației Sketcher Workbench. Vom crea o schiță similară celei prezentate mai jos.

This tutorial was originally written by Drei, and it was rewritten and illustrated by vocx.

This tutorial is meant to introduce the reader to the basic workflow of the Sketcher Workbench.

Atelierul de lucru Sketcher există ca modul independent, dar este accesibil și din cadrul PartDesign Workbench atunci când este necesar să creați un profil.

The reader will practice:

  • Creating construction geometry
  • Creating real geometry
  • Applying geometric constraints
  • Applying datum constraints
  • Obtaining a closed profile

For a more in depth description of the sketcher, read the Sketcher reference.

Cerințe

  • Versiunea FreeCAD 0.16 sau mai recentă

1. Open FreeCAD, create a new empty document with File → New.

1.1. Switch to the Sketcher Workbench from the workbench selector, or the menu View → Workbench → Sketcher.

Some actions to remember:

  • Press the right mouse button, or press Esc in the keyboard once, to deselect the active tool in edit mode.
  • To exit the sketch edit mode, press the Close button in the task panel, or press Esc twice in the keyboard.
  • To enter again edit mode, double click on the sketch in the tree view, or select it, and then click on Edit sketch.

Procedură

Crearea unei Sketch

  1. Creați un nou document
  2. Comutați la Sketcher Workbench utilizând meniul contextual drop-down menu sau făcând click pe View menu > Workbench > Sketcher.
  3. Selectați New sketch
  4. Ar trebui să vedeți un dialog care vă solicită să alegeți orientarea schiței și să oferiți o compensare. Nu vom folosi offset și vom folosi planul implicit
  5. Faceți clic pe OK și putem începe să construim schița

2. Click on New sketch.

2.1. Choose the sketch orientation, that is, one of the base XY, XZ, or YZ planes. Also choose if you want an inverted orientation, and an offset from the base plane.
2.2. We will use the default plane and options.
2.3. Click OK to start constructing the sketch.

Suntem acum în mediul Sketcher. În cadrul acestuia, putem folosi majoritatea instrumentelor disponibile în acest atelier de lucru.

In the Combo View, expand the option Edit controls and make sure Autoconstraints are enabled.

Upper part of the task panel of the sketcher.

Creating geometry

Sketcher construction geometry

Construction geometry is used as guides for the creation of complex profiles. To access it, we need to enable Construction mode .

  1. Selectați Construction Mode
  2. Select Line by 2 point
  3. Apropiați origin point din schiță, punctul ar trebui să evidențieze lângă cursorul această pictogramă va apărea.
  4. Selectați punctul și extindeți linia în diagonală până la o lungime arbitrară.
  5. Repetați această procedură până când creați cinci linii de construction. Asigurați-vă că păstrați-le pe toate diagonale.
  6. Pentru a ieși din modul construcție, doar faceți click din nou pe Construction Mode

Note: up to this point the line tool is still active. This means we can keep clicking on the 3D view to draw as many lines as we want. If we wish to exit this tool, we can press the right mouse button, or press Esc in the keyboard once. By doing this the pointer won't create lines any more, it will just be a pointer allowing us to select the objects we just created. In this pointer mode we can pick and drag the endpoints of each line to adjust its placement.

Note 2: do not press Esc a second time as this will exit the sketch edit mode. If you do this, re-enter the edit mode by double clicking on the sketch in the tree view.

Take a look at the task panel again. The Solver messages section already indicates that the sketch is under-constrained, and it mentions the number of degrees of freedom.

Look at the Constraints and Elements sections to see the new listed constraints and lines. Once your sketches have many elements, it may be difficult to select them in the 3D view, so you can use these lists to select the object that you wish exactly.

Construction lines forming a star shape with its center in the origin.

Geometria Sketcher

Geometria Sketcher este folosită pentru a crea profilurile închise necesare pentru a efectua operații 3D în AtelierulPartDesign .

  1. Selectați Circle
  2. Poziționați centerpoint acestuia pe oringinea sketch.
  3. Extindeți circumferința cu o lungime arbitrară.
  1. Selectați Arc
  2. Apropiați endpoint de una de liniile de construcție.
  3. Definiți centerpoint arcului de cerc pentru a coincide cu punctul de capăt.
  4. Selectați o locație arbitrară a cursorului dvs pentru a fi definit ca începutul arcului , făcând click o dată.
  5. Extindeți arcul de cerc în mod arbitar, asigurându-vă că circumferința se deschide spre exterior (spațiul gol se îndreaptă spre cercul pe care l-ați creat mai devreme).
  6. Repetați acești pași pentru fiecare linie de construcție.

Make sure you are not in construction mode by clicking on Toggle construction, if you have not previously exited this mode.

Outer arcs

4. Create a circle.

4.1. Click on Create circle.
4.2. Click on the origin of the sketch to position its center point.
4.3. Click anywhere in the 3D view to set the circumference radius as a distance from the origin. Make it approximately 8 mm. Again the dimension will be fixed later.

5. Create a series of arcs.

5.1. Click on Create arc.
5.2. Approach the endpoint of one of the construction lines, and click on it. This will set the center point of the circular arc to be coincident with this line's endpoint.
5.3. Click once in the 3D view at an arbitrary location to set simultaneously the radius of the arc, and the first endpoint of it. Define an approximate radius of 8 mm.
5.4. Move the pointer in an anti-clockwise direction to trace an arc that has its concavity pointing towards the origin of the sketch. Click to set the final endpoint of the arc, defining a circular arc that approximately sweeps 180° or half a circle.
5.5. Repeat these steps with each construction line, so that each of them has a circular arc at its tip. We will call these O-arcs for outwards-arcs.

Circular arcs added at the endpoints of the construction lines. Also a central circle.

Inner arcs

  1. Creați un arc între fiecare pereche de arce anterioare, cu circumferința lor îndreptată către cerc.

To summarize, the O-arcs should have their curvature pointing outwards, and their concavity pointing towards the origin of the sketch; the I-arcs should have their curvature pointing inwards, and their concavity pointing away from the same origin.

Circular arcs added between the first set of arcs placed.

Constraints

Take a look at the task panel again. Due to the new geometrical elements that we have drawn, the Solver messages section indicates even more degrees of freedom. A degree of freedom (DOF) indicates a possible movement of one element. For example, a point can be moved both in horizontal and vertical directions, so it has two degrees of freedom. A line is defined by two points, therefore in total it has four degrees of freedom. If we fix one of those points, then the entire system has only two degrees of freedom available; if we additionally fix the horizontal movement of the remaining point, we only have one degree of freedom left; and if we also fix the vertical movement of this point, then the last degree of freedom disappears, and the line cannot move from its position any more.

Constrângeri

Constrângerile sunt folosite pentru a reduce Degrees of Freedom a punctelor și curbelor din schiță.

There are two principal types of constraints:

  • Geometric constraints define characteristics of the shapes without specifying exact dimensions, for example, horizontality, verticality, parallelism, perpendicularity, and tangency.
  • Datum constraints define characteristics of the shapes by specifying dimensions, for example, a numeric length or an angle.

Constrângeri Geometrice

Ele sunt folosite pentru a stabili relațiile dintre puncte și curbe fără a utiliza dimensiuni.

Equal length and radius

  1. Selectați toate cele cinci linii de construcție.
  2. Selectați Equal Length
7.3. Select all five O-arcs, those centered on an endpoint of a construction line.
7.4. Press Equal length.
7.5. Repeat with all I-arcs, those between the O-arcs.
Note: again the constraints are chained. Therefore all O-arcs will have the same radius, and all I-arcs will have the same radius. At this moment, the specific value of these lengths is not fixed. You may use the pointer to drag a point and see how the sketch is updated while respecting the constraints in place.
  1. Selectați linia de construcție care este închisă pe axa verticală .
  2. Selectați Vertical

Note: as you add constraints, overlay symbols indicating the type of constraint appear over the geometry in the 3D view. If these symbols obfuscate your view, you can hide them by unchecking the constraint in the task panel. Also note that the number of degrees of freedom decreases after adding each constraint.

Note 2: if you wish to temporarily disable the constraint, you may select it and press Toggle active constraint. When you want to apply it again, press again the same button.

Sketch with equality constraints applied to the construction lines, and to the two sets of arcs.

Tangency

  1. Selectați punctul de capăt al arcului de cer și punctul de capăt cel mai apropiat de el.
  2. Selectați Tangent
  3. Repetați pentru fiecare punct de capăt, până se închide profilul creat.

Note: applying the tangential constraint very often will move the geometry around in order to produce a smooth connection. You may have to use the pointer to reposition the points a bit before applying the next tangential constraint. Try placing the endpoints in such a way that two arcs aren't too far apart, so they can be connected with a short line rather than a long line.

Până la acest pas, am creat un profil închis, care poate fi ajustat cu dimensiunile dorite.

Sketch with tangential constraints applied to the arcs, which closes the shape.

Constrângeri de Referință

Acestea sunt folosite pentru a specifica distanța dintre punctele dintr-o anumită direcție și dimensiunile curbelor.

These constraints specify the numerical distances between two points, and angles between two lines.

Distances and angles

  1. Selectați constrângerea verticală pentru linia de construit.
  2. Selectați Vertical Distance
  3. Definiți lungimea la 30 mm.
  1. Selectați linia verticală de construcție și linia cea mai apropiată de aceasta
  2. Selectați Internal Angle
  3. Definiți unghiul la 72°
  4. Repetați aceeași procedură pentru fiecare pereche de linii adiacente.

Sketch with length constraint applied to one vertical construction line (left), and angle constraints to three pairs of construction lines (right).

Radius

  1. Selectați unul dintre arcele de cerc centrate pe puctul de capăt al liniei.
  2. Selectați Radius
  3. Definiți raza la 8 mm.
  4. Faceți același lucru pentru un arc de cerc necentrat pe un punct de capăt. Definiți raza la 11 mm.
  5. Modificați raza cercului de centru la 10 mm.

Sketch with radius constraints applied to the outwards arcs (left), and inwards arcs (right).

11.7. Finally, select the circle in the center of the sketch, press Radius, and set the value to 8 mm.

Ar trebui să finalizați cu o schiță complet constrânsă. Aceasta poate fi confirmată prin observarea modificării culorii tuturor curbelor.

Sketch with all geometrical and datum constraints applied.

Extrusion

12. Now that we have a fully constrained sketch, it can be used to create a solid body.

12.1. Exit the sketch edit mode by pressing the Close button, or pressing Esc twice. The sketch should appear in the tree view and the 3D view.
12.2. Switch to the PartDesign Workbench.
12.3. With the sketch selected in the tree view, press PartDesign Body, choose the default XY-plane, and press OK. The sketch should appear now inside the Body.
12.4. Select the sketch, and then press PartDesign Pad, choose the default options, and press OK to create a solid extrusion.

Left: fully constrained sketch with only the most important constraints showing. Right: solid extrusion produced with PartDesign Pad.

Additional information

For a more in depth description of the sketcher, visit the Sketcher Workbench documentation and also read the Sketcher reference.

Constraining a sketch can be done in many different ways. In general, it is recommended to use geometrical constraints first, and minimize the number of datum constraints, as this simplifies the task of the internal constraint solver. To investigate this, repeat this example, now adding the constraints in different order.

  • First constrain the construction lines before drawing the arcs.
  • Or constrain the size of the arcs before making them tangent.
  • Or set the angle of the construction lines before adding more elements.
  • Try using other construction geometry.