SVG: Difference between revisions

From FreeCAD Documentation
(See also.)
m (moved templates out of translation tags)
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
Scalable Vector Graphics, or SVG, is a type of vectorized image format for two-dimensional graphics.
{{TOCright}}
<translate>


== Description == <!--T:1-->
Vector-based formats such as SVG are very useful in technical drawing programs, like FreeCAD, because an SVG image can be scaled to any size without losing its shape or amount of details. The SVG can be scaled to any required resolution and converted to [[bitmap]] formats like PNG or JPEG for printing.


<!--T:2-->
FreeCAD can read and export SVG graphics using the [[Draft SVG]] function from the [[Draft Workbench]]. They are used for many things, including symbols and icons on the interface, and for templates, for example, the [[TechDraw Templates]] can be created as SVG files with some editable text fields to be filled by the user of the [[TechDraw Workbench]].
[https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Scalable Vector Graphics] ('''SVG''') is a type of vectorized image format for two-dimensional graphics.


<!--T:3-->
Vector-based formats such as SVG are very useful in technical drawing programs, like FreeCAD, because an SVG image can be scaled to any size without losing its shape or amount of details. The SVG can be scaled to any required resolution and converted to [[bitmap|'''bitmap''']] formats like '''PNG''' or '''JPEG''' for printing.

<!--T:4-->
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.
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.


==Usage== <!--T:5-->
See [https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Scalable Vector Graphics].

<!--T:6-->
FreeCAD can read and export SVG graphics using the [[Draft SVG|'''Draft SVG''']] function from the [[Image:Workbench_Draft.svg|24px]] [[Draft Workbench|Draft]] Workbench. SVG files are used for many things, including symbols and icons on the graphical user interface, and for templates.
: For example, the [[Image:Workbench_TechDraw.svg|24px]] [[TechDraw Workbench|TechDraw]] workbench [[TechDraw Templates|templates]] can be created as SVG files with some editable text fields that the user can fill in.

<!--T:7-->
FreeCAD is primarily a 3D modeling application, and thus doesn't have many 2D drawing tools, which are mostly included in the [[Image:Workbench_Draft.svg|24px]] [[Draft Workbench|Draft]] and [[Image:Workbench_Sketcher.svg|24px]] [[Sketcher Workbench|Sketcher]] workbenches. To exclusively create 2D shapes, and produce SVG files, there are alternative programs like [https://en.wikipedia.org/wiki/Inkscape Inkscape].


</translate>
[[Category:User Documentation]]
[[Category:Draft{{#translation:}}]]
[[Category:TechDraw{{#translation:}}]]
[[Category:Formats{{#translation:}}]]
{{Userdocnavi{{#translation:}}}}

Revision as of 23:57, 21 February 2020

Description

Scalable Vector Graphics (SVG) is a type of vectorized image format for two-dimensional graphics.

Vector-based formats such as SVG are very useful in technical drawing programs, like FreeCAD, because an SVG image can be scaled to any size without losing its shape or amount of details. The SVG can be scaled to any required resolution and converted to bitmap formats like PNG or JPEG for printing.

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.

Usage

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 in.

FreeCAD is primarily a 3D modeling 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.