SVG

From FreeCAD Documentation
Revision as of 14:25, 24 November 2019 by Renatorivo (talk | contribs) (Created page with "I formati vettoriali come SVG sono molto utili nei programmi di disegno tecnico, come FreeCAD, perché un'immagine SVG può essere ridimensionata a qualsiasi dimensione senza...")


Descrizione

Scalable Vector Graphics (SVG) è un tipo di formato di immagine vettoriale per la grafica bidimensionale.

I formati vettoriali come SVG sono molto utili nei programmi di disegno tecnico, come FreeCAD, perché un'immagine SVG può essere ridimensionata a qualsiasi dimensione senza perdere la sua forma o la quantità di dettagli. Il formato SVG può essere ridimensionato in base a qualsiasi risoluzione richiesta e convertito in formati bitmap come PNG o JPEG per la stampa.

The SVG image is described in an XML-type language, which means that it can be opened and edited with a simple text editor to make changes. Due to its text-based nature, the file can also be searched, indexed, and compressed easily. This SVG markup language is an open standard developed by the World Wide Web Consortium (W3C) since 1999. This means that an SVG file should be read and interpreted in the same way by compliant viewers and drawing applications.

How to use

FreeCAD can read and export SVG graphics using the Draft SVG function from the Draft Workbench. SVG files are used for many things, including symbols and icons on the graphical user interface, and for templates. For example, the TechDraw Workbench templates can be created as SVG files with some editable text fields that the user can fill.

FreeCAD is primarily a 3D modelling application, and thus doesn't have many 2D drawing tools, which are mostly included in the Draft and Sketcher Workbenches. To exclusively create 2D shapes, and produce SVG files, there are alternative programs like Inkscape.