Draft PointArray/it: Difference between revisions
Renatorivo (talk | contribs) No edit summary |
Renatorivo (talk | contribs) (Created page with "=== Composto di punti ===") |
||
Line 42: | Line 42: | ||
Ogni elemento della serie è un clone esatto dell'oggetto originale, ma l'intera serie è considerata una singola unità in termini di proprietà e aspetto. |
Ogni elemento della serie è un clone esatto dell'oggetto originale, ma l'intera serie è considerata una singola unità in termini di proprietà e aspetto. |
||
=== |
=== Composto di punti === |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
Revision as of 19:58, 14 July 2020
Serie su punti |
Posizione nel menu |
---|
Draft → Serie su punti |
Ambiente |
Draft, Arch |
Avvio veloce |
Nessuno |
Introdotto nella versione |
0.18 |
Vedere anche |
Serie, Serie su tracciato |
Descrizione
Lo strumento Serie su punti posiziona le copie di una forma selezionata lungo vari punti selezionati.
Questo strumento può essere utilizzato su qualsiasi oggetto che abbia una Part TopoShape, che significa forme 2D create con Draft, ma anche solidi 3D creati con altri ambienti, ad esempio Part, PartDesign o Arch.
Per posizionare le copie in una schiera ortogonale usare Serie; per posizionare le copie su un percorso, utilizzare Serie su percorso; per creare copie o cloni e posizionarli manualmente, utilizzare Sposta, Ruota e Clona.
Oggetto duplicato in punti specifici
Utilizzo
- Selezionare un oggetto che si desidera distribuire.
- Selezionare un composto di punti.
- Premere il pulsante Serie su punti.
Ogni elemento della serie è un clone esatto dell'oggetto originale, ma l'intera serie è considerata una singola unità in termini di proprietà e aspetto.
Composto di punti
In essence, the object to be used as the compound must have one of three properties, DatiComponents, DatiLinks, or DatiGeometry, and inside that compound, there must be at least one point with DatiX, DatiY, and DatiZ properties.
Note: in the case of Draft Point and Part Point the array will try to position the copies using the DatiPlacement of the point. In the case of a Sketcher Point, the position will be taken from its internal X
, Y
, and Z
attributes.
Note 2: for Draft Point its DatiPlacement always follows the values of DatiX, DatiY, DatiZ, so modifying these values is enough to produce the desired displacement. However, for Part Point, the net displacement is given by the sum of DatiPlacement with the vector with components DatiX, DatiY, and DatiZ.
Opzioni
Non ci sono opzioni per questo strumento. O funziona con l'oggetto selezionato o non funziona.
Proprietà
A PointArray is derived from a Part Feature (Part::Feature
class), therefore it shares all the latter's properties. In addition to the properties described in Part Feature, the PointArray has the following properties in the property editor.
- DatiBase: specifica l'oggetto da duplicare.
- DatiCount: (sola lettura) specifica il numero di copie dell'oggetto di base. Questo numero dipende dal numero di Punti nel composto.
- DatiPointList: specifica un oggetto composto da oggetti punto che indicano dove verranno visualizzate le copie dell'oggetto DatiBase.
L'oggetto composto deve avere un attributo DatiLinks, DatiComponets o DatiGeometry. Ciascuno degli oggetti all'interno del composto deve essere un Punto Draft con gli attributi DatiX, DatiY e DatiZ. I composti possono essere creati con Crea composto di Part (attributo DatiLinks ) o con Promuovi di Draft (attributo DatiComponets).
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:
Older call
point_array = makePointArray(base_object, point_object)
New call
point_array = make_point_array(base_object, point_object, extra=None):
- Crea un oggetto
PointArray
dall'oggetto basebase
, posizionando le copie sullaptlst
. ptlst
è un oggetto con gli attributiGeometry
,Links
, oComponents
che definisce la posizione delle copie.
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, Arch, Assembly, 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