FreeCAD Build Tool/it: Difference between revisions

From FreeCAD Documentation
(Created page with "Può essere usato per semplificare alcune frequenti operazioni nella costruzione, distribuzione e estensione di FreeCAD.")
No edit summary
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>

{{Docnav/it
|[[Start up and Configuration/it|Avvio e Configurazione]]
|[[Module Creation/it|Creare un modulo]]}}

{{TOCright}}

==Introduzione==
Lo '''Strumento per la costruzione di FreeCAD''' (FreeCAD build tool o '''fcbt''') è uno script in Python ubicato in
Lo '''Strumento per la costruzione di FreeCAD''' (FreeCAD build tool o '''fcbt''') è uno script in Python ubicato in
{{Code|code=
<syntaxhighlight>
trunc/src/Tools/fcbt.py
trunc/src/Tools/fcbt.py
}}
</syntaxhighlight>
Può essere usato per semplificare alcune frequenti operazioni nella costruzione, distribuzione e estensione di FreeCAD.
Può essere usato per semplificare alcune frequenti operazioni nella costruzione, distribuzione e estensione di FreeCAD.


== Usage ==
=== Utilizzo ===

With [[wikipedia:Python (programming language)|Python]] correctly installed, ''fcbt'' can be invoked by the command
Con [[wikipedia:Python (programming language)|Python]] installato correttamente, ''fcbt'' può essere richiamato con il comando
<syntaxhighlight>
{{Code|code=
python fbct.py
python fbct.py
</syntaxhighlight>
}}
It displays a menu, where you can select the task you want to use it for:
che visualizza un menu, in cui è possibile selezionare l'operazione che si desidera utilizzare per:
FreeCAD Build Tool
{{Code|code=
Usage:
FreeCAD Build Tool
fcbt <command name> [command parameter]
Usage:
possible commands are:
fcbt <command name> [command parameter]
- DistSrc (DS) Build a source Distr. of the current source tree
possible commands are:
- DistBin (DB) Build a binary Distr. of the current source tree
- DistSetup (DI) Build a Setup Distr. of the current source tree
- DistSrc (DS) Build a source Distr. of the current source tree
- DistSetup (DUI) Build a User Setup Distr. of the current source tree
- DistBin (DB) Build a binary Distr. of the current source tree
- DistAll (DA) Run all three above modules
- DistSetup (DI) Build a Setup Distr. of the current source tree
- DistSetup (DUI) Build a User Setup Distr. of the current source tree
- NextBuildNumber (NBN) Increase the Build Number of this Version
- CreateModule (CM) Insert a new FreeCAD Module in the module directory
- DistAll (DA) Run all three above modules
- NextBuildNumber (NBN) Increase the Build Number of this Version
- CreateModule (CM) Insert a new FreeCAD Module in the module directory
For help on the modules type:
For help on the modules type:
fcbt <command name> ?
fcbt <command name> ?
}}
At the input promt enter the abbreviated command you want to call. For example type "CM" for [[Module Creation|creating a module]].
Al prompt inserire il comando abbreviato che si desidera utilizzare. Ad esempio digitare "CM" per [[Module Creation/it|creare un modulo]].


=== DistSrc ===
==== DistSrc ====
Il comando "DS" '''crea una distribuzione di codice sorgente''' dell'albero di codice sorgente attuale.
The command "DS" [[Create Source Distribution|creates a source distribution]] of the current source tree.


=== DistBin ===
==== DistBin ====
Il comando "DB" '''crea una distribuzione binaria''' dell'albero di codice sorgente attuale.
The command "DB" [[Create Binary Distibution|creates a binary distribution]] of the current source tree.


=== DistSetup ===
==== DistSetup ====
Il comando "DI" '''crea una distribuzione di setup''' dell'albero di codice sorgente attuale.
The command "DI" [[Create Setup Distribution|creates a setup distribution]] of the current source tree.


=== DistSetup ===
==== DistSetup ====
Il comando "DUI" '''crea una distribuzione di setup dell'utente''' dell'albero di codice sorgente attuale.
The command "DUI" [[Create User Setup Distribution|creates a user setup distribution]] of the current source tree.


=== DistAll ===
==== DistAll ====
The command "DA" executes "DS", "DB" and "DI" in sequence.
Il comando "DA" esegue "DS", "DB" e "DI" in sequenza.


=== NextBuildNumber ===
==== NextBuildNumber ====
Il comando "NBN" '''incrementa il numero della costruzione''' per creare una nuova versione di FreeCAD.
The "NBN" command [[Increment Build Number|increments the build number]] to create a new release version of FreeCAD.


=== CreateModule ===
==== CreateModule ====
The "CM" command [[Module Creation|creates a new application module]].
Il comando "CM" [[Module Creation/it|crea un nuovo modulo dell'applicazione]].


{{Docnav/it
{{Docnav|Start up and Configuration|Module Creation}}
|[[Start up and Configuration/it|Avvio e Configurazione]]

|[[Module Creation/it|Creare un modulo]]}}
[[Category:Developer Documentation]]


{{Userdocnavi{{#translation:}}}}
[[Category:Developer Documentation{{#translation:}}]]
{{clear}}
{{clear}}
<languages/>

Revision as of 20:34, 28 September 2020

Introduzione

Lo Strumento per la costruzione di FreeCAD (FreeCAD build tool o fcbt) è uno script in Python ubicato in

trunc/src/Tools/fcbt.py

Può essere usato per semplificare alcune frequenti operazioni nella costruzione, distribuzione e estensione di FreeCAD.

Utilizzo

Con Python installato correttamente, fcbt può essere richiamato con il comando

python fbct.py

che visualizza un menu, in cui è possibile selezionare l'operazione che si desidera utilizzare per:

FreeCAD Build Tool
 Usage:
    fcbt <command name> [command parameter]
 possible commands are:
  - DistSrc         (DS)   Build a source Distr. of the current source tree
  - DistBin         (DB)   Build a binary Distr. of the current source tree
  - DistSetup       (DI)   Build a Setup Distr. of the current source tree
  - DistSetup       (DUI)  Build a User Setup Distr. of the current source tree
  - DistAll         (DA)   Run all three above modules
  - NextBuildNumber (NBN)  Increase the Build Number of this Version
  - CreateModule    (CM)   Insert a new FreeCAD Module in the module directory
 
 For help on the modules type:
   fcbt <command name> ?

Al prompt inserire il comando abbreviato che si desidera utilizzare. Ad esempio digitare "CM" per creare un modulo.

DistSrc

Il comando "DS" crea una distribuzione di codice sorgente dell'albero di codice sorgente attuale.

DistBin

Il comando "DB" crea una distribuzione binaria dell'albero di codice sorgente attuale.

DistSetup

Il comando "DI" crea una distribuzione di setup dell'albero di codice sorgente attuale.

DistSetup

Il comando "DUI" crea una distribuzione di setup dell'utente dell'albero di codice sorgente attuale.

DistAll

Il comando "DA" esegue "DS", "DB" e "DI" in sequenza.

NextBuildNumber

Il comando "NBN" incrementa il numero della costruzione per creare una nuova versione di FreeCAD.

CreateModule

Il comando "CM" crea un nuovo modulo dell'applicazione.