Draft PointArray/it: Difference between revisions
No edit summary |
No edit summary |
||
Line 174: | Line 174: | ||
{{Docnav/it |
{{Docnav/it |
||
[[Draft_PathLinkArray/it|Serie di link su tracciato]] |
|[[Draft_PathLinkArray/it|Serie di link su tracciato]] |
||
|[[Draft_PointLinkArray/it|Serie di link su punti]] |
|[[Draft_PointLinkArray/it|Serie di link su punti]] |
||
|[[Draft_Workbench/it|Draft]] |
|[[Draft_Workbench/it|Draft]] |
Revision as of 19:30, 26 May 2023
Serie su punti |
Posizione nel menu |
---|
Modifiche → Strumenti serie → Serie su punti |
Ambiente |
Draft, Arch |
Avvio veloce |
Nessuno |
Introdotto nella versione |
0.18 |
Vedere anche |
Serie ortogonale, Serie polare, Serie circolare, Serie su tracciato, Serie di link su tracciato, Serie di link su punti |
Descrizione
Il comando Serie su punti crea una serie (array) regolare da un oggetto base selezionato posizionando copie nei punti da un oggetto punto. Utilizzare invece il comando Serie di link su punti per creare una serie Link più efficiente. Fatta eccezione per il tipo di matrice creata, Serie di link o Serie normale, il comando Serie di link su punti è identico a questo comando.
L'oggetto di base può essere un oggetto 2D creato con Draft o Sketcher, ma anche un oggetto 3D come quelli creati con Part, [ [PartDesign_Workbench/it|PartDesign]] o Arch.
L'oggetto punto può essere qualsiasi oggetto con una forma e vertici (inclusa una Parte contenente uno o più di tali oggetti), così come un mesh e un nuvola di punti. I punti duplicati nell'oggetto punto vengono filtrati. disponibile dalla versione 0.21
In versione 0.20 e precedenti sono supportati solo tre tipi di oggetto punto, vedere Oggetto punto versione 0.20 e precedenti.
Serie su punti
Utilizzo
- Selezionare l'oggetto che si desidera allineare.
- Aggiungere l'oggetto composto di punti alla selezione.
- Esistono diversi modi per invocare il comando:
- Premere il pulsante Serie su punti.
- Selezionare l'opzione Modifiche → Strumenti serie→ Serie su punti dal menu.
- La serie viene creata.
- Facoltativamente, modificare le proprietà della serie nell'Editor delle proprietà.
Oggetto punto versione 0.20 e precedenti
L'oggetto composto di punti può essere creato in diversi modi.
- Creare vari punti Draft o punti Part, e poi premere Crea un composto per creare il composto .
- Creare i punti con il metodo precedente ma invece di creare un composto usare Upgrade per creare un "Blocco".
- Creare uno Schizzo, e dentro aggiungere vari punti.
Proprietà
See also: Property editor.
A Draft PointArray object is derived from a Part Feature object and inherits all its properties (with the exception of some View properties that are not inherited by Link arrays). The following properties are additional unless otherwise stated:
Data
Link
The properties in this group are only available for Link arrays. See Std LinkMake for more information.
- DatiScale (
Float
) - Dati (Hidden)Scale Vector (
Vector
) - DatiScale List (
VectorList
) - Dati (Hidden)Visibility List (
BoolList
) - Dati (Hidden)Placement List (
PlacementList
) - Dati (Hidden)Element List (
LinkList
) - Dati (Hidden)_ Link Touched (
Bool
) - Dati (Hidden)_ Child Cache (
LinkList
) - Dati (Hidden)Colored Elements (
LinkSubHidden
) - DatiLink Transform (
Bool
)
Objects
Objects
- DatiBase (
Link
): l'oggetto da duplicare; deve avere una Part TopoShape. - DatiCount (
Integer
): (sola lettura) specifica il numero di copie nella serie. Questa proprietà è di sola lettura perché il numero di copie è determinato dal numero di punti all'interno di DatiPoint Object. - DatiExtra Placement (
Placement
): specifica un posizionamento aggiuntivo, traslazione e rotazione, che verrà applicato a ciascuna copia della serie. Ogni copia appare normalmente con la stessa rotazione dell'oggetto DatiBase; con questa proprietà è possibile fornire una rotazione aggiuntiva o contrastare la rotazione originale e apportare piccole modifiche alla posizione delle copie. introduced in version 0.19 - DatiPoint Object (
Link
): specifica un oggetto composto di punti che indicano dove verranno visualizzate le copie dell'oggetto DatiBase. L'oggetto composto deve avere una proprietà DatiLinks, DatiComponents, o DatiGeometry, e contenere almeno un elemento con gli attributi DatiX, DatiY, e DatiZ.
View
Link
The properties in this group, with the exception of the inherited property, are only available for Link arrays. See Std LinkMake for more information.
- VistaDraw Style (
Enumeration
) - VistaLine Width (
FloatConstraint
) - VistaOverride Material (
Bool
) - VistaPoint Size (
FloatConstraint
) - VistaSelectable (
Bool
): this is an inherited property that appears in the Selection group for other arrays - VistaShape Material (
Material
)
Base
The properties in this group, with the exception of the inherited property, are only available for Link arrays. See Std LinkMake for more information.
- Vista (Hidden)Child View Provider (
PersistentObject
) - Vista (Hidden)Material List (
MaterialList
) - Vista (Hidden)Override Color List (
ColorList
) - Vista (Hidden)Override Material List (
BoolList
) - Vista (Hidden)Proxy (
PythonObject
): this is an inherited property.
Display Options
The properties in this group are inherited properties. See Part Feature for more information.
- VistaBounding Box (
Bool
): this property is not inherited by Link arrays. - VistaDisplay Mode (
Enumeration
): for Link arrays it can beLink
orChildView
. For other arrays it can be:Flat Lines
,Shaded
,Wireframe
orPoints
- VistaShow In Tree (
Bool
) - VistaVisibility (
Bool
)
Draft
- VistaPattern (
Enumeration
): not used. - VistaPattern Size (
Float
): not used.
Object style
The properties in this group are not inherited by Link arrays.
Scripting
Script
Vedere anche: Draft API e Nozioni di base sugli script di FreeCAD.
Lo strumento PointArray può essere utilizzato nelle macro e dalla console di Python tramite la seguente funzione:
point_array = make_point_array(base_object, point_object, extra=None, use_link=True)
- Crea un oggetto
"PointArray"
da unbase_object
, posizionando le copie nei punti contenuti all'interno dipoint_object
.point_object
deve avere uno degli attributiGeometry
,Links
oComponents
contenenti punti.- Invece di un riferimento a un oggetto,
base_object
epoint_object
possono anche essere delleLabels
(stringhe) di oggetti esistenti nel documento corrente. extra
può essere unApp.Placement
completo o solo unApp.Vector
oApp.Rotation
.
Esempio:
import FreeCAD as App
import Draft
doc = App.newDocument()
polygon = Draft.make_polygon(3, radius=500.0)
p1 = Draft.make_point(App.Vector(1500, 0, 0))
p2 = Draft.make_point(App.Vector(2500, 0, 0))
p3 = Draft.make_point(App.Vector(2000, 1000, 0))
compound = doc.addObject("Part::Compound", "Compound")
compound.Links = [p1, p2, p3]
point_array = Draft.make_point_array(polygon, compound)
doc.recompute()
- 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