Vista de árbol
Introducción
La vista árbol aparece en la pestaña Modelo de la vista combo, uno de los paneles más importantes de la interfaz; muestra todos los objetos definidos por el usuario que forman parte de un documento de FreeCAD. La vista árbol es una representación de la estructura del documento, e indica qué información se guarda en el disco.
Estos objetos no tienen que ser necesariamente formas geométricas visibles en la Vista 3D, sino que también pueden ser objetos de datos de apoyo creados con cualquiera de los Ambientes de trabajo.
La vista de árbol que muestra varios elementos del documento.
Trabajando con el vista arbol
By default, whenever a new object is created, it is added to the end of the list in the tree view. The tree view allows managing the objects to keep them organized; it permits creating groups, moving objects inside groups, moving groups inside other groups, renaming objects, copying objects, deleting objects, and other operations in the contextual menu (right click) which depend on the currently selected object and the currently active workbench.
Many operations create objects that are dependent on a previously existing object. In this case, the tree view shows this relationship by absorbing the older object inside the new object. Expanding and collapsing the objects in the tree view shows the parametric history of that object. Objects that are deeper inside others are older, while objects that are outside are newer, and are derived from the older objects. By modifying the interior objects, the parametric operations propagate all the way to the top, generating a new result.
The topmost object is created by doing parametric operations on objects which themselves were created by previous operations. Expanding the tree many levels reveals the original elements that were used to create the partial solids.
Acciones
Note: expressions and link actions were added in version 0.19.
Since the tree view lists objects that may be visible in the 3D view, many of the actions are the same to those that can be executed from the 3D view.
When the application starts, the default Start Workbench is active, and no document has been created, right clicking on the tree view shows only one command:
- Expression actions: Copy selected, Copy active document, Copy all documents, Paste. These allow working with various documents, but are disabled if no document is present.
Once a new document has been created the following become active:
- Expression actions: Copy active document, Copy all documents.
In addition, Link actions are available.
- Link actions: Make Link.
- Make Link group: Simple group, Group with links, Group with transform links.
Seleccionar el documento
If you select the active document and right click, in addition to Expression actions and Link actions, the following commands appear:
- Show hidden items: if active, the tree view will show hidden items.
- Search: shows an input field to search objects inside the selected document.
- Close document: closes the selected document by calling the application's
closeDocument()
method. - Skip recomputes: if active, the document's objects will not recompute automatically.
- Allow partial recomputes: if active, the document will allow recompute of only some objects.
- Mark to recompute: marks all objects of the document as touched, and ready for recompute.
- Create group: creates a group in the selected document by using the document's
addObject()
method.
Seleccionar de objetos
Once objects are added to the document then in addition to the previous actions, right clicking on an empty part of the tree view will show additional commands; these depend on the type of object and the active workbench.
For example, with the Draft Workbench active, first select an object, then right click on an empty place in the tree view:
- Toggle visibility: makes the object visible or invisible in the 3D view.
- Show selection: makes the selected objects visible.
- Hide selection: makes the selected objects invisible.
- Toggle selectability: makes the object no longer selectable in the 3D view; use again this command to cancel its effect. It sets the object's
Selectable
attribute totrue
orfalse
. Change the property by toggling VistaSelectable in the property editor. - Select all instances: selects all instances of this object in the tree view.
- Appearance: launches the dialog to change color and sizes of lines and vertices, and color of faces.
- Random color: assigns a random color to the object. It sets the object's
ShapeColor
attribute to a tuple(r,g,b)
with tree random floats between 0 and 1. Change the property by modifying VistaShape Color in the property editor. - Cut: disabled if the right-click is not on the object.
- Copy: copies an object into memory.
- Paste: pastes the copied object into the document; the copy is added to the end of the tree view.
- Delete: removes the object from the document, and from the tree view, by calling the document's
removeObject()
method. - Utilities: (optional) additional contextual commands provided by the Draft Workbench.
If an object is selected, for example, a Draft Line, and a right click is made in the same object additional commands may be available:
- Transform: launches the transform widget to move or rotate the object.
- Set colors: sets the colors of the object.
- Flatten this wire: (Draft) specific command for a Draft Line.
- Hide item: if active, the selected object will be set as hidden.
- Mark to recompute: marks the selected object as touched, and ready for recompute.
- Recompute: recomputes the selected object.
- Rename: starts editing the name of the selected object. This allows changing the
Label
attribute, but not theName
attribute, as the latter is read-only.
Iconos superpuestos
Se pueden mostrar uno o varios iconos superpuestos más pequeños sobre el icono por defecto de un objeto en la vista de árbol. Los iconos superpuestos disponibles y su significado se enumeran a continuación. introducido en la versión 0.19
Marca de verificación blanca sobre fondo azul
Esto indica que el objeto tiene que ser recalculado, debido a los cambios realizados en el modelo o porque el usuario marcó el objeto en el menú contextual de la vista de árbol para ser recalculado. En la mayoría de los casos los recálculos se activan automáticamente, pero a veces se retrasan por razones de rendimiento.
Flecha blanca sobre fondo verde
Indica la llamada Punta de un cuerpo. Suele ser la última característica de un DiseñoPieza Cuerpo y representa todo el cuerpo para el mundo exterior al cuerpo, por ejemplo, cuando el cuerpo se exporta o se utiliza en operaciones Pieza booleano. La punta puede ser cambiada por el usuario.
Cadena de eslabones púrpura sobre fondo blanco
Se muestra normalmente para bocetos, primitivas geométricas, como caja, cilindro, etc. y geometría Referencia. Indica que el objeto no está unido a nada. No tiene desplazamiento de fijación y obtiene su posición y alineación únicamente de su propiedad Colocación.
Hay un Tutorial Básico de Adjuntos que explica cómo manejar tales objetos.
Amarillo X
This is only used for sketches and indicates that the sketch is not fully constrained. Inside of Sketcher the number of remaining degrees of freedom is shown in the solver messages.
Signo de exclamación blanco sobre fondo rojo
This indicates that the object has an error that needs to be fixed. After recomputing the whole document a tooltip describing the error is shown when you hover the mouse over the object in the tree view. Note: All other objects depending on an object in such an error state will not be properly recomputed, thus they may still show some old state.
- Preferences Editor, Interface Customization
- Main window: Standard menu, Main view area, 3D view, Combo view (Tree view, Task panel, Property editor), Selection view, Report view, Python console, Status bar, DAG view, Workbench Selector
- Auxiliary windows: Scene inspector, Dependency graph
- File: New, Open, Close, Close All, Save, Save As, Save a Copy, Save All, Revert, Import, Export,Merge project, Project information, Print, Print preview, Export PDF, Recent files, Exit
- Edit: Undo, Redo, Cut, Copy, Paste, Duplicate selection, Refresh, Box selection, Box element selection, Select All, Delete, Send to Python Console, Placement, Transform, Alignment, Toggle Edit mode, Edit mode, Preferences
- View:
- Miscellaneous: Create new view, Orthographic view, Perspective view, Fullscreen, Bounding box, Toggle axis cross, Clipping plane, Texture mapping, Toggle navigation/Edit mode, Appearance, Random color, Workbench, Status bar
- Standard views: Fit all, Fit selection, Isometric, Dimetric, Trimetric, Home, Front, Top, Right, Rear, Bottom, Left, Rotate Left, Rotate Right
- Freeze display: Save views, Load views, Freeze view, Clear views
- Draw style: As is, Points, Wireframe, Hidden line, No shading, Shaded, Flat lines
- Stereo: Stereo red/cyan, Stereo quad buffer, Stereo Interleaved Rows, Stereo Interleaved Columns, Stereo Off, Issue camera position
- Zoom: Zoom In, Zoom Out, Box zoom
- Document window: Docked, Undocked, Fullscreen
- Visibility: Toggle visibility, Show selection, Hide selection, Select visible objects, Toggle all objects, Show all objects, Hide all objects, Toggle selectability
- Toolbars: File, Edit, Clipboard, Workbench, Macro, View, Structure, Help
- Panels: Tree view, Property view, Selection view, Tasks, Python console, DAG view, Model, Report view
- Link navigation: Go to linked object, Go to the deepest linked object, Select all links
- Tree view actions: Sync view, Sync selection, Sync placement, Pre-selection, Record selection, Single document, Multi document, Collapse/Expand, Initiate dragging, Go to selection, Selection Back, Selection Forward
- Tools: Edit parameters, Save image, Load image, Scene inspector, Dependency graph, Project utility, Measure distance, Add text document, View turntable, Units calculator, Customize, Addon manager
- Macro: Macro recording, Macros, Recent macros, Execute macro, Attach to remote debugger, Debug macro, Stop debugging, Step over, Step into, Toggle breakpoint
- Help: Help, FreeCAD Website, Donate, Users documentation, Python scripting documentation, Automatic Python modules documentation, FreeCAD Forum, FreeCAD FAQ, Report a bug, About FreeCAD, What's This
- 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