Difference between revisions of "Fcstd file format"

From FreeCAD Documentation
Jump to navigation Jump to search
(Marked this version for translation)
(Consolidated into "File Format FCStd")
Line 1: Line 1:
Information from here has moved to [[File_Format_FCStd]].
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.
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.
This is the [[File_Format_FCStd|structure of a typical fcstd]] file:
==Contents of a .fcstd file== <!--T:5-->
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]].
[[Category:User Documentation]]

Revision as of 03:01, 6 April 2015

Information from here has moved to File_Format_FCStd.