Draft: Serie circolare

From FreeCAD Documentation
Revision as of 21:13, 23 May 2023 by Marco T (talk | contribs) (Created page with "# Facoltativamente selezionare un oggetto. # Esistono diversi modi per invocare il comando: #* Premere il pulsante {{Button|16px Serie circolare}}. #* Selezionare l'opzione {{MenuCommand|Modifiche → Strumenti array → 16px Serie circolare}} dal menu. # Si apre il pannello attività {{MenuCommand|Serie circolare}}. Vedere Opzioni per maggiori informazioni. # Se n...")

Serie circolare

Posizione nel menu
Modifiche → Strumenti serie → Serie circolare
Ambiente
Draft, Arch
Avvio veloce
Nessuno
Introdotto nella versione
0.19
Vedere anche
Serie ortogonale, Serie polare, Serie su tracciato, Serie di link su tracciato, Serie su punti, Serie di link su punti

Descrizione

Il comando Serie circolare crea una serie (array) da un oggetto selezionato posizionando copie lungo circonferenze concentriche. Il comando può facoltativamente creare una Serie di Link, che è più efficiente di una Serie normale.

Il comando può essere utilizzato su oggetti 2D creati con Draft o Sketcher, ma anche su molti oggetti 3D come quelli creati con gli ambienti Part, PartDesign o Arch.

Serie circolare.

Utilizzo

Vedere anche: Aggancio.

  1. Facoltativamente selezionare un oggetto.
  2. Esistono diversi modi per invocare il comando:
    • Premere il pulsante Serie circolare.
    • Selezionare l'opzione Modifiche → Strumenti array → Serie circolare dal menu.
  3. Si apre il pannello attività Serie circolare. Vedere Opzioni per maggiori informazioni.
  4. Se non si ha ancora selezionato un oggetto: selezionare un oggetto.
  5. Immettere i parametri richiesti nel pannello delle attività.
  6. Per completare il comando, eseguire una delle seguenti operazioni:
    • Scegliere un punto nella Vista 3D per il Centro di rotazione.
    • Premere Enter.
    • Premere il pulsante OK.

Opzioni

  • Enter the Radial distance to specify the distance between the circular layers, and between the center and the first circular layer.
  • Enter the Tangential distance to specify the distance between the elements on the same circular layer. Must be larger than zero.
  • Enter the Number of circular layers. The element at the center counts as one layer. Must be at least 2. The maximum that can be entered in the task panel is 99, but higher values are possible by changing the DatiNumber Circles property of the array.
  • Enter the Symmetry value. This number determines how the elements are distributed. A value of 3, for example, results in a pattern with three equal 120° pie segments. Larger values for the Symmetry and the Tangential distance result in fewer or even no elements on the inner layers.
  • Pick a point in the 3D view, note that this will also finish the command, or type coordinates for the Center of rotation. The rotation axis of the array will pass through this point. It is advisable to move the pointer out of the 3D view before entering coordinates.
  • Press the Reset point button to reset the Center of rotation to the origin.
  • If the Fuse checkbox is checked overlapping elements in the array are fused. This does not work for Link arrays.
  • If the Link array checkbox is checked a Link array instead of a regular array is created. A Link array is more efficient because its elements are App Link objects.
  • Press Esc or the Cancel button to abort the command.

Notes

  • The default rotation axis for the array is the positive Z axis. This can be changed by editing its DatiAxis property.
  • A Draft CircularArray can be turned into a Draft OrthoArray or a Draft PolarArray by changing its DatiArray Type property.
  • A Link array cannot be turned into a regular array or vice versa. The type of array must be decided at creation time.

Preferences

See also: Preferences Editor and Draft Preferences.

  • To change the number of decimals used for the input of coordinates and distances: Edit → Preferences... → General → Units → Units settings → Number of decimals.

Proprietà

See Draft OrthoArray.

Script

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a circular 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 wrapper for circular arrays is:

array = make_circular_array(base_object,
                            r_distance=100, tan_distance=50,
                            number=3, symmetry=1,
                            axis=App.Vector(0, 0, 1), center=App.Vector(0, 0, 0),
                            use_link=True)
  • base_object is the object to be arrayed. It can also be the Label (string) of an object in the current document.
  • r_distance and tan_distance are the radial and tangential distances between the elements.
  • number is the number of circular layers in the pattern, the original object counts as the first layer.
  • symmetry is an integer used in some calculations that affect the way the elements are distributed around the circumferences. Usual values are from 1 to 6. Higher values are not recommended and will make the elements in the inner layers disappear.
  • axis and center are vectors that describe the direction of the axis of rotation, and a point through which that axis passes.
  • If use_link is True the created elements are App Links instead of regular copies.
  • array is returned with the created array object.

Esempio:

import FreeCAD as App
import Draft

doc = App.newDocument()

tri = Draft.make_polygon(3, 600)

array = Draft.make_circular_array(tri, 1800, 1200, 4, 1)
doc.recompute()