Draft OrthoArray/pl: Difference between revisions
(Created page with "==Właściwości==") |
(Created page with "Zobacz również stronę: Edytor właściwości.") |
||
Line 72: | Line 72: | ||
==Właściwości== |
==Właściwości== |
||
Zobacz również stronę: [[Property_editor/pl|Edytor właściwości]]. |
|||
See also: [[property_editor|Property editor]]. |
|||
The Draft OrthoArray command, the [[Draft_PolarArray|Draft PolarArray command]] and the [[Draft_CircularArray|Draft CircularArray command]] create the same object. This object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties (with the exception of some View properties that are not inherited by Link arrays). The following properties are additional unless otherwise stated: |
The Draft OrthoArray command, the [[Draft_PolarArray|Draft PolarArray command]] and the [[Draft_CircularArray|Draft CircularArray command]] create the same object. This object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties (with the exception of some View properties that are not inherited by Link arrays). The following properties are additional unless otherwise stated: |
Revision as of 17:27, 26 November 2023
Rysunek Roboczy: Szyk ortogonalny |
Lokalizacja w menu |
---|
Modyfikacja → Narzędzia szyku → Szyk ortogonalny |
Środowisko pracy |
Rysunek Roboczy, Architektura |
Domyślny skrót |
brak |
Wprowadzono w wersji |
0.19 |
Zobacz także |
Szyk biegunowy, Szyk kołowy, Szyk po ścieżce, Szyk powiązań po ścieżce, Szyk z punktów, Szyk powiązań w punktach |
Opis
Polecenie Szyk ortogonalny tworzy prostokątny (3-osiowy) szyk z wybranego obiektu. Polecenie może opcjonalnie utworzyć szyk Łączy, który jest bardziej wydajny niż zwykły szyk.
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.
Szyk ortogonalny.
Użycie
- Opcjonalnie wybierz jeden obiekt.
- Polecenie można wywołać na kilka sposobów:
- Otworzy się panel zadań Szyk prostokątny. Więcej informacji znajduje się w sekcji Opcje.
- Jeśli nie wybrano jeszcze żadnego obiektu: wybierz jeden obiekt.
- Wprowadź wymagane parametry w panelu zadań.
- Aby zakończyć polecenie, wykonaj jedną z następujących czynności:
- Kliknij w oknie widoku 3D.
- Naciśnij Enter.
- Naciśnij przycisk OK.
Opcje
- Wprowadź Liczbe elementów dla kierunków X, Y i Z. Liczba ta musi wynosić co najmniej
1
dla każdego kierunku. - Wprowadź odstęp X, aby określić przemieszczenie elementów w kierunku X. W przypadku tablicy prostokątnej wartości Y i Z muszą być równe
0
. - Wprowadź odstęp Y, aby określić przemieszczenie elementów w kierunku Y. W przypadku tablicy prostokątnej wartości X i Z muszą mieć wartość
0
. - Wprowadź odstęp Z, aby określić przemieszczenie elementów w kierunku Z. W przypadku tablicy prostokątnej wartości X i Y muszą mieć wartość
0
. - Naciśnij przycisk Reset X, Y or Z, aby zresetować przemieszczenie w danym kierunku do wartości domyślnych.
- Jeśli pole wyboru Scal jest zaznaczone, nakładające się elementy w tablicy są łączone. Nie działa to w przypadku szyków łączy.
- Jeśli pole wyboru Szyk łączy jest zaznaczone, tworzony jest szyk Łączy zamiast zwykłego szyku. Szyk łączy jest bardziej wydajny, ponieważ jego elementami są obiekty App: Łącze.
- Naciśnij Esc lub przycisk Anuluj, aby przerwać polecenie.
Uwagi
- Szyk ortogonalny może zostać przekształcony w Szyk biegunowy lub Szyk kołowy poprzez zmianę jego właściwości DANETyp szyku.
- Szyk łączy nie może zostać przekształcony w zwykły szyk lub odwrotnie. Typ szyku musi być określony w czasie tworzenia.
Ustawienia
Zobacz także strony: Edytor ustawień oraz Rysunek Roboczy: Ustawienia.
- Aby zmienić liczbę miejsc po przecinku używanych do wprowadzania współrzędnych: Edycja → Preferencje... → Ogólne → Jednostki → Ustawienia jednostek → Liczba cyfr po przecinku.
Właściwości
Zobacz również stronę: Edytor właściwości.
The Draft OrthoArray command, the Draft PolarArray command and the Draft CircularArray command create the same object. This object is derived from a Part Feature object and inherits all its properties (with the exception of some View properties that are not inherited by Link arrays). The following properties are additional unless otherwise stated:
Data
Link
The properties in this group are only available for Link arrays. See Std LinkMake for more information.
- DANEScale (
Float
) - DANE (Hidden)Scale Vector (
Vector
) - DANEScale List (
VectorList
) - DANE (Hidden)Visibility List (
BoolList
) - DANE (Hidden)Placement List (
PlacementList
) - DANE (Hidden)Element List (
LinkList
) - DANE (Hidden)_ Link Touched (
Bool
) - DANE (Hidden)_ Child Cache (
LinkList
) - DANE (Hidden)Colored Elements (
LinkSubHidden
) - DANELink Transform (
Bool
)
Circular array
The properties in this group are hidden for orthogonal arrays and polar arrays.
- DANENumber Circles (
Integer
): specifies the number of circular layers. Must be at least2
. - DANERadial Distance (
Distance
): specifies the distance between circular layers. - DANESymmetry (
Integer
): specifies the number of symmetry lines. This number changes the distribution of the elements in the array. - DANETangential Distance (
Distance
): specifies the distance between elements in the same circular layer. Must be larger than zero.
Objects
- DANEArray Type (
Enumeration
): specifies the type of array, which can beortho
,polar
orcircular
. - DANEAxis Reference (
LinkGlobal
): specifies the object and edge to be used instead of the DANEAxis and DANECenter properties. Not used for orthogonal arrays. - DANEBase (
Link
): specifies the object to duplicate in the array. - DANECount (
Integer
): (read-only) specifies the total number of elements in the array. version 0.20 and below: Only available for Link arrays. - DANEExpand Array (
Bool
): specifies whether to expand the array in the Tree view to enable the selection of its individual elements. Only available for Link arrays. - DANEFuse (
Bool
): specifies if overlapping elements in the array are fused or not. Not used for Link arrays.
Orthogonal array
The properties in this group are hidden for circular arrays and polar arrays.
- DANEInterval X (
VectorDistance
): specifies the interval between elements in the X direction. - DANEInterval Y (
VectorDistance
): specifies the interval between elements in the Y direction. - DANEInterval Z (
VectorDistance
): specifies the interval between elements in the Z direction. - DANENumber X (
Integer
): specifies the number of elements in the X direction. Must be at least1
. - DANENumber Y (
Integer
): specifies the number of elements in the Y direction. Must be at least1
. - DANENumber Z (
Integer
): specifies the number of elements in the Z direction. Must be at least1
.
Polar array
The properties in this group are hidden for circular arrays and orthogonal arrays.
- DANEAngle (
Angle
): specifies the aperture of the circular arc. Use360°
for a full circle. - DANEInterval Axis (
VectorDistance
): specifies the interval between elements in the DANEAxis direction. - DANENumber Polar (
Integer
): specifies the number of elements in the polar direction.
Polar/circular array
The properties in this group are hidden for orthogonal arrays.
- DANEAxis (
Vector
): specifies the direction of the axis of the array. - DANECenter (
VectorDistance
): specifies the center point of the array. The axis of the array passes through this point. For circular arrays it is an offset from the DANEPlacement of the DANEBase object.
View
Link
The properties in this group, with the exception of the inherited property, are only available for Link arrays. See Std LinkMake for more information.
- WIDOKDraw Style (
Enumeration
) - WIDOKLine Width (
FloatConstraint
) - WIDOKOverride Material (
Bool
) - WIDOKPoint Size (
FloatConstraint
) - WIDOKSelectable (
Bool
): this is an inherited property that appears in the Selection group for other arrays - WIDOKShape Material (
Material
)
Base
The properties in this group, with the exception of the inherited property, are only available for Link arrays. See Std LinkMake for more information.
- WIDOK (Hidden)Child View Provider (
PersistentObject
) - WIDOK (Hidden)Material List (
MaterialList
) - WIDOK (Hidden)Override Color List (
ColorList
) - WIDOK (Hidden)Override Material List (
BoolList
) - WIDOK (Hidden)Proxy (
PythonObject
): this is an inherited property.
Display Options
The properties in this group are inherited properties. See Part Feature for more information.
- WIDOKBounding Box (
Bool
): this property is not inherited by Link arrays. - WIDOKDisplay Mode (
Enumeration
): for Link arrays it can beLink
orChildView
. For other arrays it can be:Flat Lines
,Shaded
,Wireframe
orPoints
- WIDOKShow In Tree (
Bool
) - WIDOKVisibility (
Bool
)
Draft
- WIDOKPattern (
Enumeration
): not used. - WIDOKPattern Size (
Float
): not used.
Object style
The properties in this group are not inherited by Link arrays.
Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
Parametric array
To create a parametric orthogonal array use the make_array
method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makeArray
method. The make_array
method can create Draft OrthoArrays, Draft PolarArrays and Draft CircularArrays. For each array type one or more wrappers are available.
The main method:
array = make_array(base_object, arg1, arg2, arg3, arg4=None, arg5=None, arg6=None, use_link=True)
The wrappers for orthogonal arrays are:
array = make_ortho_array(base_object,
v_x=App.Vector(10, 0, 0), v_y=App.Vector(0, 10, 0), v_z=App.Vector(0, 0, 10),
n_x=2, n_y=2, n_z=1,
use_link=True)
array = make_ortho_array2d(base_object,
v_x=App.Vector(10, 0, 0), v_y=App.Vector(0, 10, 0),
n_x=2, n_y=2,
use_link=True)
The wrappers for rectangular arrays are:
array = make_rect_array(base_object,
d_x=10, d_y=10, d_z=10,
n_x=2, n_y=2, n_z=1,
use_link=True)
array = make_rect_array2d(base_object,
d_x=10, d_y=10,
n_x=2, n_y=2,
use_link=True)
base_object
is the object to be arrayed. It can also be theLabel
(string) of an object in the current document.v_x
,v_y
, andv_z
are the vectors between the base points of the elements in the respective directions.d_x
,d_y
, andd_z
are the distances between the base points of the elements in the respective directions.n_x
,n_y
, andn_z
are the numbers of elements in the respective directions.- If
use_link
isTrue
the created elements are App Links instead of regular copies. array
is returned with the created array object.
Przykład:
import FreeCAD as App
import Draft
doc = App.newDocument()
rect = Draft.make_rectangle(1500, 500)
v_x = App.Vector(1600, 0, 0)
v_y = App.Vector(0, 600, 0)
array = Draft.make_ortho_array2d(rect, v_x, v_y, 3, 4)
doc.recompute()
Szyk nieparametryczny
Aby utworzyć nieparametryczny szyk ortogonalny, należy użyć metody array
modułu Rysunek Roboczy. Metoda ta zwraca Brak
.
array(objectslist, xvector, yvector, xnum, ynum)
array(objectslist, xvector, yvector, zvector, xnum, ynum, znum)
Przykład:
import FreeCAD as App
import Draft
doc = App.newDocument()
rect = Draft.make_rectangle(1500, 500)
v_x = App.Vector(1600, 0, 0)
v_y = App.Vector(0, 600, 0)
Draft.array(rect, v_x, v_y, 3, 4)
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