Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SVG can't import simple O shapes?

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
2282 Views, 4 Replies

SVG can't import simple O shapes?

SVG shapes with cutouts are giving me problems when trying to import into Maya 2017. Error is:

// Error: Unexpected number of points for SVG path. //

 

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" 
xmlns:xlink="http://www.w3.org/1999/xlink" 
xml:space="preserve" 
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<path d="M960,140c220.766,0 400,179.234 400,400c0,220.766 -179.234,400 -400,400c-220.766,0 -400,-179.234 -400,-400c0,-220.766 179.234,-400 400,-400ZM959.529,226.566c163.325,0 295.923,139.795 295.923,311.983c0,172.188 -132.598,311.983 -295.923,311.983c-163.324,0 -295.923,-139.795 -295.923,-311.983c0,-172.188 132.599,-311.983 295.923,-311.983Z" style="fill:#000;"/>
</svg>

There are only eight points...

Tags (2)
4 REPLIES 4
Message 2 of 5
cornelh
in reply to: Anonymous

@Anonymous

 

With out having access to the files, it is hard to tell if this a bug, or just something wrong with the SVG file.  One option would be to cntr+C the file file in Illustrator and then use the paste from illustrator options in Maya.  This usually does the trick.  You might also have to clean up the file in illustrator, as it might have overlapping points that mess with Maya at import.  you can PM me a link to your SVG file so I  can test on my end.  Thanks

Message 3 of 5
Anonymous
in reply to: cornelh

Thanks for responding @cornelh 

The code in the original post is the svg file.

Message 4 of 5
cornelh
in reply to: Anonymous

@Anonymous

 

Sorry about me missing that.. Was a pretty busy day!  So I went ahead and did a quick video for you.. yep import doesn't work (happens on some files.. Devs. trying to figure it out, once that is done, then a fix will be implemented for a future update)  

 

Here is a video of the Copy paste from illustrator into Maya working just fine with your O shape: https://autodesk.box.com/s/usjjdmncgd5ozf8j0xip1snhtx6vyqn3

 

Good luck with your projects.  Cheers

Message 5 of 5
omar_ahmed_vc
in reply to: cornelh

This exactly worked for me, thanks

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report