Draft: Clona
Clona |
Posizione nel menu |
---|
Draft → Clona |
Ambiente |
Draft, Architettura |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Sposta, Scala |
Descrizione
Lo strumento Clona produce delle copie collegate di una forma selezionata. Ciò significa che se l'oggetto originale cambia forma e proprietà, cambiano anche tutti i cloni. Ciononostante, ogni clone mantiene la sua posizione, rotazione e scala uniche, così come le sue proprietà di visualizzazione come il colore della forma, la larghezza della linea e la trasparenza.
Questo strumento può essere utilizzato su forme 2D create con Draft ma può anche essere utilizzato su molti tipi di oggetti 3D come quelli creati con Part o PartDesign o Arch.
Clone accanto all'oggetto originale
Utilizzo
- Selezionare un oggetto che si desidera clonare
- Premere il pulsante Clona
Properties
See also: Property editor.
An object created with the Draft Clone command is derived from a Part Part2DObject, a Part Feature object or, if an Arch Clone is created, from the object type of the source object. It inherits all properties from that object. A clone derived from one of the first two objects also has the following additional properties:
Data
Draft
Proprietà
- DatiObjects: specifica una lista di oggetti base che vengono clonati.
- DatiScale: specifica il fattore di scala per il clone, in ciascuna direzione X, Y e Z.
- DatiFuse: se è
true
e DatiObjects include molte forme che si intersecano l'una con l'altra, il clone risultante le fonde insieme in una singola forma, o crea un composto. disponibile dalla versione 0.17
Scripting
Script
Vedere anche: Draft API e Nozioni di base sugli script di FreeCAD.
Lo strumento Clone può essere usato nelle macro e dalla console Python utilizzando la seguente funzione:
cloned_object = make_clone(obj, delta=None, forcedraft=False)
- Crea un oggetto
cloned_object
da un datoobj
, che può essere un singolo oggetto o un elenco di oggetti. - Se dato,
delta
è unFreeCAD.Vector
che sposta il nuovo clone dalla posizione originale dell'oggetto base. - Se
forcedraft
èTrue
, l'oggetto risultante sarà un clone di Draft, e non un clone di Arch, anche seobj
è un oggetto Arch.
Esempio:
import FreeCAD as App
import Draft
doc = App.newDocument()
place = App.Placement(App.Vector(1000, 0, 0), App.Rotation())
polygon1 = Draft.make_polygon(3, 750)
polygon2 = Draft.make_polygon(5, 750, placement=place)
vector = App.Vector(2600, 500, 0)
cloned_object = Draft.clone([polygon1, polygon2], delta=vector)
cloned_object.Fuse = True
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