Taslak Dizi
{{GuiCommand/tr |Name=Draft Array |Name/tr=Dizi |Workbenches=Taslak, Mimari |MenuLocation=Taslak → Dizi |SeeAlso=[[Draft PathArray/tr|Yol dizisi],Nokta dizisi,Klonla] }}
Açıklama
Dizi aracı, seçilen bir nesneden ortogonal (3 eksen) veya kutup dizisi oluşturur.
Bu araç, Taslak tezgahı ile oluşturulan 2D şekillerde kullanılabilir, ayrıca Parça tezgahı ve Parça tasarım tezgahı ile oluşturulan birçok 3D nesne üzerinde de kullanılabilir.
Kopyaları bir yol boyunca konumlandırmak için Yol dizisi kullanın; kopyaları belirtilen noktalara yerleştirmek için Nokta dizisi kullanın; kopya veya klon oluşturmak ve bunları manuel olarak yerleştirmek için Taşı, Döndür ve Klonla kullanın.
Ortogonal bir dizi ve katı bir nesneden kutuplu bir dizi
Nasıl kullanılır
- Bir dizi yapmak istediğiniz nesneyi seçin.
- Dizi düğmesine basın. Hiçbir nesne seçilmezse, birini seçmeye davet edilirsiniz.
- Dizi nesnesi hemen yaratılır. Oluşturulan kopyaların sayısını ve yönünü değiştirmek için dizinin özelliklerini değiştirmeniz gerekir.
Dizideki her öğe orijinal nesnenin tam bir klonudur, ancak dizinin tamamı özellikler ve görünüm açısından tek bir birim olarak kabul edilir.
Seçenekler
Seçenekler
Bu araç için seçenek yok. Seçili nesnelerle çalışır veya çalışmaz.
Özellikler
- Veri Base: Dizide çoğaltılacak nesneyi belirtir.
- Veri Array Type: "ortho" veya "polar" olmak üzere yaratılacak dizinin türünü belirtir.
- Veri Fuse:
true
ise ve kopyalar birbiriyle kesişirse, bunlar birlikte tek bir şekilde kaynaşırlar.
Ortogonal diziler için:
- Veri Interval X: X eksenindeki her kopya arasındaki aralığı belirler.
- Veri Interval Y: Y eksenindeki her kopya arasındaki aralığı belirtir.
- Veri Interval Z: Z ekseni üzerindeki her kopya arasındaki aralığı belirtir.
- Veri Number X: X eksenindeki kopya sayısını belirtir.
- Veri Number Y: Y eksenindeki kopya sayısını belirtir.
- Veri Number Z: Z eksenindeki kopya sayısını belirtir.
Kutupsal diziler için:
- Veri Axis: dizi çemberinin normal yönünü belirtir.
- Veri Center: dizi dairesinin merkez noktasını belirtir.
- Veri Angle: dairesel yayın kopyalarla kaplanacak açıklığını belirtir; çemberin tamamını kaplamak için 360 kullanın.
- Veri Number Polar: Dairesel düzende yerleştirilecek kopya sayısını belirtir.
- Veri Interval Axis: Veri Axis yönündeki her kopya arasındaki aralığı belirtir.
Sayı özelliği, X, Y, Z veya Polar, ayrıca orijinal nesneyi de içerdiğinden, bu sayı en az bir olacaktır.
Bir aralık basit bir mesafe değil bir vektördür (x, y, z). Birden fazla değer sıfır değilse, kopya ana yönde oluşturulur, ancak aynı zamanda sıfır olmayan diğer yönlerde de yer değiştirir.
Örneğin, Veri Interval X (2 m, 1 m, 1 m) ve Veri Number X 3 ise, X yönünde 3 kopya yaratacaktır; ilk kopya orijinal konumunda olacak, ikincisi X'te 2 m, Y'de 1 m ve Z'de 1 m yer değiştirecek; üçüncü kopya X'te 4 m, Y'de 2 m ve Z'de 2 m yer değiştirecektir. Her bir dizi öğesi ana X yönünün yanında bir yana (Y yönü) ve yukarı (Z yönü) hafifçe kaydırılır.
Veri Interval Axis özelliği aynı şekilde çalışır. Orijinal şekil XY düzleminde yatıyorsa, Veri Interval Axis (0, 0, z) ile kutupsal bir dizi oluşturmak, sarmal düzenlemeleri yapmanızı sağlar.
Scripting
See also: Draft API and FreeCAD Scripting Basics.
The Array tool can be used in macros and from the 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:
array_list = array(objectslist, arg1, arg2, arg3, arg4=None, arg5=None, arg6=None)
To create a rectangular array, use it like this:
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:
array_list = array(objectslist, center, totalangle, totalnum)
- Creates an array from the objects contained in
objectslist
, which can be a single object or a list of objects. - In case of a rectangular array,
xvector
,yvector
, andzvector
determine the distance between the base points of each copy, in the X, Y, and Z directions; andxnum
,ynum
, andznum
are the number of copies in the respective direction. - In case of a polar array,
center
defines the center of the array circle,totalangle
is the angle of the arc in degrees to cover with copies, andtotalnum
is the number of copies to arrange around the circle, including the original object. array_list
is returned with the new copies.array_list
is either a single object or a list of objects, depending on the inputobjectslist
.
This function internally uses Draft.move()
and Draft.rotate()
with copy=True
.
Example:
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:
Array = makeArray(baseobject, arg1, arg2, arg3, arg4=None, arg5=None, arg6=None, name="Array")
To create a rectangular array, use it like this:
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:
Array = makeArray(baseobject, center, totalangle, totalnum, name="Array")
- Creates an
Array
object from the givenbaseobject
. - In case of a rectangular array,
xvector
,yvector
, andzvector
determine the distance between the base points of each copy, in the X, Y, and Z directions; andxnum
,ynum
, andznum
are the number of copies in the respective direction. - In case of a polar array,
center
defines the center of the array circle,totalangle
is the angle of the arc in degrees to cover with copies, andtotalnum
is the number of copies to arrange around the circle, including the original object.
Example:
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)
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub