FreeCAD Build Tool: Difference between revisions
Renatorivo (talk | contribs) (Marked this version for translation) |
(Module_Creation -> Workbench_creation) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
<translate> |
<translate> |
||
<!--T: |
<!--T:15--> |
||
{{Docnav |
|||
|[[Testing|Testing]] |
|||
|[[Continuous_Integration|Continuous Integration]] |
|||
}} |
|||
</translate> |
|||
{{TOCright}} |
|||
<translate> |
|||
==Overview== <!--T:1--> |
|||
The '''FreeCAD build tool''' or '''fcbt''' is a python script located at |
The '''FreeCAD build tool''' or '''fcbt''' is a python script located at |
||
</translate> |
</translate> |
||
{{Code|code= |
|||
<syntaxhighlight> |
|||
trunc/src/Tools/fcbt.py |
|||
}} |
|||
</syntaxhighlight> |
|||
<translate> |
<translate> |
||
<!--T:2--> |
<!--T:2--> |
||
Line 13: | Line 25: | ||
With [[wikipedia:Python (programming language)|Python]] correctly installed, ''fcbt'' can be invoked by the command |
With [[wikipedia:Python (programming language)|Python]] correctly installed, ''fcbt'' can be invoked by the command |
||
</translate> |
</translate> |
||
{{Code|code= |
|||
<syntaxhighlight> |
|||
python fbct.py |
|||
}} |
|||
</syntaxhighlight> |
|||
<translate> |
<translate> |
||
<!--T:4--> |
<!--T:4--> |
||
It displays a menu, where you can select the task you want to use it for: |
It displays a menu, where you can select the task you want to use it for: |
||
</translate> |
</translate> |
||
{{Code|code= |
|||
<syntaxhighlight> |
|||
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 (Workbench) in the module directory |
|||
For help on the modules type: |
|||
fcbt <command name> ? |
|||
}} |
|||
</syntaxhighlight> |
|||
<translate> |
<translate> |
||
<!--T:5--> |
<!--T:5--> |
||
At the input |
At the input prompt enter the abbreviated command you want to call. For example type "CM" for [[Workbench_creation|creating a module]]. |
||
=== DistSrc === <!--T:6--> |
=== DistSrc === <!--T:6--> |
||
The command "DS" |
The command "DS" '''creates a source distribution''' of the current source tree. |
||
=== DistBin === <!--T:7--> |
=== DistBin === <!--T:7--> |
||
The command "DB" |
The command "DB" '''creates a binary distribution''' of the current source tree. |
||
=== DistSetup === <!--T:8--> |
=== DistSetup === <!--T:8--> |
||
The command "DI" |
The command "DI" '''creates a setup distribution''' of the current source tree. |
||
=== DistSetup === <!--T:9--> |
=== DistSetup === <!--T:9--> |
||
The command "DUI" |
The command "DUI" '''creates a user setup distribution''' of the current source tree. |
||
=== DistAll === <!--T:10--> |
=== DistAll === <!--T:10--> |
||
Line 56: | Line 68: | ||
=== NextBuildNumber === <!--T:11--> |
=== NextBuildNumber === <!--T:11--> |
||
The "NBN" command |
The "NBN" command '''increments the build number''' to create a new release version of FreeCAD. |
||
=== CreateModule === <!--T:12--> |
=== CreateModule === <!--T:12--> |
||
The "CM" command [[ |
The "CM" command [[Workbench_creation|creates a new application module (Workbench)]]. |
||
<!--T:13--> |
<!--T:13--> |
||
{{Docnav |
|||
{{Docnav|Start up and Configuration|Module Creation}} |
|||
|[[Testing|Testing]] |
|||
|[[Continuous_Integration|Continuous Integration]] |
|||
<!--T:14--> |
|||
}} |
|||
⚫ | |||
</translate> |
</translate> |
||
{{Userdocnavi{{#translation:}}}} |
|||
⚫ | |||
{{clear}} |
{{clear}} |
||
⚫ |
Latest revision as of 13:08, 13 August 2021
Overview
The FreeCAD build tool or fcbt is a python script located at
trunc/src/Tools/fcbt.py
It can be used to simplify some frequent tasks in building, distributing and extending FreeCAD.
Usage
With Python correctly installed, fcbt can be invoked by the command
python fbct.py
It displays a menu, where you can select the task you want to use it for:
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 (Workbench) in the module directory
For help on the modules type:
fcbt <command name> ?
At the input prompt enter the abbreviated command you want to call. For example type "CM" for creating a module.
DistSrc
The command "DS" creates a source distribution of the current source tree.
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 (Workbench).
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub