SVG

From FreeCAD Documentation
Revision as of 21:55, 14 January 2019 by Le Loup (talk | contribs) (Created page with "Vektorbasierte Formate wie SVG sind sehr nützlich bei technischen Zeichenprogrammen wie FreeCAD, weil ein SVG-Bild ohne Form- oder Detailverlust in beliebiger Größe dargest...")


Beschreibung

Scalable Vector Graphics (SVG) ist ein Bildformat für zweidimensionale Vektorgrafiken.

Vektorbasierte Formate wie SVG sind sehr nützlich bei technischen Zeichenprogrammen wie FreeCAD, weil ein SVG-Bild ohne Form- oder Detailverlust in beliebiger Größe dargestellt werden kann. SVG-Format kann für den Ausdruck in jede gewünschte Auflösung oder in Bitmap-Formate wie PNG oder JPEG umgewandelt werden.

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.