Fcstd file format: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(Consolidated into "File Format FCStd")
Line 1: Line 1:
Information from here has moved to [[File_Format_FCStd]].
<translate>
<!--T:1-->
The '''FreeCAD Standard file format''' (.fcstd) is FreeCAD's main file format. It is a compound format, supports compression and embedding of different kinds of data.

<!--T:2-->
A .fcstd file is in truth nothing else than a .zip file containing .xml files and data files. The .xml files organize the structure of the saved document and how the other data files must be used. In fact, you can always rename a .fcstd file with the .zip extension and open it with any zip application.

<!--T:3-->
This is the [[File_Format_FCStd|structure of a typical fcstd]] file:
</translate>
<syntaxhighlight>
--File.fcstd
|
--Document.xml
--GuiDocument.xml
|
--Thumbnails
|
--thumbnail.png
|
--Templates
|
--MyPage.svg
--Shape1.brep
--Shape2.brep
--etc...
</syntaxhighlight>
<translate>


<!--T:4-->
[[Image:Splash013.jpg|500px|center]]

==Contents of a .fcstd file== <!--T:5-->
===Document.xml===
This is the main xml file describing all the objects inside a FreeCAD document, that is, only the geometric and parametric definition of the objects, not their visual representation. If FreeCAD is ran in console mode (without the GUI), only this xml document will be used.

===GuiDocument.xml=== <!--T:6-->
This is the GUI counterpart of the Document.xml file. For each object described in the Document.xml, there is one corresponding object in GuiDocument.xml, describing the visual representation of that object (color, linewidth, etc).

===Thumbnails/thumbnail.png=== <!--T:7-->
This is a 128x128 pixels thumbnail image of the document, which is a screenshot of the 3D view at save time. Thumbnails are generated only if the corresponding option is enabled in the FreeCAD preferences.

===Templates/*.svg=== <!--T:8-->
In the Templates folder are stored the template svg files used in [[Drawing Module|Drawing]] pages.

===*.brep=== <!--T:9-->
These are the .brep shapes of all objects that have a Part shape in the Document.xml. Each object, even if it is parametric, has its shape stored as an individual .brep file, so it can be accessed by components without the need to recalculate the shape.

==Other== <!--T:10-->
Here, a file Converter utility [[ImageConv|ImageConv]].


<!--T:11-->
[[Category:User Documentation]]
</translate>
{{clear}}
<languages/>

Revision as of 03:01, 6 April 2015

Information from here has moved to File_Format_FCStd.