Insrumentul de construcție al FreeCAD

From FreeCAD Documentation
Revision as of 13:51, 21 August 2018 by Luc (talk | contribs)

Instrumentul de construcție FreeCAD build tool sau fcbt este un script python localizat la:

 trunc/src/Tools/fcbt.py

Acesta poate fi folosit pentru a simplifica unele sarcini frecvente în construirea, distribuirea și extinderea FreeCAD.

Utilizare

Cu Python corect instalat, fcbt can poate fi invocat prin comanda

 python fbct.py

Afișează un meniu, unde puteți selecta următoarele:

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> ?

La promptul de introducere introduceți comanda abreviată pe care doriți să o apelați. De exemplu, tastați "CM" pentru crearea unui modul creating a module.

DistSrc

Comanda "DS" creează sursa de distribuire a arborelui sursă curent

DistBin

Comanda "DB" creează o distribuție binară a arborelui sursă curent.

DistSetup

The command "DI" creates a setup distribution of the current source tree.

DistSetup

The command "DUI" creates a user setup distribution of the current source tree.

DistAll

The command "DA" executes "DS", "DB" and "DI" in sequence.

NextBuildNumber

The "NBN" command increments the build number to create a new release version of FreeCAD.

CreateModule

The "CM" command creates a new application module.

Start up and Configuration
Module Creation