Personalizzare l'interfaccia
Introduzione
L'interfaccia di FreeCAD è basata sul moderno toolkit Qt, e dispone di una organizzazione ottimale. Alcuni aspetti dell'interfaccia possono essere personalizzati. Ad esempio, è possibile aggiungere barre degli strumenti personalizzate, con strumenti di diversi ambienti di lavoro o strumenti definiti nelle macro e creare le proprie scorciatoie da tastiera. Ma i menu e le barre degli strumenti predefinite fornite con FreeCAD e i suoi ambienti di lavoro non possono essere modificati.
La finestra di dialogo Personalizza
Utilizzo
- The commands available in the Customize dialog box depend on the workbenches that have been loaded in the current FreeCAD session. So you should first load all workbenches whose commands you want to have access to.
- There are several ways to invoke the Std DlgCustomize command:
- The Customize dialog box opens. For more information see Options.
- The Help button does not work at this time.
- Press the Close button to close the dialog box.
Opzioni
Nella finestra di dialogo Personalizza sono disponibili le seguenti schede:
Comandi
File:Std DlgCustomize tab Commands.png
La scheda Comandi
In questa scheda è possibile sfogliare i comandi disponibili.
Sfogliare i comandi
- Selezionare una categoria di comandi nel pannello Categoria a sinistra. Alcune categorie corrispondono alle voci del menu.
- Gli strumenti disponibili nella categoria selezionata sono mostrati nel pannello a destra.
- Passa il mouse su un comando: appare la descrizione del comando.
- Selezionare un comando: il testo della sua barra di stato viene visualizzato sotto i due pannelli.
Tastiera
La scheda Tastiera
In questa scheda è possibile definire le scorciatoie da tastiera personalizzate. I collegamenti per i comandi delle macro possono essere definiti nella scheda Macro.
Aggiungere una scorciatoia personalizzata
- Selezionare una categoria di comando dall'elenco a discesa Categoria.
- Selezionare un comando dal pannello Comandi.
- La casella Scorciatoia corrente visualizza la scorciatoia corrente, se disponibile.
- Inserire una nuova scorciatoia nella casella di input Digita la nuova scorciatoia. La scorciatoia accetta fino a 4 input. Ogni input è un singolo carattere, una combinazione di uno o più tasti speciali o una combinazione di uno o più tasti speciali e un carattere. Usare Backspace per correggere gli errori.
- Se la scorciatoia è già in uso, una finestra di dialogo chiede se si desidera sostituirla e il comando a cui è assegnata la scorciatoia viene visualizzato nel pannello Attualmente assegnata a.
- Premere il pulsante Assegna per assegnare la nuova scorciatoia.
- Premere il pulsante Cancella per rimuovere il collegamento immesso. Questo rimuove anche il contenuto della casella Collegamento corrente. Notare che i collegamenti predefiniti non vengono rimossi in modo permanente. Sono ripristinati al riavvio di FreeCAD.
Rimuovere una scorciatoia personalizzata
- Selezionare una categoria di comando dall'elenco a discesa Categoria.
- Selezionare un comando dal pannello Comandi.
- Premere il pulsante Ripristina.
Rimuovere tutte le scorciatoie personalizzate
- Premere il pulsante Ripristina tutto.
Note (Tastiera)
- Le scorciatoie funzionano solo se i loro comandi vengono visualizzati nel menu standard o nel menu di un ambiente di lavoro che è stato caricato nella sessione corrente di FreeCAD o se i loro comandi vengono visualizzati su una barra degli strumenti "visibile".
- In V0.19 c'è un problema con alcuni comandi Draft. Le loro scorciatoie predefinite non funzionano e/o le scorciatoie personalizzate non possono essere assegnate.
Ambienti di lavoro
File:Std DlgCustomize tab Workbenches.png
La scheda Ambienti
In questa scheda si può modificare l'ordine dell'elenco del selettore degli ambienti. L'elenco Ambienti abilitati mostra gli ambienti così come appaiono nel selettore.
Disabilitare un ambiente
- Selezionare un ambiente nell'elenco Ambienti di lavoro abilitati.
- Premere il pulsante .
- L'ambiente viene spostato nell'elenco Ambienti di lavoro disabilitati
Riabilitare un ambiente
- Selezionare un ambiente nell'elenco Ambienti di lavoro disabilitati.
- Premere il pulsante .
- L'ambiente viene spostato nell'elenco Ambienti di lavoro abilitati
Riabilitare tutti gli ambienti
Cambiare la posizione di un ambiente
- Selezionare un ambiente nell'elenco Ambienti di lavoro abilitati.
- Premere il pulsante o il pulsante .
- Ripetere fino a quando l'ambiente non si trova nella posizione desiderata.
Ambienti in ordine alfabetico
Barre degli strumenti
La scheda Barre degli strumenti
In questa scheda è possibile creare e modificare barre degli strumenti personalizzate.
Selezionare l'ambiente
- Nell'elenco a discesa a destra selezionare l'ambiente di cui si desidera modificare le barre degli strumenti personalizzate. L'opzione
Global
è disponibile per le barre degli strumenti personalizzate che dovrebbero essere disponibili in tutti gli ambienti.
Creare una barra degli strumenti
- Premere il pulsante Nuovo ....
- Inserire un nome nella finestra di dialogo che si apre.
- Premere il pulsante OK.
- La nuova barra degli strumenti appare nel pannello a destra.
Rinominare una barra degli strumenti
- Select a toolbar in the panel on the right.
- Press the Rename... button.
- Enter a new name in the dialog box that opens.
- Press the OK button.
Delete a toolbar
- Select a toolbar in the panel on the right.
- Press the Delete button.
Disable a toolbar
- Uncheck the checkbox in front of the toolbar name in the panel on the right.
- A disabled toolbar will be invisible in the FreeCAD interface.
Add a command
- Select the correct toolbar in the panel on the right. If no toolbar is selected, the command will be added to the first toolbar in the list.
- Select a category from the dropdown list on the left. Macro commands that have been set up on the Macros tab appear in the 'Macros' category.
- Select a command from the panel on the left.
- Or select '<Separator>' to add a separator (a line between two toolbar buttons).
- Press button.
Remove a command
Change a command position
- If required, expand the toolbar in the panel on the right.
- Select a command.
- Press the button or the button.
- Optionally repeat this until the command is in the correct position.
Notes (Toolbars)
- Toolbars belonging to the current workbench are updated immediately, but after disabling/re-enabling a toolbar a workbench change is required (switch to a different workbench and then switch back).
- To update global toolbars a workbench change (if commands have been added or removed) or a restart (if the order of a toolbar has changed or a toolbar was renamed) is required.
- In V0.19 there is an issue with some Draft commands. After adding them to a custom toolbar and exiting the FreeCAD application the user.cfg file must be manually edited for these commands. Search for the name of the custom toolbar and in that section change the content of the
FCText
items that start withgui_
toDraftTools
.
Macros
The Macros tab
On this tab user macro commands can be set up. Once set up, they can be added to custom toolbars. FreeCAD uses a dedicated folder for user macros and only macros in that folder can be set up. Use the Std DlgMacroExecute command to find this folder on your system.
If you download a macro with the Addon Manager then make sure that you also download its icon image file. Most macros have an image link on the information page that appears in the Addon Manager. You can for example put this image file in the user macros folder.
Add a macro command
- In the Macro dropdown list select a macro.
- Enter a Menu text. This will be the name used to identify the macro command and will also appear in the toolbar if there is no icon.
- Optionally enter a Tool tip. This text will appear near the location of the mouse when you hover the toolbar icon.
- Optionally enter a Status text. This text will appear in the status bar when you hover the toolbar icon.
- Optionally enter the wiki page for the macro, if available, in the What's this input box. Enter the page name, not the full URL.
- Optionally enter a shortcut in the Accelerator input box. See Keyboard for more information.
- To add an icon:
- Press the Pixmap ... button.
- The Choose Icon dialog box opens.
- If required press the Icon folders... button to add an icon folder.
- Select an icon from the panel. The Choose Icon dialog box closes automatically.
- Press the Add button.
- The macro command appears in the panel on the left.
- The macro command can now be selected on the Toolbars tab.
Remove a macro command
- Select the macro command in the panel on the left.
- Press the Remove button.
Change a macro command
- Double-click the macro command in the panel on the left.
- Make the required changes. Note that you cannot remove the icon, you can only replace it.
- Press the Replace button.
Spaceball Motion
This is tab is blank if no Spaceball is detected. See: 3Dconnexion input devices.
Spaceball Buttons
This is tab is blank if no Spaceball is detected. See: 3Dconnexion input devices.
Addons
Addons offer yet another way to customize the use interface. Below are some addons created by users in the FreeCAD community. They can be downloaded through the Addon Manager (note: they are listed on the Workbenches tab).
CubeMenu
- Github repository: https://github.com/triplus/CubeMenu
Glass
- Github repository: https://github.com/triplus/Glass.
IconThemes
- Github repository: https://github.com/triplus/IconThemes
Launcher
- Github repository: https://github.com/triplus/Launcher
PieMenu
- Github repository: https://github.com/triplus/PieMenu
RemBench
- Github repository: https://github.com/triplus/RemBench
ShortCut
- Github repository: https://github.com/triplus/ShortCuts
- 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
- 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
- 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