Draft SVG: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{GuiCommand|Name=Draft_SVG|Workbenches=[[Draft Module|Draft]]|MenuLocation=Draft -> Open/Import}} |
{{GuiCommand|Name=Draft_SVG|Workbenches=[[Draft Module|Draft]]|MenuLocation=Draft -> Open/Import}} |
||
[[Image:Screenshot inkscape.jpg]] |
|||
====Opening==== |
====Opening==== |
||
Line 26: | Line 28: | ||
====Preferences==== |
====Preferences==== |
||
The following parameters can be specified in the Draft Preferences tab (menu Edit -> Preferences -> Draft): |
The following parameters can be specified in the [[Draft Preferences]] tab (menu Edit -> Preferences -> Draft): |
||
* Import style: This lets you choose the way objects from the svg file will be drawn in FreeCAD. You can choose between: |
* Import style: This lets you choose the way objects from the svg file will be drawn in FreeCAD. You can choose between: |
||
** None: this is the faster way, there is no conversion, all objects will be black with 2px width (FreeCAD default) |
** None: this is the faster way, there is no conversion, all objects will be black with 2px width (FreeCAD default) |
Revision as of 21:45, 25 April 2009
Draft_SVG |
Menu location |
---|
Draft -> Open/Import |
Workbenches |
Draft |
Default shortcut |
None |
Introduced in version |
- |
See also |
None |
Opening
This function imports SVG files as workable 2D objects, in opposition to the built-in drawing module which imports svg files as sheet drawings. The following SVG objects get imported at the moment:
- PATH objects with M, C, L or A commands
- RECT objects
Importing
Works the same way as opening but creates the objects in the active document instead of creating anew one.
Exporting
The following objects can be exported in an SVG file:
- Lines and wires (polylines)
- Arcs and circles
- Faces
- Texts
Keep in mind that SVG is a 2D format, so all Z information will be disregarded (all objects will be flattened).
Preferences
The following parameters can be specified in the Draft Preferences tab (menu Edit -> Preferences -> Draft):
- Import style: This lets you choose the way objects from the svg file will be drawn in FreeCAD. You can choose between:
- None: this is the faster way, there is no conversion, all objects will be black with 2px width (FreeCAD default)
- Use default color and linewidth: All imported objects will take current linewidth/color from the draft command bar
- Original color and linewidth: Objects will keep the color and linewidth (if specified) they have in the svg file