Draft Facebinder/it: Difference between revisions
Renatorivo (talk | contribs) (Created page with "Lega facce può essere modificato facendo doppio clic sull'elemento nella vista ad albero. Quindi si possono cambiare le facce che fanno parte dell'oggetto. * Per aggiungere u...") |
No edit summary Tag: Manual revert |
||
(60 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav/it|[[Draft_ShapeString/it|Forma da testo]]|[[Draft_BezCurve/it|Curva di Bezier]]|[[Draft_Module/it|Draft]]|IconL=Draft_ShapeString.svg |IconC=Workbench_Draft.svg|IconR=Draft_BezCurve.svg }} |
|||
{{Docnav/it |
|||
{{GuiCommand/it|Name=Draft Facebinder|Name/it=Lega facce|Workbenches=[[Draft Module/it|Draft]], [[Arch Module/it|Arch]]|MenuLocation=Draft → Lega facce|Shortcut=F F|SeeAlso=[[Part Box/it|Cubo]] di Part, [[Arch Wall/it|Muro]] di Arch |
|||
|[[Draft_Point/it|Punto]] |
|||
|Version=0.14}} |
|||
|[[Draft_ShapeString/it|Forma da testo]] |
|||
|[[Draft_Workbench/it|Draft]] |
|||
|IconL=Draft_Point.svg |
|||
|IconR=Draft_ShapeString.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{GuiCommand/it |
|||
|Name=Draft Facebinder |
|||
|Name/it=Lega facce |
|||
|MenuLocation=Drafting → Lega facce |
|||
|Workbenches=[[Draft_Workbench/it|Draft]], [[Arch_Workbench/it|Arch]] |
|||
|Shortcut={{KEY|F}} {{KEY|F}} |
|||
|Version=0.14 |
|||
}} |
|||
<span id="Description"></span> |
|||
==Descrizione== |
==Descrizione== |
||
Il comando [[Image:Draft_Facebinder.svg|24px]] '''Lega facce''' crea un oggetto superficie dalle facce selezionate. Un Lega facce è parametrico, si aggiornerà se si modificano i suoi oggetti sorgente. |
|||
Può essere |
Può essere utilizzato per creare un'estrusione da una raccolta di facce. Questa estrusione può ad esempio rappresentare una finitura della parete nel design architettonico. |
||
[[Image: |
[[Image:Draft_facebinder_example.jpg|400px]] |
||
{{Caption|Facebinder creato |
{{Caption|Facebinder creato da facce di pareti}} |
||
<span id="Usage"></span> |
|||
== Utilizzo == |
== Utilizzo == |
||
# Seleziona una o più facce. |
|||
# Sceglere una faccia o tenere premuto {{KEY|Ctrl}} e sceglere diverse facce da oggetti solidi. |
|||
# Esistono diversi modi per invocare il comando: |
|||
# Premere il pulsante {{Button|[[Image:Draft_Facebinder.png|16px]] [[Draft_Facebinder/it|Lega facce]]}}, o premere i tasti {{KEY|F}} e poi {{KEY|F}}. |
|||
#* Premere il pulsante {{Button|[[Image:Draft_Facebinder.svg|16px]] [[Draft_Facebinder/it|Lega facce]]}}. |
|||
#* Selezionare l'opzione {{MenuCommand|Drafting → [[Image:Draft_Facebinder.svg|16px]] Lega facce}} dal menu. |
|||
#* Usare la scorciatoia da tastiera: {{KEY|F}} poi {{KEY|F}}. |
|||
<span id="Properties"></span> |
|||
Lega facce può essere modificato facendo doppio clic sull'elemento nella vista ad albero. Quindi si possono cambiare le facce che fanno parte dell'oggetto. |
|||
== Proprietà == |
|||
* Per aggiungere una faccia, fare clic su una faccia di un oggetto solido nella vista 3D, quindi fare clic sul pulsante {{Button|[[Image:Arch_Add.svg|16px]] Aggiungi}}. |
|||
* Per rimuovere una faccia, selezionare uno degli elementi secondari nell'elenco, quindi fare clic sul pulsante {{Button|[[Image:Arch_Remove.svg|16px]] Rimuovi}}. |
|||
* Premere il tasto {{KEY|Esc}} o il pulsante {{Button|OK}} per completare la modifica. |
|||
Vedere anche: [[Property_editor/it|Editor delle proprietà]]. |
|||
== Options == |
|||
This object has no options when it's being created. Only selected faces will be used to create the Facebinder object. |
|||
Un oggetto Lega facce è derivato da una [[Part_Feature/it|Funzione Part]] e ne eredita tutte le proprietà. Ha anche le seguenti proprietà aggiuntive: |
|||
== Properties == |
|||
=== Data === |
|||
* {{PropertyData|Extrusion}}: specifies an extrusion thickness to apply to all faces of the shape. |
|||
* {{PropertyData|Remove Splitter}}: if it is {{TRUE}} it tries to fuse the internal intersections of the Facebinder when it extruded. |
|||
* {{PropertyData|Sew}}: if it is {{TRUE}} it tries to perform a topological sewing operation on the Facebinder when it extruded. |
|||
<span id="Data"></span> |
|||
=== View === |
|||
===Dati=== |
|||
* {{PropertyView|Pattern}}: specifies a [[Draft Pattern]] with which to fill the face of the shape. This property only works if {{PropertyView|Display Mode}} is "Flat Lines". |
|||
* {{PropertyView|Pattern Size}}: specifies the size of the [[Draft Pattern]]. |
|||
{{TitleProperty|Draft}} |
|||
<div class="mw-translate-fuzzy"> |
|||
=== Script === |
|||
* {{PropertyData|Area|Area}}: (sola lettura) specifica l'area totale delle facce collegate del facebinder. |
|||
</div> |
|||
* {{PropertyData|Extrusion|Distance}}: specifica lo spessore di estrusione del facebinder. |
|||
* {{PropertyData|Faces|LinkSubList}}: specifica le facce collegate del facebinder. |
|||
* {{PropertyData|Offset|Distance}}: specifica una distanza di offset da applicare tra il facebinder e le facce originali, prima dell'estrusione. |
|||
* {{PropertyData|Remove Splitter|Bool}}: specifica se rimuovere le linee di divisione che dividono le facce complanari del facebinder. |
|||
* {{PropertyData|Sew|Bool}}: specifica se eseguire un'operazione di cucitura topologica sul facebinder. |
|||
<span id="View"></span> |
|||
=== Vista === |
|||
{{TitleProperty|Draft}} |
|||
* {{PropertyView|Pattern|Enumeration}}: specifica la [[Draft_Pattern/it|Campitura]] con cui riempire le facce del facebinder. Questa proprietà funziona solo se {{PropertyView|Display Mode}} è {{value|Flat Lines}}. |
|||
* {{PropertyView|Pattern Size|Float}}: specifica la dimensione della [[Draft_Pattern/it|Campitura]]. |
|||
<span id="Scripting"></span> |
|||
==Script== |
|||
Vedere anche: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] e [[FreeCAD Scripting Basics/it|Script di base per FreeCAD]]. |
|||
Per creare un Draft Lega facce usare il metodo {{incode|make_facebinder}} ({{Version/it|0.19}}) del modulo Draft. Questo metodo sostituisce il metodo deprecato {{incode|makeFacebinder}}. |
|||
<div class="mw-translate-fuzzy"> |
|||
Lo strumento facebinder può essere utilizzato nelle [[macros/it|macro]] e dalla [[FreeCAD_Scripting_Basics/it|console di Python]] tramite la seguente funzione: |
|||
</div> |
|||
{{Code|code= |
{{Code|code= |
||
facebinder = make_facebinder(selectionset) |
|||
}} |
}} |
||
<div class="mw-translate-fuzzy"> |
|||
* Crea un oggetto facebinder dalla selezione data, che è una lista di oggetti selezionati fornita dal metodo FreeCADGui.Selection.getSelectionEx(). |
|||
* Vengono prese in considerazione solo le facce selezionate |
|||
* Restituisce l'oggetto appena creato |
|||
</div> |
|||
* Crea un oggetto {{incode|facebinder}} dalla {{incode|selectionset}}, che è una lista di {{incode|SelectionObject}} come quelli restituiti da {{incode|FreeCADGui.Selection.getSelectionEx()}}. |
|||
The thickness of the ShapeString can be added by overwriting its {{incode|Extrusion}} attribute; the value is entered in millimeters. |
|||
** {{incode|selectionset}} può anche essere un {{incode|PropertyLinkSubList}}. |
|||
Un {{incode|PropertyLinkSubList}} è un elenco di tuple; ogni tupla contiene come primo elemento un {{incode|oggetto}} e come secondo elemento un elenco (o tupla) di stringhe; queste stringhe indicano i nomi dei sotto-elementi (facce) di quell'oggetto. |
|||
The placement of the ShapeString can be changed by overwriting its {{incode|Placement}} attribute, or by individually overwriting its {{incode|Placement.Base}} and {{incode|Placement.Rotation}} attributes. |
|||
{{Code|code= |
|||
PropertyLinkSubList = [tuple1, tuple2, tuple3, ...] |
|||
PropertyLinkSubList = [(object1, list1), (object2, list2), (object3, list3), ...] |
|||
PropertyLinkSubList = [(object1, ['Face1', 'Face4', 'Face6']), ...] |
|||
PropertyLinkSubList = [(object1, ('Face1', 'Face4', 'Face6')), ...] |
|||
}} |
|||
Lo spessore di Facebinder può essere aggiunto sovrascrivendo il suo attributo {{incode|Extrusion}}; il valore è inserito in millimetri. |
|||
Il posizionamento di Facebinder può essere cambiato sovrascrivendo il suo attributo {{incode|Placement}}, o sovrascrivendo singolarmente i suoi attributi {{incode|Placement.Base}} e {{incode|Placement.Rotation}}. |
|||
Esempio: |
Esempio: |
||
{{Code|code= |
{{Code|code= |
||
import FreeCAD |
import FreeCAD as App |
||
import FreeCADGui as Gui |
|||
import Draft |
|||
doc = App.newDocument() |
|||
# Insert a solid box |
# Insert a solid box |
||
box = doc.addObject("Part::Box", "Box") |
|||
box.Length = 2300 |
|||
box.Width = 800 |
|||
box.Height = 1000 |
|||
# selection = Gui.Selection.getSelectionEx() |
|||
# Pick any two side faces, and then |
|||
selection = [(box, ("Face1", "Face6"))] |
|||
selection = FreeCADGui.Selection.getSelectionEx() |
|||
facebinder = Draft.make_facebinder(selection) |
|||
facebinder.Extrusion = 50 |
|||
FreeCAD.ActiveDocument.recompute() |
|||
doc.recompute() |
|||
Facebinder.Placement.Base = FreeCAD.Vector(1000, -1000, 100) |
|||
Facebinder.ViewObject.ShapeColor = (0.99, 0.99, 0.4) |
|||
facebinder.Placement.Base = App.Vector(1000, -1000, 100) |
|||
facebinder.ViewObject.ShapeColor = (0.99, 0.99, 0.4) |
|||
doc.recompute() |
|||
}} |
}} |
||
{{Docnav|[[Draft_ShapeString|ShapeString]]|[[Draft_BezCurve|Bezier Curve]]|[[Draft_Module|Draft]]|IconL=Draft_ShapeString.svg |IconC=Workbench_Draft.svg|IconR=Draft_BezCurve.svg }} |
|||
{{Docnav/it |
|||
{{Draft Tools navi}} |
|||
|[[Draft_Point/it|Punto]] |
|||
|[[Draft_ShapeString/it|Forma da testo]] |
|||
|[[Draft_Workbench/it|Draft]] |
|||
|IconL=Draft_Point.svg |
|||
|IconR=Draft_ShapeString.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{Draft Tools navi{{#translation:}}}} |
|||
{{Userdocnavi}} |
|||
{{Userdocnavi{{#translation:}}}} |
|||
{{clear}} |
Latest revision as of 15:50, 8 December 2023
Lega facce |
Posizione nel menu |
---|
Drafting → Lega facce |
Ambiente |
Draft, Arch |
Avvio veloce |
F F |
Introdotto nella versione |
0.14 |
Vedere anche |
Nessuno |
Descrizione
Il comando Lega facce crea un oggetto superficie dalle facce selezionate. Un Lega facce è parametrico, si aggiornerà se si modificano i suoi oggetti sorgente.
Può essere utilizzato per creare un'estrusione da una raccolta di facce. Questa estrusione può ad esempio rappresentare una finitura della parete nel design architettonico.
Facebinder creato da facce di pareti
Utilizzo
- Seleziona una o più facce.
- Esistono diversi modi per invocare il comando:
- Premere il pulsante Lega facce.
- Selezionare l'opzione Drafting → Lega facce dal menu.
- Usare la scorciatoia da tastiera: F poi F.
Proprietà
Vedere anche: Editor delle proprietà.
Un oggetto Lega facce è derivato da una Funzione Part e ne eredita tutte le proprietà. Ha anche le seguenti proprietà aggiuntive:
Dati
Draft
- DatiArea (
Area
): (sola lettura) specifica l'area totale delle facce collegate del facebinder. - DatiExtrusion (
Distance
): specifica lo spessore di estrusione del facebinder. - DatiFaces (
LinkSubList
): specifica le facce collegate del facebinder. - DatiOffset (
Distance
): specifica una distanza di offset da applicare tra il facebinder e le facce originali, prima dell'estrusione. - DatiRemove Splitter (
Bool
): specifica se rimuovere le linee di divisione che dividono le facce complanari del facebinder. - DatiSew (
Bool
): specifica se eseguire un'operazione di cucitura topologica sul facebinder.
Vista
Draft
- VistaPattern (
Enumeration
): specifica la Campitura con cui riempire le facce del facebinder. Questa proprietà funziona solo se VistaDisplay Mode èFlat Lines
. - VistaPattern Size (
Float
): specifica la dimensione della Campitura.
Script
Vedere anche: Autogenerated API documentation e Script di base per FreeCAD.
Per creare un Draft Lega facce usare il metodo make_facebinder
(disponibile dalla versione 0.19) del modulo Draft. Questo metodo sostituisce il metodo deprecato makeFacebinder
.
facebinder = make_facebinder(selectionset)
- Crea un oggetto
facebinder
dallaselectionset
, che è una lista diSelectionObject
come quelli restituiti daFreeCADGui.Selection.getSelectionEx()
.selectionset
può anche essere unPropertyLinkSubList
.
Un PropertyLinkSubList
è un elenco di tuple; ogni tupla contiene come primo elemento un oggetto
e come secondo elemento un elenco (o tupla) di stringhe; queste stringhe indicano i nomi dei sotto-elementi (facce) di quell'oggetto.
PropertyLinkSubList = [tuple1, tuple2, tuple3, ...]
PropertyLinkSubList = [(object1, list1), (object2, list2), (object3, list3), ...]
PropertyLinkSubList = [(object1, ['Face1', 'Face4', 'Face6']), ...]
PropertyLinkSubList = [(object1, ('Face1', 'Face4', 'Face6')), ...]
Lo spessore di Facebinder può essere aggiunto sovrascrivendo il suo attributo Extrusion
; il valore è inserito in millimetri.
Il posizionamento di Facebinder può essere cambiato sovrascrivendo il suo attributo Placement
, o sovrascrivendo singolarmente i suoi attributi Placement.Base
e Placement.Rotation
.
Esempio:
import FreeCAD as App
import FreeCADGui as Gui
import Draft
doc = App.newDocument()
# Insert a solid box
box = doc.addObject("Part::Box", "Box")
box.Length = 2300
box.Width = 800
box.Height = 1000
# selection = Gui.Selection.getSelectionEx()
selection = [(box, ("Face1", "Face6"))]
facebinder = Draft.make_facebinder(selection)
facebinder.Extrusion = 50
doc.recompute()
facebinder.Placement.Base = App.Vector(1000, -1000, 100)
facebinder.ViewObject.ShapeColor = (0.99, 0.99, 0.4)
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