Draft Arc/pl: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
{{Docnav |
||
|[[ |
|[[Draft_Fillet|Fillet]] |
||
|[[Draft_Arc_3Points|Arc 3Points]] |
|[[Draft_Arc_3Points|Arc 3Points]] |
||
|[[Draft_Module|Draft]] |
|[[Draft_Module|Draft]] |
||
|IconL= |
|IconL=Draft_Fillet.svg |
||
|IconR=Draft_Arc_3Points.svg |
|IconR=Draft_Arc_3Points.svg |
||
|IconC=Workbench_Draft.svg |
|IconC=Workbench_Draft.svg |
||
}} |
}} |
||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/pl |
{{GuiCommand/pl |
||
|Name=Draft Arc |
|Name=Draft Arc |
||
Line 18: | Line 20: | ||
|SeeAlso=[[Draft_Circle/pl|Draft: Okrąg]], [[Draft_Ellipse/pl|Draft: Elipsa]], [[Draft_Arc_3Points|Draft: Łuk przez 3 punkty]] |
|SeeAlso=[[Draft_Circle/pl|Draft: Okrąg]], [[Draft_Ellipse/pl|Draft: Elipsa]], [[Draft_Arc_3Points|Draft: Łuk przez 3 punkty]] |
||
}} |
}} |
||
</div> |
|||
==Description== |
==Description== |
||
The Arc |
The [[Image:Draft_Arc.svg|24px]] [[Draft_Arc|Draft Arc]] command creates a circular arc in the current [[Draft_SelectPlane|working plane]] from a center, a radius, a start angle and an aperture angle. The radius and the angles can be defined by picking points. |
||
A Draft Arc is in fact a [[Draft_Circle|Draft Circle]] with a {{PropertyData|First Angle}} that is not the same as its {{PropertyData|Last Angle}}. |
|||
This tool works the same way as the [[Draft_Circle|Draft Circle]] tool, but adds start and end angles. To draw an elliptical arc use [[Draft_Ellipse|Draft Ellipse]]. You can also approximate a circular arc by using the [[Draft_BSpline|Draft BSpline]], [[Draft_BezCurve|Draft BezCurve]], and [[Draft_CubicBezCurve|Draft CubicBezCurve]] tools. |
|||
[[Image:Draft_Arc_example.jpg|400px]] |
[[Image:Draft_Arc_example.jpg|400px]] |
||
<div class="mw-translate-fuzzy"> |
|||
{{Caption|Łuk zdefiniowany za pomocą czterech punktów, środka, promienia, punkty początku i końca łuku.}} |
{{Caption|Łuk zdefiniowany za pomocą czterech punktów, środka, promienia, punkty początku i końca łuku.}} |
||
</div> |
|||
==Usage== |
==Usage== |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
See also: [[Draft_Tray|Draft Tray]], [[Draft_Snap|Draft Snap]] and [[Draft_Constrain|Draft Constrain]]. |
|||
The arc can be edited by double clicking on the element in the tree view, or by pressing the {{Button|[[Image:Draft Edit.svg|16px]] [[Draft Edit|Draft Edit]]}} button. Then you can move the center point to a new position. |
|||
# There are several ways to invoke the command: |
|||
The arc can be turned into a circle after creation, by setting its first angle and last angle properties to the same value. |
|||
⚫ | |||
#* Select the {{MenuCommand|Drafting → Arc tools → [[Image:Draft_Arc.svg|16px]] Arc}} option from the menu. |
|||
# The {{MenuCommand|Arc}} task panel opens. See [[#Options|Options]] for more information. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==Options== |
==Options== |
||
* The primary use of the arc tool is by picking four points: the centre, a point on the circumference, the start of the arc, and its end. |
|||
** By pressing {{KEY|Alt}}, you can select a tangent instead of picking point, to define the base circle of the arc. You can therefore construct several types of circles by selecting one, two or three tangents. |
|||
* The direction of the arc depends on the movement you are doing with your mouse. If you start to move clockwise after the third point is entered, your arc will go clockwise. To go counter-clockwise, simply move your mouse back over the third point, until the arc starts drawing in the other direction. |
|||
⚫ | |||
⚫ | |||
* Hold {{KEY|Ctrl}} while drawing to force [[Draft_Snap|snapping]] your point to the nearest snap location, independently of the distance. |
|||
* Hold {{KEY|Shift}} while drawing to [[Draft_Constrain|constrain]] your point horizontally or vertically in relation to the center. |
|||
⚫ | |||
The single character keyboard shortcuts available in the task panel can be changed. See [[Draft_Preferences|Draft Preferences]]. The shortcuts mentioned here are the default shortcuts. |
|||
⚫ | |||
An Arc object shares all properties from a [[Draft Circle|Draft Circle]], but some properties only make sense for the circle. |
|||
⚫ | * To manually enter the coordinates for the center enter the X, Y and Z component, and press {{KEY|Enter}} after each. Or you can press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button when you have the desired values. It is advisable to move the pointer out of the [[3D_view|3D view]] before entering coordinates. |
||
===Data=== |
|||
* The {{MenuCommand|Relative}} checkbox has no purpose for this command. |
|||
* {{PropertyData|First Angle}}: specifies the angle of the first point of the arc. |
|||
* Press {{KEY|G}} or click the {{MenuCommand|Global}} checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the [[Draft_SelectPlane|working plane]] coordinate system. {{Version|0.20}} |
|||
* {{PropertyData|Last Angle}}: specifies the angle of the last point of the arc. |
|||
⚫ | |||
* {{PropertyData|Radius}}: specifies the radius of the arc. |
|||
⚫ | |||
* {{PropertyData|Make Face}}: specifies if the arc makes a face or not. This property only works if the shape is a full circle. |
|||
:To make an arc a full circle set the {{PropertyData|First Angle}} and {{PropertyData|Last Angle}} to the same value. The values 0° and 360° aren't considered the same, so if these two values are used, the circle will not form a face. |
|||
== |
==Notes== |
||
* {{PropertyView|Pattern}}: specifies a [[Draft Pattern|Draft Pattern]] with which to fill the face of the arc. This property only works if the arc is a full circle, and if {{PropertyData|Make Face}} is {{TRUE}}, and if {{PropertyView|Display Mode}} is "Flat Lines". |
|||
* |
* A Draft Arc can be edited with the [[Draft_Edit|Draft Edit]] command. |
||
* If the {{MenuCommand|Edit → Preferences... → Draft → General settings → Draft tools options → Use Part Primitives when available}} option is checked, the command will create a [[Part_Circle|Part Circle]] instead of a Draft Circle. See [[Draft_Preferences#General_settings|Draft Preferences]]. |
|||
⚫ | |||
See [[Draft_Circle#Properties|Draft Circle]]. |
|||
==Scripting== |
==Scripting== |
||
⚫ | |||
⚫ | |||
The Arc tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the same function to create circles, with additional arguments. |
|||
See the information in [[Draft Circle|Draft Circle]]. |
|||
To create a Draft Arc use the {{incode|make_circle}} method ({{Version|0.19}}) of the Draft module. This method replaces the deprecated {{incode|makeCircle}} method. |
|||
Example: |
Example: |
||
{{Code|code= |
{{Code|code= |
||
import FreeCAD as App |
|||
import Draft |
import Draft |
||
doc = App.newDocument() |
|||
⚫ | |||
⚫ | |||
arc1 = Draft.make_circle(200, startangle=0, endangle=90) |
|||
⚫ | |||
⚫ | |||
doc.recompute() |
|||
}} |
}} |
||
{{Docnav |
{{Docnav |
||
|[[ |
|[[Draft_Fillet|Fillet]] |
||
|[[Draft_Arc_3Points|Arc 3Points]] |
|[[Draft_Arc_3Points|Arc 3Points]] |
||
|[[Draft_Module|Draft]] |
|[[Draft_Module|Draft]] |
||
|IconL= |
|IconL=Draft_Fillet.svg |
||
|IconR=Draft_Arc_3Points.svg |
|IconR=Draft_Arc_3Points.svg |
||
|IconC=Workbench_Draft.svg |
|IconC=Workbench_Draft.svg |
||
Line 89: | Line 98: | ||
{{Draft Tools navi{{#translation:}}}} |
{{Draft Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Revision as of 11:16, 4 May 2021
Draft: Łuk |
Lokalizacja w menu |
---|
Drafting → Narzędzia łuku → Łuk |
Środowisko pracy |
Draft, Arch |
Domyślny skrót |
A R |
Wprowadzono w wersji |
0.7 |
Zobacz także |
Draft: Okrąg, Draft: Elipsa, Draft: Łuk przez 3 punkty |
Description
The Draft Arc command creates a circular arc in the current working plane from a center, a radius, a start angle and an aperture angle. The radius and the angles can be defined by picking points.
A Draft Arc is in fact a Draft Circle with a DANEFirst Angle that is not the same as its DANELast Angle.
Łuk zdefiniowany za pomocą czterech punktów, środka, promienia, punkty początku i końca łuku.
Usage
See also: Draft Tray, Draft Snap and Draft Constrain.
- There are several ways to invoke the command:
- Press the Draft Arc button.
- Select the Drafting → Arc tools → Arc option from the menu.
- The Arc task panel opens. See Options for more information.
- Pick the first point, the center of the arc, in the 3D view, or type coordinates and press the Enter point button.
- Pick the second point in the 3D view, or enter a Radius.
- Pick the third point in the 3D view, or enter a Start angle.
- Pick the fourth point in the 3D view, or enter an Aperture angle.
Options
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.
- To manually enter the coordinates for the center enter the X, Y and Z component, and press Enter after each. Or you can press the Enter point button when you have the desired values. It is advisable to move the pointer out of the 3D view before entering coordinates.
- The Relative checkbox has no purpose for this command.
- Press G or click the Global checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the working plane coordinate system. introduced in version 0.20
- Press T or click the Continue checkbox to toggle continue mode. If continue mode is on, the command will restart after finishing, allowing you to continue creating arcs.
- Press Esc or the Close button to abort the command.
Notes
- A Draft Arc can be edited with the Draft Edit command.
- If the Edit → Preferences... → Draft → General settings → Draft tools options → Use Part Primitives when available option is checked, the command will create a Part Circle instead of a Draft Circle. See Draft Preferences.
Properties
See Draft Circle.
Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To create a Draft Arc use the make_circle
method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makeCircle
method.
Example:
import FreeCAD as App
import Draft
doc = App.newDocument()
arc1 = Draft.make_circle(200, startangle=0, endangle=90)
arc2 = Draft.make_circle(500, startangle=20, endangle=160)
arc3 = Draft.make_circle(750, startangle=-30, endangle=-150)
doc.recompute()
- Kreślenie: Linia, Polilinia, Zaokrąglenie, Łuk, Łuk przez 3 punkty, Okrąg, Elipsa, Wielokąt foremny, Krzywa złożona, Krzywa Bezier'a, Punkt, Łącznik ścian, Kształt z tekstu, Kreskowanie, Prostokąt
- Adnotacje: Adnotacja wieloliniowa, Wymiarowanie, Etykieta, Edytor stylów adnotacji, Widżet skali anotacji
- Modyfikacja: Przesuń, Obróć, Skala, Odbicie lustrzane, Odsunięcie, Przytnij, Rozciągnij, Klonuj, Szyk, Szyk biegunowy, Szyk kołowy, Szyk po ścieżce, Szyk powiązań po ścieżce, Szyk z punktów, Szyk powiązań w punktach, Edycja, Podświetl element podrzędny, Połącz, Rozdziel, Ulepsz kształt, Rozbij obiekt na elementy, Polilinia na krzywą złożoną, Rysunek Roboczy do szkicu, Nachylenie, Obróć wymiar, Widok 2D kształtu
- Tacka narzędziowa: Wybór płaszczyzny, Ustaw styl, Przełącz tryb konstrukcyjny, Grupowanie automatyczne
- Przyciąganie: Przełącz przyciąganie, Przyciągnij do punktu końcowego, Przyciągnij do punktu środkowego, Przyciągnij do środka, Przyciągnij do kąta, Przyciąganie do punktu przecięcia, Przyciągnij prostopadle, Rozszerz, Przyciągnij równolegle, Przyciągnij specjalnie, Przyciąganie do najbliższego, Przyciągnij ortogonalnie, Przyciągnij do siatki, Przyciągnij do płaszczyzny roboczej, Przyciągnij do wymiaru, Pokaż / ukryj siatkę
- Różności: Zastosuj bieżący styl, Warstwa, Zarządzaj warstwami, Dodaj grupę o nazwie, Dodaj do grupy, Wybierz grupę, Dodaj do grupy konstrukcyjnej, Przełącz tryb wyświetlania, Pośrednia płaszczyzna robocza, Ulecz, Przełącz tryb kontynuacji, Pokaż przybornik przyciągania
- Dodatkowe:: Wiązania, Wypełnienie wzorem, Preferencje, Ustawienia Importu i Eksportu, DXF/DWG, SVG, OCA, DAT
- Menu podręczne:
- Kontener warstwy: Połącz duplikaty warstw, Dodaj warstwę
- Warstwa: Aktywuj warstwę, Zaznacz zawartość warstwy
- Pośrednia płaszczyzna robocza: Zapisz ujęcie widoku, Zapisz stan obiektów
- Jak zacząć
- Instalacja: Pobieranie programu, Windows, Linux, Mac, Dodatkowych komponentów, Docker, AppImage, Ubuntu Snap
- Podstawy: Informacje na temat FreeCAD, Interfejs użytkownika, Profil nawigacji myszką, Metody wyboru, Nazwa obiektu, Edytor ustawień, Środowiska pracy, Struktura dokumentu, Właściwości, Pomóż w rozwoju FreeCAD, Dotacje
- Pomoc: Poradniki, Wideo poradniki
- Środowiska pracy: Strona Startowa, Architektura, Assembly, CAM, Rysunek Roboczy, MES, Inspekcja, Siatka, OpenSCAD, Część, Projekt Części, Punkty, Inżynieria Wsteczna, Robot, Szkicownik, Arkusz Kalkulacyjny, Powierzchnia 3D, Rysunek Techniczny, Test Framework