<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Importing SVG: // Error: Unexpected number of points for SVG path. in Maya Modeling Forum</title>
    <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6025415#M23283</link>
    <description>&lt;P&gt;I had the same problem which is how I found this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that 'Importing' the .svg failed, but ctl-c'ing the shape in Illustrator and using the 'Paste' option in Maya worked.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2016 06:03:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-05T06:03:07Z</dc:date>
    <item>
      <title>Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/5959870#M23279</link>
      <description>&lt;P&gt;I've just started importing svg files from Inkscape: &amp;nbsp;I can make as many simple squares as I want, and they'll import just fine. &amp;nbsp;But if I do anything remotely more complex, like a simple scribble with the calligraphic brush (with say 10 points total), or a simply polygon with the freehand tool, I get this error on import:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Error: Unexpected number of points for SVG path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something seems seriously amiss. Any thoughts? &amp;nbsp;I've attached a simple 5-sided polygon that gives me this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2016 ext1 sp4, OSX 10.10.5&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 03:54:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/5959870#M23279</guid>
      <dc:creator>warpcat</dc:creator>
      <dc:date>2015-12-21T03:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/5961504#M23280</link>
      <description>&lt;P&gt;FWIW, I tried your file in Ext1 Sp5 and got the same result. Not sure what's going on there, but I find error messages like that quite entertaining. It makes you want to ask "Well, how many points were you expecting?"&lt;/P&gt;
&lt;P&gt;(I actually got an error message while doing something else today that said "This shouldn't happen." I have no idea what that was about, and it didn't seem to cause a problem.)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 05:16:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/5961504#M23280</guid>
      <dc:creator>pshwayka</dc:creator>
      <dc:date>2015-12-22T05:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/5962983#M23281</link>
      <description>&lt;P&gt;I agree: &amp;nbsp;I wish it said how many points it was expecting. &amp;nbsp;Right now the feature seems useless, unless I want to make everything out of squares &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Autodesk, you there?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 06:41:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/5962983#M23281</guid>
      <dc:creator>warpcat</dc:creator>
      <dc:date>2015-12-23T06:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/5967775#M23282</link>
      <description>&lt;P&gt;It appears there is zero traction on this, but doing a bit more digging, it appears&amp;nbsp;that it's the svgToPoly node itself that is failing. &amp;nbsp;Running this mel will trigger it when pointing to an 'invalid' svg:&lt;/P&gt;&lt;P&gt;setAttr svg1.svgFilepath -type "string" "c:/path/to/my/file.svg"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've done tests: &amp;nbsp;Simple primitive circles and squares will read in fine, any numer of them. &amp;nbsp;But if I create a three point triangle with the pencil tool, it'll trigger this. &amp;nbsp;Or making a hexagon primitive: &amp;nbsp;Fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 23:26:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/5967775#M23282</guid>
      <dc:creator>warpcat</dc:creator>
      <dc:date>2015-12-29T23:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6025415#M23283</link>
      <description>&lt;P&gt;I had the same problem which is how I found this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that 'Importing' the .svg failed, but ctl-c'ing the shape in Illustrator and using the 'Paste' option in Maya worked.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 06:03:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6025415#M23283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-05T06:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6030005#M23284</link>
      <description>&lt;P&gt;Yuuup, hit the same problem. Dug around a bit and it seems like the SVG import only manages files that have straight lines in them. SVG uses commands like "M30,30" (moveTo x30,y30) and "v400" (vertical line from current point to +x400). Any time there is something like "c40,-30" that tells Maya to draw a curve it just&amp;nbsp;results in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Error: Unexpected number of points for SVG path." (Script Editor)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"API error detected in S:\Maya_2016_DI\src\Maya\src\Type\svgNode.cpp at line 218&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;: (kFailure): Unexpected Internal Failure" (Output Window)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached a couple of example files, 410.svg should work and asd.svg should fail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Illustrator&amp;nbsp;import seems to work fine though, using that as a workaround as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was excited for a smooth 2D vector --&amp;gt; 3D workflow, this is a bit of a joykill &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2016 21:38:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6030005#M23284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-08T21:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6066538#M23285</link>
      <description>&lt;P&gt;Fix: use Inkscape, Path =&amp;gt; Union&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 19:17:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6066538#M23285</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-02T19:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6225354#M23286</link>
      <description>&lt;P&gt;@Anonymous﻿&amp;nbsp;: That seems to work, thanks for the tip.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2016 22:05:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6225354#M23286</guid>
      <dc:creator>warpcat</dc:creator>
      <dc:date>2016-03-20T22:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6292115#M23287</link>
      <description>&lt;P&gt;I'm getting this same issue saving an SVG from illustrator. Using the inkscape trick doesn't appear to work I still get the same error message. It's just a simple shape and text from illustrator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some SVG export settings that has to be set for the importer to work in maya? This is really frustrating...&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 22:04:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6292115#M23287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-25T22:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6744371#M23288</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;I'm getting this same issue saving an SVG from illustrator. Using the inkscape trick doesn't appear to work I still get the same error message. It's just a simple shape and text from illustrator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some SVG export settings that has to be set for the importer to work in maya? This is really frustrating...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Make sure that you have the path selected first :&lt;/P&gt;&lt;P&gt;'Edit Paths By Nodes' tool [F2] &amp;gt; select path&lt;/P&gt;&lt;P&gt;Then Path &amp;gt; Union&lt;/P&gt;&lt;P&gt;Save as plain SVG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Anonymous&amp;nbsp;Thank you for posting this workaround.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 20:14:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/6744371#M23288</guid>
      <dc:creator>colinea1</dc:creator>
      <dc:date>2016-12-12T20:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/7023249#M23289</link>
      <description>&lt;P&gt;Error: Unexpected number of points for SVG path&lt;/P&gt;&lt;P&gt;you do this create SVG imoprt for stupid boxes? try to load map and its not working. Ai import work but SVG create not working with all&amp;nbsp;Slightly complex&amp;nbsp;&lt;SPAN&gt;drawing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maya 2016.5 and 2017 ver&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 12:33:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/7023249#M23289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-18T12:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SVG: // Error: Unexpected number of points for SVG path.</title>
      <link>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/7178520#M23290</link>
      <description>&lt;P&gt;Make sure you first, make outlines of every single object in illustrator and then save it as a plain SVG 1.1 - then it works&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 11:02:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-modeling-forum/importing-svg-error-unexpected-number-of-points-for-svg-path/m-p/7178520#M23290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T11:02:24Z</dc:date>
    </item>
  </channel>
</rss>

