Exporteur SVG de FreeStyle¶
L’export SVG pour FreeStyle est disponible via un add-on.
An example of a SVG result produced by the Freestyle SVG Exporter.
This add-on can be enabled via .svg
file is written to the default output path
.
Options¶
Reference

Panneau de Freestyle SVG Export.
- Mode
Option entre Frame et Animation. Frame va faire le rendu d’une seule frame, Animation va rassembler toutes les frames rendues dans un seul fichier
.svg
.- Split at Invisible
- By default the exporter will not take invisible vertices into account and export them like they are visible. Some stroke modifiers, like Blueprint, mark vertices as invisible to achieve a certain effect. Enabling this option will make the paths split when encountering an invisible vertex, which leads to a better result.
- Fill Contours
Le contour des objets est rempli avec leur couleur de matériau.
Note
This feature is somewhat unstable – especially with animations.
- Stroke Cap Style
Defines the style the stroke caps will have in the SVG output.
- Mitter
- Corners with sharp edges.
- Round
- Corners are smoothed.
- Bevel
- Corners are beveled.
Propriétés exportables¶
Reference
Parce que la représentation des traits FreeStyle et celle des objets chemins SVG sont fondamentalement différentes, une traduction one-on-one entre FreeStyle et SVG n’est pas possible. Le principal défaut de SVG comparé à FreeStyle est que FreeStyle définit le style par point, là où SVG le définit par chemin. Ceci signifie que FreeStyle peut produire des résultats beaucoup plus complexes qui sont impossibles à obtenir dans SVG.
There are extended options for the exporter, located at the specific panels of the Freestyle renderer at the Render Layers tab of the Properties editor. Those options are located at the Freestyle Line Style SVG Export panel, at the bottom of the tab.
The properties (no modifiers applied) that can be exported are:
- Base color
- Base alpha
- Base thickness
- Dashes
Animations¶
The exporter supports the creation of SVG animations. When the Mode is set to Animation, all frames from a render –
one when rendering a frame (F12
)
or all when rendering an animation (Shift-F12
) – are saved into a single file.
Most modern browsers support the rendering of SVG animations.
Une animation SVG rendue avec l’exporteur.
Exporting Fills¶
Les Fills sont des zones colorées extraites du résultat de rendu FreeStyle. Spécifiquement, ils sont définis par une combinaison de type de bord Contour et External Contour, combinée avec quelques prédicats. Le résultat de Fill peut être inattendu, quand le renderer SVG ne peut pas correctement dessiner le chemin que l’exporteur a généré. Ce problème est très apparent dans les animations.
un exemple de résultat .svg produit par l’Exporteur SVG de FreeStyle. Modèle de Julien Deswaef.
Fills support holes and layering. When using layers, the exporter tries to render objects with the same material as the patch. The exporting of fills and especially the order in which they are layered is by no means perfect. In most cases, these problems can be easily solved in Inkscape or a text editor.