Draft Array/ru: Difference between revisions
(Created page with "{{GuiCommand/ru |Name=Draft Array |Name/ru=Draft Array |Workbenches=Draft, Arch |MenuLocation=Черчение → Массив |SeeAlso...") |
(Updating to match new version of source page) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
{{Docnav |
|||
| |
|||
| |
|||
|[[Draft_Workbench|Draft]] |
|||
|IconL= |
|||
|IconR= |
|||
|IconC=Workbench_Draft.svg |
|||
⚫ | |||
{{VeryImportantMessage|THIS COMMAND IS OBSOLETE<br> |
|||
It is not be available in {{VersionPlus|0.21}}. Use [[Draft_OrthoArray|Draft OrthoArray]], [[Draft_PolarArray|Draft PolarArray]] or [[Draft_CircularArray|Draft CircularArray]] instead.}} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
|Name=Draft Array |
|Name=Draft Array |
||
|Name/ru=Draft Array |
|Name/ru=Draft Array |
||
⚫ | |||
|MenuLocation=Черчение → Массив |
|MenuLocation=Черчение → Массив |
||
⚫ | |||
|SeeAlso=[[Draft PathArray/ru|PathArray]] |
|SeeAlso=[[Draft PathArray/ru|PathArray]] |
||
}} |
}} |
||
</div> |
|||
==Description== |
==Description== |
||
The Array tool creates an orthogonal (3-axes) or polar array from a selected object. If no object is selected, you will be invited to select one. |
|||
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. |
|||
[[Image:Draft_Array_example.jpg|400px]] |
|||
The command can be used on 2D objects created with the [[Draft_Workbench|Draft Workbench]] or [[Sketcher_Workbench|Sketcher Workbench]], but also on many 3D objects such as those created with the [[Part_Workbench|Part Workbench]], [[PartDesign_Workbench|PartDesign Workbench]] or [[Arch_Workbench|Arch Workbench]]. |
|||
==How to use== |
|||
# Select an object you wish to make an array with |
|||
⚫ | |||
This command is now obsolete. Use the [[Draft_OrthoArray|Draft OrthoArray]], [[Draft_PolarArray|Draft PolarArray]] or [[Draft_CircularArray|Draft CircularArray]] command instead. |
|||
==Options== |
|||
* The array starts as orthogonal by default, you can then change its mode in the properties. |
|||
== |
==Usage== |
||
* {{PropertyData|Array Type}}: Specifies the type of the array, ortho or polar |
|||
# To use this command in FreeCAD version 0.19 and later you need to add a button to a custom toolbar. See [[Interface_Customization|Interface Customization]]. |
|||
For orthogonal arrays: |
|||
# Optionally select one object. |
|||
* {{PropertyData|Interval X}}: The interval between each copy on the first axis |
|||
⚫ | |||
* {{PropertyData|Interval Y}}: The interval between each copy on the second axis |
|||
# If you have not yet selected an object: select one object. |
|||
* {{PropertyData|Interval Z}}: The interval between each copy on the third axis |
|||
# The array is created. |
|||
* {{PropertyData|Number X}}: The number of copies on the first axis |
|||
# Optionally change its [[Draft_OrthoArray#Properties|properties]]. |
|||
* {{PropertyData|Number Y}}: The number of copies on the second axis |
|||
* {{PropertyData|Number Z}}: The number of copies on the third axis |
|||
==Properties== |
|||
For polar arrays: |
|||
* {{PropertyData|Axis}}: The normal direction of the array circle |
|||
See [[Draft_OrthoArray#Properties|Draft OrthoArray]]. |
|||
* {{PropertyData|Center}}: The center point of the array |
|||
* {{PropertyData|Angle}}: The angle to cover with copies |
|||
* {{PropertyData|Number Polar}}: The number of copies |
|||
==Scripting== |
==Scripting== |
||
The Array tool can by used in [[macros]] and from the python console by using one of the following functions, depending if you wish to obtain simple, standalone copies of your base object, or a parametric array object, that stays linked to the original object. |
|||
See [[Draft_OrthoArray#Scripting|Draft OrthoArray]]. |
|||
=== Simple array === |
|||
For rectangular array: |
|||
{{Code|code= |
|||
array (objectslist,xvector,yvector,xnum,ynum,[zvector,znum]) |
|||
⚫ | |||
For polar array: |
|||
{{Code|code= |
|||
array (objectslist,center,totalangle,totalnum) |
|||
}} |
|||
* Creates an array of the objects contained in list (that can be an object or a list of objects) with, in case of rectangular array, xnum of iterations in the x direction at xvector distance between iterations, and same for y direction with yvector and ynum. In case of polar array, center is a vector, totalangle is the angle to cover (in degrees) and totalnum is the number of objects, including the original. |
|||
* This function produces standalone copies of the base object(s) |
|||
=== Parametric array === |
|||
{{Docnav |
|||
For rectangular array: |
|||
| |
|||
{{Code|code= |
|||
| |
|||
makeArray (object,xvector,yvector,xnum,ynum) |
|||
|[[Draft_Workbench|Draft]] |
|||
|IconL= |
|||
|IconR= |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
}} |
||
For polar array: |
|||
{{Code|code= |
|||
makeArray (object,center,totalangle,totalnum) |
|||
}} |
|||
* Creates an array of the given object with, in case of rectangular array, xnum of iterations in the x direction at xvector distance between iterations, and same for y direction with yvector and ynum. In case of polar array, center is a vector, totalangle is the angle to cover (in degrees) and totalnum is the number of objects, including the original. |
|||
* The result of this function is a parametric Draft Array object. |
|||
{{Draft Tools navi{{#translation:}}}} |
|||
Example: |
|||
{{Userdocnavi{{#translation:}}}} |
|||
{{Code|code= |
|||
import FreeCAD,Draft |
|||
Draft.array(FreeCAD.ActiveDocument.ActiveObject,FreeCAD.Vector(2,0,0),FreeCAD.Vector(0,2,0),2,2) |
|||
}} |
|||
{{clear}} |
|||
⚫ |
Latest revision as of 08:24, 20 May 2023
THIS COMMAND IS OBSOLETE
It is not be available in version 0.21 and above. Use Draft OrthoArray, Draft PolarArray or Draft CircularArray instead.
It is not be available in version 0.21 and above. Use Draft OrthoArray, Draft PolarArray or Draft CircularArray instead.
Draft Array |
Системное название |
---|
Draft Array |
Расположение в меню |
Черчение → Массив |
Верстаки |
Draft, Arch |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
PathArray |
Description
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 ДанныеArray Type property.
The command can be used on 2D objects created with the Draft Workbench or Sketcher Workbench, but also on many 3D objects such as those created with the Part Workbench, PartDesign Workbench or Arch Workbench.
This command is now obsolete. Use the Draft OrthoArray, Draft PolarArray or Draft CircularArray command instead.
Usage
- To use this command in FreeCAD version 0.19 and later you need to add a button to a custom toolbar. See Interface Customization.
- Optionally select one object.
- Press the Draft Array button.
- If you have not yet selected an object: select one object.
- The array is created.
- Optionally change its properties.
Properties
See Draft OrthoArray.
Scripting
See Draft OrthoArray.
Draft
- 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
Документация пользователя
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework