Draft Array/cs: Difference between revisions
(Created page with "Pro obdélníkové pole:") |
(Updating to match new version of source page) |
||
(41 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
{{GuiCommand|Name=Draft_Array|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Draft -> Array}} |
|||
{{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/cs|Name=Draft_Array|Name/cs=Kreslení Pole|Workbenches=[[Draft_Workbench/cs|Kreslení]], [[Arch_Workbench/cs|Architektura]]|MenuLocation=Draft → Array|SeeAlso=[[Draft PathArray/cs|PathArray]]}} |
|||
</div> |
|||
<span id="Description"></span> |
|||
<div class="mw-translate-fuzzy"> |
|||
==Popis== |
==Popis== |
||
Nástroj Pole vytváří ortogonální (3-osy) nebo polární pole z vybraných objektů. Není-li vybrán žádný objekt, budete vyzváni k jeho výběru. |
Nástroj Pole vytváří ortogonální (3-osy) nebo polární pole z vybraných objektů. Není-li vybrán žádný objekt, budete vyzváni k jeho výběru. |
||
</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. |
|||
[[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]]. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
This command is now obsolete. Use the [[Draft_OrthoArray|Draft OrthoArray]], [[Draft_PolarArray|Draft PolarArray]] or [[Draft_CircularArray|Draft CircularArray]] command instead. |
|||
==Volby== |
|||
* Pole začíná defaultně jako ortogonální, ve vlastnostech můžete změnit mód na polární. |
|||
== |
==Usage== |
||
* {{PropertyData|Typ pole}}: Specifikuje typ pole ortogonální nebo polární |
|||
<div class="mw-translate-fuzzy"> |
|||
Pro ortogonální pole: |
|||
⚫ | |||
* {{PropertyData|Interval X}}: Interval mezi kopiemi na první ose |
|||
⚫ | |||
* {{PropertyData|Interval Y}}: Interval mezi kopiemi na druhé ose |
|||
⚫ | |||
* {{PropertyData|Interval Z}}: Interval mezi kopiemi na třetí ose |
|||
(pozn.překl.: Pro začátečníky jako jsem já - defaultně jsou intervaly X,Y a Z nastaveny na 1. Když pracujete v mm, tak to vypadá jakoby se pole nevytvořilo, protože se elementy překrývají. Je potřeba alespoň jeden index zvýšit minimálně na rozměr základního prvku.) |
|||
* {{PropertyData|Number X}}: Počet kopií na první ose |
|||
</div> |
|||
* {{PropertyData|Number Y}}: Počet kopií na druhé ose |
|||
* {{PropertyData|Number Z}}: Počet kopií na třetí ose |
|||
==Properties== |
|||
Pro polární pole: |
|||
* {{PropertyData|Osy}}: Kolmý směr kruhového pole |
|||
* {{PropertyData|Střed}}: Středový bod pole |
|||
* {{PropertyData|Úhel}}: Úhel, který má být kopiemi pokryt |
|||
* {{PropertyData|Počet kopií}}: Počet kopií |
|||
See [[Draft_OrthoArray#Properties|Draft OrthoArray]]. |
|||
==Skriptování== |
|||
Nástroj Pole může být využit v [[macros|makrech]] a z konzoly Pythonu použitím následující funkce: |
|||
==Scripting== |
|||
For rectangular array: |
|||
<syntaxhighlight> |
|||
array (objectslist,xvector,yvector,xnum,ynum,[zvector,znum]) |
|||
</syntaxhighlight> |
|||
For polar array: |
|||
<syntaxhighlight> |
|||
array (objectslist,center,totalangle,totalnum) |
|||
</syntaxhighlight> |
|||
* 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) |
|||
See [[Draft_OrthoArray#Scripting|Draft OrthoArray]]. |
|||
Or |
|||
Pro obdélníkové pole: |
|||
<syntaxhighlight> |
|||
makeArray (object,xvector,yvector,xnum,ynum) |
|||
</syntaxhighlight> |
|||
For polar array: |
|||
<syntaxhighlight> |
|||
makeArray (object,center,totalangle,totalnum) |
|||
</syntaxhighlight> |
|||
* 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. |
|||
{{Docnav |
|||
Example: |
|||
| |
|||
<syntaxhighlight> |
|||
| |
|||
import FreeCAD,Draft |
|||
|[[Draft_Workbench|Draft]] |
|||
Draft.array(FreeCAD.ActiveDocument.ActiveObject,FreeCAD.Vector(2,0,0),FreeCAD.Vector(0,2,0),2,2) |
|||
|IconL= |
|||
|IconR= |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{Draft Tools navi{{#translation:}}}} |
|||
</syntaxhighlight> |
|||
{{Userdocnavi{{#translation:}}}} |
|||
{{clear}} |
|||
⚫ |
Latest revision as of 08:25, 20 May 2023
It is not be available in version 0.21 and above. Use Draft OrthoArray, Draft PolarArray or Draft CircularArray instead.
Kreslení Pole |
Umístění Menu |
---|
Draft → Array |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
PathArray |
Popis
Nástroj Pole vytváří ortogonální (3-osy) nebo polární pole z vybraných objektů. Není-li vybrán žádný objekt, budete vyzváni k jeho výběru.
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 ÚdajeArray 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
Použití
- Vyberte objekt, ze kterého chcete udělat pole
- Stiskněte tlačítko Pole.
(pozn.překl.: Pro začátečníky jako jsem já - defaultně jsou intervaly X,Y a Z nastaveny na 1. Když pracujete v mm, tak to vypadá jakoby se pole nevytvořilo, protože se elementy překrývají. Je potřeba alespoň jeden index zvýšit minimálně na rozměr základního prvku.)
Properties
See Draft OrthoArray.
Scripting
See Draft OrthoArray.
- 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, Assembly, BIM, 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