Both of the OP's SVGs open fine on my machine. Karmic (9.10), HeeksCAD
r1071.
Maybe a bug specific to Intrepid (8.10)?
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
I am having issues importing an svg as well. I am running ubuntu 10.04 and
have just built the most recent git repository. The svg was made in
inkscape, and to see if it helped I have cut out as much other stuff as
possible.
With some more playing the problem seems to be parsing the <path tag, as
squares and ellipses import fine, but paths get confused and they seem to
get very confused.
Attachments:
Boat race CNC.svg 1.6 KB
bad_import.png 115 KB
I think the issue might be that inside the path there are various commands
like M,L,C etc and inkscape seems to write svgs assuming that the second
point is a lineto if not told otherwise, and that the commands are for all
subsequent numbers until you reach another letter. Looking at svg.cpp I
don't think it can cope with this...
eg
inkscape says
<path
id="path3777"
d="m 531.49606,609.44866 -177.15625,248.03125 0,70.875
1629.90629,0 0,-70.875 -177.1562,-248.03125 -71.5,0 c -9.2989,137.60772
-124.4362,246.375 -265.125,246.375 -140.6889,0 -255.8262,-108.76728
-265.1251,-246.375
and it seems to import ok if I change it to
<path
id="path3777"
d="m 531.49606,609.44866 l -177.15625,248.03125 l 0,70.875 l
1629.90629,0 0,-70.875 l -177.1562,-248.03125 l -71.5,0 c -9.2989,137.60772
-124.4362,246.375 c -265.125,246.375 -140.6889,0 c -255.8262,-108.76728 c
-265.1251,-246.375