Draft: Lega facce
|
|
| Posizione nel menu |
|---|
| Drafting → Lega facce 3D/BIM → Strumenti 3D generici → Lega facce |
| Ambiente |
| Draft, BIM |
| Avvio veloce |
| Draft: 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.
- Draft: Selezionare l'opzione Drafting →
Lega facce dal menu.
- BIM: Selezionare l'opzione 3D/BIM → Strumenti 3D generici →
Facebinder dal menu.
- Draftː Usare la scorciatoia da tastiera: F poi F.
- Premere il pulsante
Proprietà
Vedere anche: Editor delle proprietà.
Sulla sinistra un facebinder estruso con angoli chiusi (rosa),
a destra un facebinder estruso con angoli aperti (arancio).
Gli angoli chiusi sono una funzionalità della versione V1.1.
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. disponibile dalla versione 1.1: Se il facebinder ha facce connesse e DatiSew ètrue, viene effettuato un tentativo di chiudere gli angoli dell'estrusione. Se ciò non è possibile, le facce vengono estruse separatamente. - 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
facebinderdallaselectionset, che è una lista diSelectionObjectcome quelli restituiti daFreeCADGui.Selection.getSelectionEx().selectionsetpuò 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 From 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, Highlight Subelements, Join, Split, Upgrade, Downgrade, Convert Wire/B-Spline, Draft to Sketch, Set Slope, Flip Dimension, Shape 2D View
- Draft Tray: Working 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, New Layer, Manage Layers, New Named Group, SelectGroup, Add to Layer, Add to Group, Add to Construction Group, Toggle Wireframe, Working Plane Proxy, Heal, Show Snap Toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Most objects: Edit
- Layer container: Add New Layer, Reassign Properties of All Layers, Merge Layer Duplicates
- Layer: Activate Layer, Reassign Properties of Layer, Select Layer Contents
- Text and label: Open Links
- Wire: Flatten
- Working plane proxy: Save Camera Position, Save Visibility of Objects
- 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, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub
