FreeCAD Build Tool/it: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/it|Avvio e Configurazione|Creare un modulo}}")
(Created page with "{{Userdocnavi/it}}")
(12 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]]}}

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.


Line 8: Line 11:


Con [[wikipedia:Python (programming language)|Python]] installato correttamente, ''fcbt'' può essere richiamato con il comando
Con [[wikipedia:Python (programming language)|Python]] installato correttamente, ''fcbt'' può essere richiamato con il comando
{{Code|code=
<syntaxhighlight>
python fbct.py
python fbct.py
}}
</syntaxhighlight>
che visualizza un menu, in cui è possibile selezionare l'operazione che si desidera utilizzare per:
che visualizza un menu, in cui è possibile selezionare l'operazione che si desidera utilizzare per:
{{Code|code=
FreeCAD Build Tool
FreeCAD Build Tool
Usage:
Usage:
fcbt <command name> [command parameter]
fcbt <command name> [command parameter]
possible commands are:
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
- DistSrc (DS) Build a source Distr. of the current source tree
- DistSetup (DI) Build a Setup Distr. of the current source tree
- DistBin (DB) Build a binary Distr. of the current source tree
- DistSetup (DUI) Build a User Setup Distr. of the current source tree
- DistSetup (DI) Build a Setup Distr. of the current source tree
- DistAll (DA) Run all three above modules
- 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
- NextBuildNumber (NBN) Increase the Build Number of this Version
- CreateModule (CM) Insert a new FreeCAD Module in the module directory
- 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> ?
}}
Al prompt inserire il comando abbreviato che si desidera utilizzare. Ad esempio digitare "CM" per [[Module Creation/it|creare un modulo]].
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" [[Create Source Distribution/it|crea una distribuzione di codice sorgente]] dell'albero di codice sorgente attuale.
Il comando "DS" '''crea una distribuzione di codice sorgente''' dell'albero di codice sorgente attuale.


==== DistBin ====
==== DistBin ====
Il comando "DB" [[Create Binary Distibution/it|crea una distribuzione binaria]] dell'albero di codice sorgente attuale.
Il comando "DB" '''crea una distribuzione binaria''' dell'albero di codice sorgente attuale.


==== DistSetup ====
==== DistSetup ====
Il comando "DI" [[Create Setup Distribution/it|crea una distribuzione di setup]] dell'albero di codice sorgente attuale.
Il comando "DI" '''crea una distribuzione di setup''' dell'albero di codice sorgente attuale.


==== DistSetup ====
==== DistSetup ====
Il comando "DUI" [[Create User Setup Distribution/it|crea una distribuzione di setup dell'utente]] dell'albero di codice sorgente attuale.
Il comando "DUI" '''crea una distribuzione di setup dell'utente''' dell'albero di codice sorgente attuale.


==== DistAll ====
==== DistAll ====
Line 44: Line 49:


==== NextBuildNumber ====
==== NextBuildNumber ====
Il comando "NBN" [[Increment Build Number/it|incrementa il numero della costruzione]] per creare una nuova versione di FreeCAD.
Il comando "NBN" '''incrementa il numero della costruzione''' per creare una nuova versione di FreeCAD.


==== CreateModule ====
==== CreateModule ====
Line 51: Line 56:
{{Docnav/it|[[Start up and Configuration/it|Avvio e Configurazione]]|[[Module Creation/it|Creare un modulo]]}}
{{Docnav/it|[[Start up and Configuration/it|Avvio e Configurazione]]|[[Module Creation/it|Creare un modulo]]}}


{{Userdocnavi/it}}
[[Category:Developer Documentation]]

[[Category:Developer Documentation/it]]


{{clear}}
{{clear}}
<languages/>

Revision as of 20:23, 4 March 2019

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.