Installing more workbenches/it: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
Outside the standard workbenches that are bundled with every FreeCAD installation, it is very easy to add other workbenches that extend FreeCAD functionality. At the moment, since FreeCAD is very young, there is almost no other workbench availible. But FreeCAD has been made extensible right from the start, so adding new workbenches is very easy, and in the future several new workbench should appear. |
|||
{{TOCright}} |
|||
== Introduction == |
|||
Extra workbenches are delivered in a folder, that must simply be copied into one of FreeCAD's '''Mod''' directory. The Mod directories are scanned everytime FreeCAD is started and the availible workbenches automatically added. There are two ways of installing: |
|||
Since v0.17 it is easy to add [[external_workbenches|external workbenches]] by using the [[Std_AddonMgr|Addon Manager]]. A regular user doesn't need to do more than use this tool. |
|||
===Installing system-wide=== |
|||
⚫ | |||
Keep reading for more information regarding installation of workbenches. |
|||
Copy or move the folder containing your workbench to the "Mod" directory that lies inside your FreeCAD installation directory. On Windows, it will probably be something like '''C:\Program Files\FreeCAD\Mod''', on Debian-based systems something like '''/usr/lib/FreeCAD/Mod''' |
|||
<div class="mw-translate-fuzzy"> |
|||
===Installing user-wide=== |
|||
== Descrizione == |
|||
⚫ | |||
Aggiungere [[external workbenches/it|ambienti esterni]] a FreeCAD è facile . |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
Copy or move the folder containing your workbench to the "Mod" directory that lies inside your FreeCAD user directory. On Windows, it will be something like '''C:\Users\your_user_name\Application Data\FreeCAD\Mod''', on Linux systems it will be '''~/.FreeCAD/Mod''' where ~ is your user's home directory. On Mac OSX the "Mod" directory should be '''~/Library/Preferences/FreeCAD/Mod'''. One way to get to the FreeCAD preferences directory on Mac is to use the Finder menu item Go->Go to Folder... and then enter "~/Library/Preferences/FreeCAD". |
|||
Gli ambienti sono contenuti in una cartella in cui devono semplicemente essere copiati. |
|||
</div> |
|||
{{Code|code= |
|||
$ROOT_DIR/Mod/ |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
dove {{incode|$ROOT_DIR}} è una directory di primo livello ricercata da FreeCAD all'avvio. |
|||
</div> |
|||
Le directory {{incode|Mod/}} vengono scansionate ogni volta che viene avviato FreeCAD e gli ambienti disponibili vengono aggiunti automaticamente. |
|||
Extra information about how to create a custom workbench can be found on the [[Developer hub]] and on the [[Power users hub]]. |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
===Installazione a livello di sistema=== |
|||
[[Category:Poweruser_Documentation]] |
|||
Gli ambienti installati in questo modo sono disponobili per tutti gli utenti. Secondo il sistema, può essere necessario avere i privilegi di amministratore o di superutente per accedere alla directory di installazione. |
|||
</div> |
|||
⚫ | |||
{{clear}} |
|||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
Copiare la cartella dell'ambiente in {{incode|$INSTALL_DIR/Mod/}}, dove {{incode|$INSTALL_DIR}} è la directory di installazione di FreeCAD. |
|||
* Su Linux di solito è {{incode|/usr/share/freecad/Mod/}} |
|||
* Su Windows di solito è {{incode|C:\Program Files\FreeCAD\Mod\}} |
|||
* Su Mac OSX di solito è {{incode|/Applications/FreeCAD/Mod/}} |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
===Installazione per un singolo utente=== |
|||
Gli ambienti installati in questo modo sono disponibili per un solo utente del sistema, ma non è necessario alcun privilegio di amministratore o di superutente. |
|||
</div> |
|||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
Copiare la cartella dell'ambiente in {{incode|$USER_DIR/Mod/}}, dove {{incode|$USER_DIR}} è la directory di FreeCAD per un particolare {{incode|nome utente}}. |
|||
* Su Linux di solito è {{incode|/home/username/.FreeCAD/Mod/}} |
|||
* Su Windows è {{incode|%APPDATA%\FreeCAD\Mod\}}, che di solito è {{incode|C:\Users\''username''\Appdata\Roaming\FreeCAD\Mod\}} |
|||
* Su Mac OSX di solito è {{incode|/Users/username/Library/Preferences/FreeCAD/Mod/}}. Un modo per accedere alla directory delle preferenze è utilizzare la voce di menu "Finder" |
|||
{{MenuCommand|Go → Go to Folder}}, e inserire {{incode|~/Library/Preferences/FreeCAD}}. |
|||
</div> |
|||
=== Informazioni aggiuntive === |
|||
Ulteriori informazioni su come creare un ambiente di lavoro personalizzato si trovano in [[Developer hub/it|Hub sviluppatori]] e in [[Power users hub/it|Hub utenti avanzati]]. |
|||
Vedere anche la pagina [[How_to_install_additional_workbenches/it|Come installare ambienti aggiuntivi]]. |
|||
{{Powerdocnavi{{#translation:}}}} |
|||
⚫ |
Latest revision as of 10:50, 23 June 2022
Introduction
Since v0.17 it is easy to add external workbenches by using the Addon Manager. A regular user doesn't need to do more than use this tool.
Keep reading for more information regarding installation of workbenches.
Descrizione
Aggiungere ambienti esterni a FreeCAD è facile .
Gli ambienti sono contenuti in una cartella in cui devono semplicemente essere copiati.
$ROOT_DIR/Mod/
dove $ROOT_DIR
è una directory di primo livello ricercata da FreeCAD all'avvio.
Le directory Mod/
vengono scansionate ogni volta che viene avviato FreeCAD e gli ambienti disponibili vengono aggiunti automaticamente.
Installazione a livello di sistema
Gli ambienti installati in questo modo sono disponobili per tutti gli utenti. Secondo il sistema, può essere necessario avere i privilegi di amministratore o di superutente per accedere alla directory di installazione.
Workbenches installed in this way will be available to all users. Depending on your system, you might need administrator privileges to access the installation directory.
Copiare la cartella dell'ambiente in $INSTALL_DIR/Mod/
, dove $INSTALL_DIR
è la directory di installazione di FreeCAD.
- Su Linux di solito è
/usr/share/freecad/Mod/
- Su Windows di solito è
C:\Program Files\FreeCAD\Mod\
- Su Mac OSX di solito è
/Applications/FreeCAD/Mod/
Installazione per un singolo utente
Gli ambienti installati in questo modo sono disponibili per un solo utente del sistema, ma non è necessario alcun privilegio di amministratore o di superutente.
Workbenches installed in this way will be available only to one user, but will not require any administrator privileges.
Copiare la cartella dell'ambiente in $USER_DIR/Mod/
, dove $USER_DIR
è la directory di FreeCAD per un particolare nome utente
.
- Su Linux di solito è
/home/username/.FreeCAD/Mod/
- Su Windows è
%APPDATA%\FreeCAD\Mod\
, che di solito èC:\Users\username\Appdata\Roaming\FreeCAD\Mod\
- Su Mac OSX di solito è
/Users/username/Library/Preferences/FreeCAD/Mod/
. Un modo per accedere alla directory delle preferenze è utilizzare la voce di menu "Finder"
Go → Go to Folder, e inserire ~/Library/Preferences/FreeCAD
.
Informazioni aggiuntive
Ulteriori informazioni su come creare un ambiente di lavoro personalizzato si trovano in Hub sviluppatori e in Hub utenti avanzati.
Vedere anche la pagina Come installare ambienti aggiuntivi.
- FreeCAD scripting: Python, Introduction to Python, Python scripting tutorial, FreeCAD Scripting Basics
- Modules: Builtin modules, Units, Quantity
- Workbenches: Workbench creation, Gui Commands, Commands, Installing more workbenches
- Meshes and Parts: Mesh Scripting, Topological data scripting, Mesh to Part, PythonOCC
- Parametric objects: Scripted objects, Viewproviders (Custom icon in tree view)
- Scenegraph: Coin (Inventor) scenegraph, Pivy
- Graphical interface: Interface creation, Interface creation completely in Python (1, 2, 3, 4, 5), PySide, PySide examples beginner, intermediate, advanced
- Macros: Macros, How to install macros
- Embedding: Embedding FreeCAD, Embedding FreeCADGui
- Other: Expressions, Code snippets, Line drawing function, FreeCAD vector math library (deprecated)
- Hubs: User hub, Power users hub, Developer hub