Sketcher Workbench/pl: Difference between revisions

From FreeCAD Documentation
m (template fr)
(Updating to match new version of source page)
Line 1: Line 1:
[[File:FC_ConstrainedSketch.png|thumb|left|Podstawowy szkic w pełni ograniczony więzami]]
[[File:FC_ConstrainedSketch.png|thumb|left|A basic, fully-constrained sketch‎]]


'''Warsztat Szkicownika (Sketcher Workbench)''' używany jest do tworzenia geometrii 2D przeznaczonej do wykorzystania w '''[[PartDesign Workbench/pl|Warsztacie PartDesign]]''' i innych warsztatach.
The '''Sketcher Workbench''' is used to create 2D geometries intended for use in the '''[[PartDesign Workbench|Part Design Workbench]]''' and other workbenches.
Generally a 2D geometry is considered the starting-point for most CAD models - a simple 2D sketch can be 'extruded' into a 3D shape, further 2D sketches can be used to create pockets in the surface of this shape and sketches can be used to define 'pads' (extrusions) on the surface of 3D objects.
Zasadniczo geometria 2D jest uznawana za punkt startowy dla większości modeli CAD - prosty szkic 2D może zostać 'wyciągnięty' w bryłę 3D, dalsze szkice 2D mogą zostać użyte do stworzenia kieszeni (zagłębień) na powierzchni tej bryły i w końcu szkice mogą zostać użyte do wykonania 'występów' (wyciągnięć) na powierzchni obiektów 3D.
Wraz z [[Part Module/pl|operacjami boole'owskimi]], kształty powstałe ze szkiców rdzeniem produktywnego modelowania bryłowego.
Along with [[Part Module|boolean operations]], the sketcher forms the core of generative solid shape design.

Warsztat Szkicownika cechuje się więzami pozwalając na opisanie kształtów 2D dokładnymi definicjami geometrycznymi. Dodatkowo solwer przelicza tę geometrię pozwalając na interaktywne badanie stopni swobody szkicu.


The Sketcher workbench itself features constraints - allowing 2D shapes to be constrained to precise geometrical definitions. And a constraint solver which calculates the constrained-extent of 2D geometry and allows interactive exploration of sketch degrees-of-freedom.
{{clear}}
{{clear}}
{{VeryImportantMessage|Ta strona wiki została napisana w oparciu o '''wersję v0.12''' FreeCAD-a. Wcześnienie wersje nie posiadają większości narzędzi Szkicownika. By uzyskać dostęp do wszystkich aktualnych funkcji Szkicownika udaj się na stronę [[Download|Pobieranie]] by zaktualizować twoją wersję programu.}}


=== Basics of constraint sketching ===
To explain how the Sketcher works, it may be useful to compare it to the "traditional" way of drafting.


=== Podstawy szkicowania z więzami ===
==== Traditional Drafting ====
The traditional way of CAD drafting inherits from the old [http://en.wikipedia.org/wiki/Drawing_board drawing board]. [http://en.wikipedia.org/wiki/Multiview_orthographic_projection Orthogonal (2D) views] are drawn manually and intended for producing technical drawings (also known as blueprints). Objects are drawn precisely to the intended size or dimension. If you want to draw an horizontal line 100mm in length starting at (0,0), you activate the line tool, either click on the screen or input the (0,0) coordinates for the first point, then make a second click or input the second point coordinates at (100,0). Or you will draw your line without regard to its position, and move it afterward. When you've finished drawing your geometries, you add dimensions to them.


==== Constraint Sketching ====
By wytłumaczyć jak działa Szkicownik może być przydatne porównanie do "tradycyjnego" sposobu rysowania.
The '''Sketcher''' moves away from this logic. Objects do not need to be drawn exactly as you intend to, because they will be defined later on by constraints. Objects can be drawn loosely, and as long as they are unconstrained, can be modified. They are in effect "floating" and can be moved, stretched, rotated, scaled, and so on. This gives great flexibility in the design process.


==== Rysowanie Tradycyjne ====
==== What are constraints? ====
Constraints are used to limit the degrees of freedom of an object. For example, a line without constraints has 4 degrees of freedom: it can be moved horizontally or vertically, it can be stretched, and it can be rotated.
Tradycyjna metoda rysowania CAD pochodzi od dawnej [http://pl.wikipedia.org/wiki/Deska_kre%C5%9Blarska deski kreślarskiej]. [http://en.wikipedia.org/wiki/Multiview_orthographic_projection Rzuty prostopadłe (2D)] są rysowanie ręczenie i przeznaczone do tworzenia rysunków technicznych. Obiekty są rysowane precyzyjnie w zamierzonej skali lub wymiarze. Jeśli chcesz narysować poziomą linię o długości 100mm startującą w punkcie (0,0), musisz aktywować narzędzie linii, kliknąć na ekranie bądź wprowadzić współrzędne (0,0) dla pierwszego punktu, następnie wykonać kolejne kliknięcie lub wprowadzić współrzędnie dla drugiego punktu (0,100). Ewentualnie możesz narysować linię bez określanie jej pozycji i przesunąć ją później. Kiedy skończysz rysować geometrię, dodajesz wymiary do niej.


Applying a horizontal or vertical constraint, or an angle constraint (relative to another line or to one of the axes), will limit its capacity to rotate, thus leaving it with 3 degrees of freedom. Locking one of its points in relation to the origin will remove another 2 degrees of freedom. And applying a dimension constraint will remove the last degree of freedom. The line is then considered '''fully-constrained'''.
==== Szkicowanie z Więzami ====
'''Skicownik''' odchodzi od tej logiki. Obiekty nie muszą być rysowane dokładnie jak założyłeś, bo zostaną później zdefiniowane za pomocą więzów. Obiekty mogą być rysowane nieściśle i, tak długą jak nie są ograniczone więzami, mogą być modyfikowane. W efekcie są "pływające" i mogą być przesuwane, rozciągane, obracane, skalowane itp. To daje ogromną elastyczność procesu projektowania.


Multiple objects can be constrained between one another. Two lines can be joined through one of their points with the coincident point constraint. An angle can be set between them, or they can be set perpendicular. A line can be tangent to an arc or a circle, and so on.
==== Czym są więzy? ====
Więzy używane są do ograniczenia stopni swobody obiektu. Dla przykładu, linia bez więzów ma 4 stopnie swobody: może być przesuwana w poziomie lub pionie, rozciągana i obracana.


There are two kinds of constraints: geometric and dimensional. They are detailed in the [[#The tools|'The tools']] section below.
Wykorzystanie więzu poziomego lub pionowego, lub więzu kąta (względem innej linii lub jednej z osi), ogranicz jej zdolność do obracania pozostawiając ją z 3 stopniami swobody. Zablokowanie jednego z punktów w relacji do układu współrzędnych usunie kolejne dwa stopnie. W końcu zastosowanie więzu wymiaru usunie ostatni stopień swobody. Linia jest w wtedy uznawana za '''w pełni ograniczoną więzami'''.


=== What the Sketcher is not good for ===
Różne obiekty mogą być wiązane między sobą. Dwie linie mogą być związane, którymiś ze swoich punktów, więzem nachodzenia (coincident). Między zostać ustawiony kąt między nimi lub mogą zostać powiązane jako prostopadłe. Linia może być styczna do łuku lub okręgu itp.
The Sketcher is not intended for producing 2D blueprints. Once sketches are used to generate a solid feature, they are automatically hidden. Dimensions are only visible in Sketch edit mode.


If you only need to produce 2D views for print, and don't want to create 3D models, check out the [[2d Drafting Module|Draft workbench]] (keep in mind though that the Draft workbench can also be useful to create 2D geometry not available in the Sketcher at this time, like B-Splines.)
Są dwa typy więzów: geometryczne i wymiarowe.Są one opisane dokładnej w poniższej sekcji [[#The tools|'The tools']].

=== Zastosowania do których Szkicownik się nie nadaje ===

Szkicownik nie jest przeznaczony do tworzenia dokumentacji 2D. Gdy szkice zostają użyte do utworzenia brył, są automatycznie ukrywane. Wymiary są widoczne tylko w trybie edycji Szkicownika.

Jeśli potrzebujesz tylko stworzyć widoki 2D do wydruku, i nie chcesz tworzyć modeli 3D, sprawdź [[2d Drafting Module/pl|warsztat Draft]] (weź pod uwagę, że warsztat Draft może być także użyteczny przy tworzeniu geometrii 2D niedostępnej aktualnie w Szkicowniku, jak B-Splajny.)


=== Sketching Workflow ===
=== Sketching Workflow ===

To be added
To be added


=== Dobre praktyki ===
=== Good Practices ===
Every CAD user develops his own way of working over time, but there are some useful general principles to follow.

Każdy użytkownik systemów CAD wypracowuje własny sposób pracy, ale poniżej znajduje się kilka użytecznych, głównych wskazówek do wykorzystania.

* Kilka prostych szkiców jest łatwiej opanować niż jeden skomplikowany. Np., pierwszy szkic może być utworzony jako baza do cechy 3D (występu lub kieszeni), kiedy drugi może zawierać otwory lub wycięcia (kieszenie). Część szczegółów może zostać wyrzucona, by zrealizować je w postaci cech 3D. Możesz uniknąć zaokrągleń w szkicu jeśli jest ich zbyt wiele i dodać je jako cechy 3D.
* Zawsze twórz zamknięty profil, inaczej ze szkicu nie zostanie utworzona bryła, a zbiór otwartych ścian. Jeśli nie chcesz użyć niektórych obiektów podczas tworzenia bryły, zmień je na elementy konstrukcyjne narzędziem Tryb Konstrukcji.
* Użyj funkcji autowiązania by ograniczyć ilość więzów które będziesz dodawał ręcznie
* Jako główna zasada, najpierw dodawaj więzy geometryczne, potem wymiarowe i na końcu zablokuj szkic. Ale zapamiętaj: zasady są po to by je łamać. Jeśli masz problemy z manipulowaniem szkicem, może być przydatne związanie najpierw kilku obiektów przed ukończeniem rysowania profilu.
* Jeśli to możliwe, wycentruj szkic na początku układu współrzędnych (0,0) używając więzu blokady.Jeśli szkic nie jest symetryczny, ustaw jeden z jego punktów na początku układu współrzędnych lub wybierz całkowite liczby do zablokowania odległości. W v0.12 więzy zewnętrzne nie są zaimplementowane (dopiero v0.13 ma ich wstępną obsługę). Znaczy to, że by ustawić geometrię szkicu do szkicu wcześniejszego, musisz zrobić to ręczne. Więz blokady (25,75) od początku układu współrzędnych jest znacznie łatwiejszy do zapamiętania niż taki (23.47,73.02).
* Jeśli możesz wybrać pomiędzy więzem Długości a Poziomym lub Pionowym więzem Odległości, wybierz ten drugi. Będzie on lżejszy w procesie obliczeń.


* A series of simple sketches is easier to manage than a single complex one. For example, a first sketch can be created for the base 3D feature (either a pad or a revolve), while a second one can contain holes or cutouts (pockets). Some details can be left out, to be realized later on as 3D features. You can choose to avoid fillets in your sketch if there are too many, and add them as a 3D feature.
=== Narzędzia ===
* Always create a closed profile, or your sketch won't produce a solid, but rather a set of open faces. If you don't want some of the objects to be included in the solid creation, turn them to construction elements with the Construction Mode tool.
* Use the auto constraints feature to limit the number of constraints you'll have to add manually.
* As a general rule, apply geometric constraints first, then dimensional constraints, and lock your sketch last. But remember: rules are made to be broken. If you're having trouble manipulating your sketch, it may be useful to constrain a few objects first before completing your profile.
* If possible, center your sketch to the origin (0,0) with the lock constraint. If your sketch is not symmetric, locate one of its points to the origin, or choose nice round numbers for the lock distances. In v0.12, external constraints (constraining the sketch to existing 3D geometry like edges or to other sketches) are not implemented. This means that to locate following sketches geometry to your first sketch, you'll need to set distances relative to your first sketch manually. A lock constraint of (25,75) from the origin is more easily remembered than (23.47,73.02).
* If you have the possibility to choose between the Length constraint and the Horizontal or Vertical Distance constraints, prefer the latter. Horizontal and Vertical Distance constraints are computationally cheaper.


=== The tools ===
Narzędzia Warsztatu Szkicownika znajdują się w menu Szkicownika, które pojawia się po załadowaniu tego warsztatu.
The Sketcher Workbench tools are all located in the Sketcher menu that appears when you load the Sketcher Workbench.


{{Sketcher Tools/pl}}
{{Sketcher Tools}}


[[Category:User Documentation]]
{{languages/pl | {{en|Sketcher_Workbench}} {{es|Sketcher_Workbench/es}} {{fr|Sketcher_Workbench/fr}} {{it|Sketcher_Workbench/it}} {{ru|Sketcher_Workbench/ru}} }}


<languages/>
[[Category:User Documentation/pl]]

Revision as of 20:03, 22 December 2013

A basic, fully-constrained sketch‎

The Sketcher Workbench is used to create 2D geometries intended for use in the Part Design Workbench and other workbenches. Generally a 2D geometry is considered the starting-point for most CAD models - a simple 2D sketch can be 'extruded' into a 3D shape, further 2D sketches can be used to create pockets in the surface of this shape and sketches can be used to define 'pads' (extrusions) on the surface of 3D objects. Along with boolean operations, the sketcher forms the core of generative solid shape design.

The Sketcher workbench itself features constraints - allowing 2D shapes to be constrained to precise geometrical definitions. And a constraint solver which calculates the constrained-extent of 2D geometry and allows interactive exploration of sketch degrees-of-freedom.

Basics of constraint sketching

To explain how the Sketcher works, it may be useful to compare it to the "traditional" way of drafting.

Traditional Drafting

The traditional way of CAD drafting inherits from the old drawing board. Orthogonal (2D) views are drawn manually and intended for producing technical drawings (also known as blueprints). Objects are drawn precisely to the intended size or dimension. If you want to draw an horizontal line 100mm in length starting at (0,0), you activate the line tool, either click on the screen or input the (0,0) coordinates for the first point, then make a second click or input the second point coordinates at (100,0). Or you will draw your line without regard to its position, and move it afterward. When you've finished drawing your geometries, you add dimensions to them.

Constraint Sketching

The Sketcher moves away from this logic. Objects do not need to be drawn exactly as you intend to, because they will be defined later on by constraints. Objects can be drawn loosely, and as long as they are unconstrained, can be modified. They are in effect "floating" and can be moved, stretched, rotated, scaled, and so on. This gives great flexibility in the design process.

What are constraints?

Constraints are used to limit the degrees of freedom of an object. For example, a line without constraints has 4 degrees of freedom: it can be moved horizontally or vertically, it can be stretched, and it can be rotated.

Applying a horizontal or vertical constraint, or an angle constraint (relative to another line or to one of the axes), will limit its capacity to rotate, thus leaving it with 3 degrees of freedom. Locking one of its points in relation to the origin will remove another 2 degrees of freedom. And applying a dimension constraint will remove the last degree of freedom. The line is then considered fully-constrained.

Multiple objects can be constrained between one another. Two lines can be joined through one of their points with the coincident point constraint. An angle can be set between them, or they can be set perpendicular. A line can be tangent to an arc or a circle, and so on.

There are two kinds of constraints: geometric and dimensional. They are detailed in the 'The tools' section below.

What the Sketcher is not good for

The Sketcher is not intended for producing 2D blueprints. Once sketches are used to generate a solid feature, they are automatically hidden. Dimensions are only visible in Sketch edit mode.

If you only need to produce 2D views for print, and don't want to create 3D models, check out the Draft workbench (keep in mind though that the Draft workbench can also be useful to create 2D geometry not available in the Sketcher at this time, like B-Splines.)

Sketching Workflow

To be added

Good Practices

Every CAD user develops his own way of working over time, but there are some useful general principles to follow.

  • A series of simple sketches is easier to manage than a single complex one. For example, a first sketch can be created for the base 3D feature (either a pad or a revolve), while a second one can contain holes or cutouts (pockets). Some details can be left out, to be realized later on as 3D features. You can choose to avoid fillets in your sketch if there are too many, and add them as a 3D feature.
  • Always create a closed profile, or your sketch won't produce a solid, but rather a set of open faces. If you don't want some of the objects to be included in the solid creation, turn them to construction elements with the Construction Mode tool.
  • Use the auto constraints feature to limit the number of constraints you'll have to add manually.
  •  As a general rule, apply geometric constraints first, then dimensional constraints, and lock your sketch last. But remember: rules are made to be broken. If you're having trouble manipulating your sketch, it may be useful to constrain a few objects first before completing your profile.
  • If possible, center your sketch to the origin (0,0) with the lock constraint. If your sketch is not symmetric, locate one of its points to the origin, or choose nice round numbers for the lock distances. In v0.12, external constraints (constraining the sketch to existing 3D geometry like edges or to other sketches) are not implemented. This means that to locate following sketches geometry to your first sketch, you'll need to set distances relative to your first sketch manually. A lock constraint of (25,75) from the origin is more easily remembered than (23.47,73.02).
  • If you have the possibility to choose between the Length constraint and the Horizontal or Vertical Distance constraints, prefer the latter. Horizontal and Vertical Distance constraints are computationally cheaper.

The tools

The Sketcher Workbench tools are all located in the Sketcher menu that appears when you load the Sketcher Workbench.

Template:Sketcher Tools