Jump to: Board index » General » Fusion

Import SVG file

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Bertrand Drouhard

  • Posts: 9
  • Joined: Sat Jun 20, 2015 7:11 pm

Import SVG file

PostSat Jun 20, 2015 7:21 pm

Hi,

I try to import in Fusion 7.7 a SVG file that I made with illustrator. It does not work... From a new composition, File > Import > SVG : I choose the file, no errors but nothing happens !
My project is to make a morphing animation from a number to another one, like the new countdown on android 5.0. My idea was to work with a polygone which points are moving, and start from a vectored font.
Thank you for your help !
Offline
User avatar

Blazej Floch

  • Posts: 191
  • Joined: Tue Nov 11, 2014 12:48 am
  • Location: Toronto, ON

Re: Import SVG file

PostTue Jun 23, 2015 4:18 pm

The SVG should ideally be only (ideally flattened) paths.
Have you converted the Font to a path?
Also try getting rid of all groups, subgroups etc.

Edit: This might help as well (Inkscape)

http://stackoverflow.com/questions/1332 ... -svg-files
How to remove transforms in Inkscape

Open svg file in Inkscape
Go to Edit -> XML Editor
Find "transform" attributes in layers and delete them
How to move all objects altogether without creating another transform attributes

Go to Edit -> Select All in All Layers
Go to Object -> Transform

In Transform panel

Uncheck Relative move and check Apply to each object separately

Set Horizontal and Vertical values according to your needs and click Apply
Bingo

Inkscape has the option to clear the transformation data but still leave the value of the object unmodified.

In Inkscape, select the object and 'Path' menu, 'Simplify'. Now, you will have the transformations removed.

Hope it helps.
Offline

Bertrand Drouhard

  • Posts: 9
  • Joined: Sat Jun 20, 2015 7:11 pm

Re: Import SVG file

PostWed Jun 24, 2015 5:52 pm

Thank you very much Blazej, you put me on the right way!
I made a try with a green rectangle. The SVG file I get from Illstrator looks like this :
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
   <!ENTITY ns_svg "http://www.w3.org/2000/svg">
   <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
]>
<svg  version="1.1" id="Calque_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="286.714" height="202.429"
    viewBox="0 0 286.714 202.429" overflow="visible" enable-background="new 0 0 286.714 202.429" xml:space="preserve">
<path fill="#00A33D" stroke="#000000" d="M286.214,198.929c0,1.657-1.343,3-3,3H3.5c-1.657,0-3-1.343-3-3V3.5c0-1.657,1.343-3,3-3
   h279.714c1.657,0,3,1.343,3,3V198.929z"/>
</svg>


Fusion refuses to open it, no error messages, nothing...

If remove the xml definition and leave only this :

Code: Select all
<svg  version="1.1" id="Calque_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="286.714" height="202.429"
    viewBox="0 0 286.714 202.429" overflow="visible" enable-background="new 0 0 286.714 202.429" xml:space="preserve">
<path fill="#00A33D" stroke="#000000" d="M286.214,198.929c0,1.657-1.343,3-3,3H3.5c-1.657,0-3-1.343-3-3V3.5c0-1.657,1.343-3,3-3
   h279.714c1.657,0,3,1.343,3,3V198.929z"/>
</svg>


=> it works :) ! Now I have to try with a font!
This
Offline
User avatar

Blazej Floch

  • Posts: 191
  • Joined: Tue Nov 11, 2014 12:48 am
  • Location: Toronto, ON

Re: Import SVG file

PostThu Jun 25, 2015 11:17 am

I am pretty sure that this example SHOULD work.
My guess is that Fusion does not like the
Code: Select all
<!DOCTYPE
.

BMD should fix this.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 63 guests