Инструметы сборки FreeCAD

From FreeCAD Documentation
Revision as of 19:14, 16 October 2014 by Renatorivo (talk | contribs) (Created page with "=== DistSrc === Команда "DS" создать пакет исходников текущего дерева исходных текст...")

Инструмент сборки FreeCAD или fcbt это python сценарий расположеный в

 trunc/src/Tools/fcbt.py

Он может быть использован для упрощения некоторых часто встречающихся задач при сборке, распространении и расширении FreeCAD.

Использование

В корректно установленом Python интепретаторе , может быть вызвана команда fcbt

 python fbct.py

Она отобразит меню, в котором вы можете выбрать задачу которую необходимо использовать для:

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

В ответ на запрос, введите абревеатуру той команды которую вы хотите вызвать. Например введите "CM" для создания модуля.

DistSrc

Команда "DS" создать пакет исходников текущего дерева исходных текстов.

DistBin

The command "DB" creates a binary distribution of the current source tree.

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