Draft Array/pl: Difference between revisions
(Created page with "Rysunek Roboczy: Szyk") |
(Created page with "To polecenie jest już przestarzałe. Zamiast tego należy użyć Szyk ortogonalny, Szyk biegunowy lub Szyk kołowy.") |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav/pl |
|||
{{VeryImportantMessage|This command is deprecated in 0.19. For the new usage, see [[Draft_OrthoArray|Draft OrthoArray]], which works essentially the same way. |
|||
| |
|||
Also see [[Draft_PolarArray|Draft PolarArray]] and [[Draft_CircularArray|Draft CircularArray]].}} |
|||
| |
|||
|[[Draft_Workbench/pl|środowisko pracy Rysunek Roboczy]] |
|||
{{Docnav |
|||
|IconL= |
|||
|[[Draft_Draft2Sketch|Draft to Sketch]] |
|||
|IconR= |
|||
|[[Draft_LinkArray|Link Array]] |
|||
|[[Draft_Module|Draft]] |
|||
|IconL=Draft_Draft2Sketch.svg |
|||
|IconR=Draft_LinkArray.svg |
|||
|IconC=Workbench_Draft.svg |
|IconC=Workbench_Draft.svg |
||
}} |
}} |
||
{{VeryImportantMessage|TO POLECENIE JEST PRZESTARZAŁE<br> |
|||
{{GuiCommand |
|||
Nie będzie on dostępny w {{VersionPlus/pl|0.21}}. Zamiast tego należy użyć [[Draft_OrthoArray/pl|Szyk ortogonalny]], [[Draft_PolarArray/pl|Szyk biegunowy]] lub [[Draft_CircularArray/pl|Szyk kołowy]].}} |
|||
{{GuiCommand/pl |
|||
|Name=Draft Array |
|Name=Draft Array |
||
|Name/pl=Rysunek Roboczy: Szyk |
|||
|MenuLocation=Draft → Array |
|||
|Workbenches=[[ |
|Workbenches=[[Draft_Workbench/pl|Rysunek Roboczy]], [[Arch_Workbench/pl|Architektura]] |
||
|SeeAlso=[[Draft_OrthoArray/pl|Szyk ortogonalny]], [[Draft_PolarArray/pl|Szyk biegunowy]], [[Draft_CircularArray/pl|Szyk kołowy]] |
|||
|SeeAlso=[[Draft_PolarArray|Draft PolarArray]], [[Draft_CircularArray|Draft CircularArray]], [[Draft_PathArray|Draft PathArray]], [[Draft_PointArray|Draft PointArray]], [[Draft_Clone|Draft Clone]] |
|||
}} |
}} |
||
= |
<span id="Description"></span> |
||
==Opis== |
|||
Polecenie [[Image:Draft_Array.svg|24px]] '''Szyk''' tworzy ortogonalny ''(3-osiowy)'' szyk z wybranego obiektu. Utworzony szyk może zostać przekształcony w [[Draft_PolarArray/pl|szyk biegunowy]] lub [[Draft_CircularArray/pl|szyk kołowy]] poprzez zmianę jego właściwości {{PropertyData|Typ tablicy}}. |
|||
The {{Button|[[Image:Draft Array.svg|16px]] [[Draft Array|Draft Array]]}} tool creates an orthogonal (3-axes), polar, or circular array from a selected object. |
|||
Narzędzie Przesuń może być używane na obiektach 2D utworzonych za pomocą środowisk pracy [[Draft_Workbench/pl|Rysunek Roboczy]] lub [[Sketcher_Workbench/pl|Szkicownik]], ale może być również używane dla wielu typów obiektów 3D, takich jak te utworzone za pomocą środowisk pracy [[Part_Workbench/pl|Część]], [[PartDesign_Workbench/pl|Projekt Części]] lub [[Arch_Workbench/pl|Architektura]]. |
|||
To polecenie jest już przestarzałe. Zamiast tego należy użyć [[Draft_OrthoArray/pl|Szyk ortogonalny]], [[Draft_PolarArray/pl|Szyk biegunowy]] lub [[Draft_CircularArray/pl|Szyk kołowy]]. |
|||
To create polar and circular arrays directly, use the corresponding [[Draft_PolarArray|PolarArray]] and [[Draft_CircularArray|CircularArray]] tools; to position copies along a path use [[Draft_PathArray|PathArray]]; to position copies at specified points use [[Draft_PointArray|PointArray]]; to create copies or clones, and manually place them use [[Draft_Move|Move]], [[Draft_Rotate|Rotate]], and [[Draft_Clone|Clone]]. |
|||
<span id="Usage"></span> |
|||
To create [[App_Link|App Links]] instead of simple copies, use [[Draft_LinkArray|LinkArray]], [[Draft_PathLinkArray|Path LinkArray]], and the proper option with [[Draft_PolarArray|PolarArray]] and [[Draft_CircularArray|CircularArray]] . |
|||
==Użycie== |
|||
# Aby użyć tego polecenia w FreeCAD w wersji 0.19 i nowszych, należy dodać przycisk do niestandardowego paska narzędzi. Zapoznaj się z informacjami zawartymi na stronie [[Interface_Customization/pl|Dostosowywanie interfejsu użytkownika do własnych potrzeb]]. |
|||
[[File:Draft_Array_example.png|x300px]] [[File:Draft_PolarArray_example.png|x300px]] |
|||
# Opcjonalnie wybierz jeden obiekt. |
|||
{{Caption|Orthogonal array (left) and polar array (right) from a solid object.}} |
|||
# Naciśnij przycisk {{Button|[[Image:Draft_Array.svg|16px]] [[Draft_Array/pl|Szyk]]}}. |
|||
# Jeśli nie wybrałeś jeszcze żadnego obiektu: wybierz jeden obiekt. |
|||
# Tablica zostanie utworzona. |
|||
# Opcjonalnie można zmienić [[Draft_OrthoArray/pl#Właściwości|właściwości]]. |
|||
<span id="Properties"></span> |
|||
[[File:Draft_CircularArray_example.png|x300px]] |
|||
==Właściwości== |
|||
Zapoznaj się z informacjami zawartymi na stronie [[Draft_OrthoArray/pl#Właściwości|Szyk ortogonalny]]. |
|||
{{Caption|Circular array from a solid object}} |
|||
<span id="Scripting"></span> |
|||
==Usage== |
|||
==Tworzenie skryptów== |
|||
# Select an object with which you wish to make an array. |
|||
# Press the {{Button|[[Image:Draft Array.svg|16px]] [[Draft Array|Draft Array]]}} button. If no object is selected, you will be invited to select one. |
|||
# The Array object is immediately created. You must change the properties of the array to change the number and direction of copies created. |
|||
Zapoznaj się z informacjami zawartymi na stronie [[Draft_OrthoArray/pl#Tworzenie_skryptów|Szyk ortogonalny]]. |
|||
Each element in the array is an exact clone of the original object, but the entire array is considered a single unit in terms of properties and appearance. |
|||
== Options == |
|||
There are no options for this tool. Either it works with the selected object or not. |
|||
== Properties == |
|||
* {{PropertyData|Base}}: specifies the object to duplicate in the array. |
|||
* {{PropertyData|Array Type|Enumeration}}: specifies the type of array to create, {{value|"ortho"}}, {{value|"polar"}}, or {{value|"circular"}}. |
|||
* {{PropertyData|Fuse}}: if it is {{TRUE}}, and the copies intersect with each other, they will be fused together into a single shape. |
|||
For orthogonal arrays: |
|||
* {{PropertyData|Interval X}}: specifies the interval between each copy on the X axis. |
|||
* {{PropertyData|Interval Y}}: specifies the interval between each copy on the Y axis. |
|||
* {{PropertyData|Interval Z}}: specifies the interval between each copy on the Z axis. |
|||
* {{PropertyData|Number X}}: specifies the number of copies on the X axis. |
|||
* {{PropertyData|Number Y}}: specifies the number of copies on the Y axis. |
|||
* {{PropertyData|Number Z}}: specifies the number of copies on the Z axis. |
|||
For polar arrays: |
|||
* {{PropertyData|Axis}}: specifies the normal direction of the array circle. |
|||
* {{PropertyData|Center}}: specifies the center point of the array circle. |
|||
* {{PropertyData|Angle}}: specifies the aperture of the circular arc to cover with copies; use 360 to cover an entire circle. |
|||
* {{PropertyData|Number Polar}}: specifies the number of copies to place in the circular arrangement. |
|||
* {{PropertyData|Interval Axis}}: specifies the interval between each copy on the {{PropertyData|Axis}} direction. |
|||
For circular arrays: |
|||
* {{PropertyData|Number Circles}}: |
|||
* {{PropertyData|Radial distance}}: |
|||
* {{PropertyData|Symmetry}}: |
|||
* {{PropertyData|Tangential Distance}}: |
|||
The number property, either X, Y, Z, or Polar, also includes the original object, so this number will be at least one. |
|||
An interval is not a simple distance, but a vector (x, y, z). If more than one value is non-zero, the copy will be created in the main direction, but will also be displaced in the other non-zero directions. |
|||
For example, if {{PropertyData|Interval X}} is (2 m, 1 m, 1 m), and {{PropertyData|Number X}} is 3, it will create 3 copies in the X direction; the first copy will be at the original position, the second will be displaced 2 m on X, 1 m on Y, and 1 m on Z; the third copy will be displaced 4 m on X, 2 m on Y, and 2 m on Z. Each array element will be moved slightly to one side (Y direction) and up (Z direction) beside the main X direction. |
|||
The {{PropertyData|Interval Axis}} property works in the same way. If the original shape lies on the XY plane, creating a polar array with {{PropertyData|Interval Axis}} (0, 0, z) allows you to make spiral arrangements. |
|||
==Scripting== |
|||
{{Emphasis|See also:}} [[Draft API|Draft API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
|||
The Array tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using two different functions, depending on if you wish to obtain standalone copies of your base object, or a parametric array object that stays linked to the original object. |
|||
=== Simple array === |
|||
The basic signature is as follows: |
|||
{{Code|code= |
|||
array_list = array(objectslist, arg1, arg2, arg3, arg4=None, arg5=None, arg6=None) |
|||
}} |
|||
To create a rectangular array, use it like this: |
|||
{{Code|code= |
|||
array_list = array(objectslist, xvector, yvector, xnum, ynum) |
|||
array_list = array(objectslist, xvector, yvector, zvector, xnum, ynum, znum) |
|||
}} |
|||
To create a polar array, use it like this: |
|||
{{Code|code= |
|||
array_list = array(objectslist, center, totalangle, totalnum) |
|||
}} |
|||
* Creates an array from the objects contained in {{incode|objectslist}}, which can be a single object or a list of objects. |
|||
* In case of a rectangular array, {{incode|xvector}}, {{incode|yvector}}, and {{incode|zvector}} determine the distance between the base points of each copy, in the X, Y, and Z directions; and {{incode|xnum}}, {{incode|ynum}}, and {{incode|znum}} are the number of copies in the respective direction. |
|||
* In case of a polar array, {{incode|center}} defines the center of the array circle, {{incode|totalangle}} is the angle of the arc in degrees to cover with copies, and {{incode|totalnum}} is the number of copies to arrange around the circle, including the original object. |
|||
* {{incode|array_list}} is returned with the new copies. |
|||
** {{incode|array_list}} is either a single object or a list of objects, depending on the input {{incode|objectslist}}. |
|||
This function internally uses {{incode|Draft.move()}} and {{incode|Draft.rotate()}} with <code>copy=True</code>. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD, Draft |
|||
Rect = Draft.makeRectangle(1500, 500) |
|||
array_list = Draft.array(Rect, FreeCAD.Vector(1600, 0, 0), FreeCAD.Vector(0, 600, 0), 3, 4) |
|||
}} |
|||
=== Parametric array === |
|||
The basic signature is as follows: |
|||
{{Code|code= |
|||
Array = makeArray(baseobject, arg1, arg2, arg3, arg4=None, arg5=None, arg6=None, name="Array") |
|||
}} |
|||
To create a rectangular array, use it like this: |
|||
{{Code|code= |
|||
Array = makeArray(baseobject, xvector, yvector, xnum, ynum, name="Array") |
|||
Array = makeArray(baseobject, xvector, yvector, zvector, xnum, ynum, znum, name="Array") |
|||
}} |
|||
To create a polar array, use it like this: |
|||
{{Code|code= |
|||
Array = makeArray(baseobject, center, totalangle, totalnum, name="Array") |
|||
}} |
|||
* Creates an {{incode|Array}} object from the given {{incode|baseobject}}. |
|||
* In case of a rectangular array, {{incode|xvector}}, {{incode|yvector}}, and {{incode|zvector}} determine the distance between the base points of each copy, in the X, Y, and Z directions; and {{incode|xnum}}, {{incode|ynum}}, and {{incode|znum}} are the number of copies in the respective direction. |
|||
* In case of a polar array, {{incode|center}} defines the center of the array circle, {{incode|totalangle}} is the angle of the arc in degrees to cover with copies, and {{incode|totalnum}} is the number of copies to arrange around the circle, including the original object. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD, Draft |
|||
Rect = Draft.makeRectangle(1500, 500) |
|||
xvector = FreeCAD.Vector(1600, 0, 0) |
|||
yvector = FreeCAD.Vector(0, 600, 0) |
|||
Array = Draft.makeArray(Rect, xvector, yvector, 3, 4) |
|||
Tri = Draft.makePolygon(3, 600) |
|||
center = FreeCAD.Vector(-1600, 0, 0) |
|||
Array2 = Draft.makeArray(Tri, center, 360, 6) |
|||
}} |
|||
{{Docnav |
{{Docnav/pl |
||
| |
|||
|[[Draft_Draft2Sketch|Draft to Sketch]] |
|||
| |
|||
|[[Draft_LinkArray|Link Array]] |
|||
|[[Draft_Workbench/pl|środowisko pracy Rysunek Roboczy]] |
|||
|[[Draft_Module|Draft]] |
|||
|IconL= |
|IconL= |
||
|IconR= |
|IconR= |
||
|IconC=Workbench_Draft.svg |
|IconC=Workbench_Draft.svg |
||
}} |
}} |
||
Line 175: | Line 61: | ||
{{Draft Tools navi{{#translation:}}}} |
{{Draft Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Latest revision as of 11:59, 30 December 2023
TO POLECENIE JEST PRZESTARZAŁE
Nie będzie on dostępny w wersja 0.21 i powyżej. Zamiast tego należy użyć Szyk ortogonalny, Szyk biegunowy lub Szyk kołowy.
Nie będzie on dostępny w wersja 0.21 i powyżej. Zamiast tego należy użyć Szyk ortogonalny, Szyk biegunowy lub Szyk kołowy.
Rysunek Roboczy: Szyk |
Lokalizacja w menu |
---|
brak |
Środowisko pracy |
Rysunek Roboczy, Architektura |
Domyślny skrót |
brak |
Wprowadzono w wersji |
- |
Zobacz także |
Szyk ortogonalny, Szyk biegunowy, Szyk kołowy |
Opis
Polecenie Szyk tworzy ortogonalny (3-osiowy) szyk z wybranego obiektu. Utworzony szyk może zostać przekształcony w szyk biegunowy lub szyk kołowy poprzez zmianę jego właściwości DANETyp tablicy.
Narzędzie Przesuń może być używane na obiektach 2D utworzonych za pomocą środowisk pracy Rysunek Roboczy lub Szkicownik, ale może być również używane dla wielu typów obiektów 3D, takich jak te utworzone za pomocą środowisk pracy Część, Projekt Części lub Architektura.
To polecenie jest już przestarzałe. Zamiast tego należy użyć Szyk ortogonalny, Szyk biegunowy lub Szyk kołowy.
Użycie
- Aby użyć tego polecenia w FreeCAD w wersji 0.19 i nowszych, należy dodać przycisk do niestandardowego paska narzędzi. Zapoznaj się z informacjami zawartymi na stronie Dostosowywanie interfejsu użytkownika do własnych potrzeb.
- Opcjonalnie wybierz jeden obiekt.
- Naciśnij przycisk Szyk.
- Jeśli nie wybrałeś jeszcze żadnego obiektu: wybierz jeden obiekt.
- Tablica zostanie utworzona.
- Opcjonalnie można zmienić właściwości.
Właściwości
Zapoznaj się z informacjami zawartymi na stronie Szyk ortogonalny.
Tworzenie skryptów
Zapoznaj się z informacjami zawartymi na stronie Szyk ortogonalny.
Środowisko pracy Rysunek Roboczy
- 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
Centrum użytkownika
- 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