Fcstd file format/it: Difference between revisions

From FreeCAD Documentation
(Created page with "===GuiDocument.xml=== Questa è la controparte GUI del file document.xml. Per ogni oggetto descritto nel document.xml, c'è un corrispondente oggetto in GuiDocument.xml il q...")
(Redirected page to File Format FCStd/it)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[File_Format_FCStd/it]]
Il '''Formato nativo dei file di FreeCAD''' (FreeCAD Standard file format) .fcstd è il formato principale dei file di FreeCAD. Si tratta di un formato composto che supporta la compressione e l'incorporamento di diversi tipi di dati.

Un file .fcstd, in realtà, non è altro che un file .zip contenente dei file .xml e dei file di dati.

I file .xml organizzano la struttura del documento salvato e gestiscono i file contenenti i dati.

Si può sempre rinominare un file .fcstd con l'estensione .zip e aprirlo con qualsiasi gestore di archivi compressi.

Questa è la [[File_Format_FCStd/it|struttura di un tipico file fcstd]]:
<syntaxhighlight>
--File.fcstd
|
--Document.xml
--GuiDocument.xml
|
--Thumbnails
|
--thumbnail.png
|
--Templates
|
--MyPage.svg
--Shape1.brep
--Shape2.brep
--etc...
</syntaxhighlight>


[[Image:Splash013.jpg|500px|center]]

==Contenuto di un file .fcstd==

===Document.xml===

Questo è il file xml principale che descrive tutti gli oggetti contenuti in un documento di FreeCAD.

Descrive solo la definizione geometrica e parametrica degli oggetti, ma non la loro rappresentazione visiva.

Se FreeCAD viene eseguito in modalità console (senza GUI), viene utilizzato solo questo documento xml.

===GuiDocument.xml===

Questa è la controparte GUI del file document.xml.

Per ogni oggetto descritto nel document.xml, c'è un corrispondente oggetto in GuiDocument.xml il quale descrive la rappresentazione visiva di quell'oggetto (colore, larghezza di riga, ecc.)

===Thumbnails/thumbnail.png===
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===
In the Templates folder are stored the template svg files used in [[Drawing Module|Drawing]] pages.

===*.brep===
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==
Here, a file Converter utility [[ImageConv|ImageConv]].


[[Category:User Documentation]]
{{clear}}
<languages/>

Latest revision as of 20:14, 6 April 2015