Draft Array/tr: Difference between revisions

From FreeCAD Documentation
(Created page with "== Özellikler == * {{PropertyData | Base}}: Dizide çoğaltılacak nesneyi belirtir. * {{PropertyData | Array Type}}: "ortho" veya "polar" olmak üzere yaratılacak dizinin...")
No edit summary
(44 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|
|
|[[Draft_Workbench|Draft]]
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
}}

{{VeryImportantMessage|THIS COMMAND IS OBSOLETE<br>
It was deprecated in FreeCAD version 0.19. Use [[Draft_OrthoArray|Draft OrthoArray]], [[Draft_PolarArray|Draft PolarArray]] or [[Draft_CircularArray|Draft CircularArray]] instead.}}

<div class="mw-translate-fuzzy">
{{GuiCommand/tr
{{GuiCommand/tr
|Name=Draft Array
|Name=Draft Array
|Name/tr=Dizi
|Name/tr=Dizi
|Workbenches=[[Draft Module/tr|Taslak]], [[Arch Module/tr|Mimari]]
|MenuLocation=Taslak → Dizi
|MenuLocation=Taslak → Dizi
|Workbenches=[[Draft_Workbench/tr|Taslak]], [[Arch_Workbench/tr|Mimari]]
|SeeAlso=[[Draft PathArray/tr|Yol dizisi],[[Draft PointArray/tr|Nokta dizisi]],[[Draft Clone/tr|Klonla]]]
|SeeAlso=[[Draft PathArray/tr|Yol dizisi]],[[Draft PointArray/tr|Nokta dizisi]],[[Draft Clone/tr|Klonla]]
}}
}}
</div>


<div class="mw-translate-fuzzy">
== Açıklama ==
== Açıklama ==
Dizi aracı, seçilen bir nesneden ortogonal (3 eksen) veya kutup dizisi oluşturur.
Dizi aracı, seçilen bir nesneden ortogonal (3 eksen) veya bir kutupsal dizi oluşturur.
</div>


The [[Image:Draft_Array.svg|24px]] '''Draft Array''' command creates an orthogonal (3-axes) array from a selected object. The created array can be turned into a [[Draft_PolarArray|polar array]] or a [[Draft_CircularArray|circular array]] by changing its {{PropertyData|Array Type}} property.

<div class="mw-translate-fuzzy">
Bu araç, [[Draft Workbench/tr|Taslak tezgahı]] ile oluşturulan 2D şekillerde kullanılabilir, ayrıca [[Part Workbench/tr|Parça tezgahı]] ve [[PartDesign Workbench/tr|Parça tasarım tezgahı]] ile oluşturulan birçok 3D nesne üzerinde de kullanılabilir.
Bu araç, [[Draft Workbench/tr|Taslak tezgahı]] ile oluşturulan 2D şekillerde kullanılabilir, ayrıca [[Part Workbench/tr|Parça tezgahı]] ve [[PartDesign Workbench/tr|Parça tasarım tezgahı]] ile oluşturulan birçok 3D nesne üzerinde de kullanılabilir.
</div>


This command is now obsolete. Use the [[Draft_OrthoArray|Draft OrthoArray]], [[Draft_PolarArray|Draft PolarArray]] or [[Draft_CircularArray|Draft CircularArray]] command instead.
Kopyaları bir yol boyunca konumlandırmak için [[Draft PathArray/tr|Yol dizisi]] kullanın; kopyaları belirtilen noktalara yerleştirmek için [[Draft PointArray/tr|Nokta dizisi]] kullanın; kopya veya klon oluşturmak ve bunları manuel olarak yerleştirmek için [[Draft Move/tr|Taşı]], [[Draft Rotate/tr|Döndür]] ve [[Draft Clone/tr|Klonla]] kullanın.


==Usage==
[[Image:Draft_Array_example.jpg|400px]]
{{Caption | Ortogonal bir dizi ve katı bir nesneden kutuplu bir dizi}}


<div class="mw-translate-fuzzy">
== Nasıl kullanılır ==
== Nasıl kullanılır ==
# Bir dizi yapmak istediğiniz nesneyi seçin.
# Bir dizi yapmak istediğiniz nesneyi seçin.
# {{Button | [[Image: Draft Array.svg | 16px]] [[Draft Array/tr|Dizi]]}} düğmesine basın. Hiçbir nesne seçilmezse, birini seçmeye davet edilirsiniz.
# {{Button | [[Image: Draft Array.svg | 16px]] [[Draft Array/tr|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.
# 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.
</div>


==Properties==
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.


<div class="mw-translate-fuzzy">
== Özellikler ==
== Özellikler ==
* {{PropertyData | Base}}: Dizide çoğaltılacak nesneyi belirtir.
* {{PropertyData | Base}}: Dizide çoğaltılacak nesneyi belirtir.
* {{PropertyData | Array Type}}: "ortho" veya "polar" olmak üzere yaratılacak dizinin türünü belirtir.
* {{PropertyData | Array Type}}: "ortho" veya "polar" olmak üzere yaratılacak dizinin türünü belirtir.
* {{PropertyData | Fuse}}: {{TRUE}} ise ve kopyalar birbiriyle kesişirse, bunlar birlikte tek bir şekilde kaynaşırlar.
* {{PropertyData | Fuse}}: {{TRUE}} ise ve kopyalar birbiriyle kesişirse, bunlar birlikte tek bir şekilde kaynaşırlar.
</div>

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.

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==
==Scripting==
{{Emphasis|See also:}} [[Draft API]] and [[FreeCAD Scripting Basics]].


<div class="mw-translate-fuzzy">
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.
== Betik ==
{{Emphasis|Ayrıca bkz.:}} [[Draft API/tr|Taslak API]] ve [[FreeCAD Scripting Basics/tr|FreeCAD Betik esasları]].
</div>


=== Simple array ===
The basic signature is as follows:
{{Code|code=
array_list = array(objectslist, arg1, arg2, arg3, arg4=None, arg5=None, arg6=None)
}}


<div class="mw-translate-fuzzy">
To create a rectangular array, use it like this:
{{Draft Tools navi/tr}}
{{Code|code=
{{Userdocnavi/tr}}
array_list = array(objectslist, xvector, yvector, xnum, ynum)
</div>
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)
}}


{{Draft Tools navi}}
{{Draft Tools navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 19:02, 4 September 2021

THIS COMMAND IS OBSOLETE
It was deprecated in FreeCAD version 0.19. Use Draft OrthoArray, Draft PolarArray or Draft CircularArray instead.

Dizi

Menü konumu
Taslak → Dizi
Tezgahlar
Taslak, Mimari
Varsayılan kısayol
Hiçbiri
Versiyonda tanıtıldı
-
Ayrıca bkz
Yol dizisi,Nokta dizisi,Klonla

Açıklama

Dizi aracı, seçilen bir nesneden ortogonal (3 eksen) veya bir kutupsal dizi oluşturur.

The Draft Array command creates an orthogonal (3-axes) array from a selected object. The created array can be turned into a polar array or a circular array by changing its VeriArray Type property.

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.

This command is now obsolete. Use the Draft OrthoArray, Draft PolarArray or Draft CircularArray command instead.

Usage

Nasıl kullanılır

  1. Bir dizi yapmak istediğiniz nesneyi seçin.
  2. Dizi düğmesine basın. Hiçbir nesne seçilmezse, birini seçmeye davet edilirsiniz.
  3. 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.

Properties

Ö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.

Scripting

Betik

Ayrıca bkz.: Taslak API ve FreeCAD Betik esasları.