addam / Export-Paper-Model-from-Blender

Python addon for creating paper models in Blender (development version)
https://blenderartists.org/t/export-paper-model/476597
406 stars 54 forks source link

Image in SVG file is out of paper #23

Closed mond-cz closed 8 years ago

mond-cz commented 13 years ago

When I open exported SVG file, image with UV map is placed totally out of paper, in a left upper corner of working place. It's a small thing . . . (Tested in Illustrator CS5)

addam commented 13 years ago

I've never encountered such problem. Could you please try and open the same file in Inkscape? I'd definitely like to fix this issue; Illustrator is a piece of software I can't ignore ;)

mond-cz commented 13 years ago

Inkscape place image to a centre of paper, Illustrator doesn't (I tried it several times with the same result). Thanks for your listening.

comac2k commented 8 years ago

I've done some tests using both inkscape and illustrator cs6 and three different versions of the script:

Both "stable" and "prepull" throw errors when trying to export in "single linked" mode (I'm using blender 2.76). After fixing them, they would generate a tiny background image invisible both in inkscape and illustrator. The inkscape screenshots show this image selected in the XML editor. Its size is 0.287 x 0.2 milimeters.

"Postpull" version runs without errors and generates an SVG file that opens and displays properly both in inkscape and illustrator.

In short: I don't know what happened before, but right now, on current blender versions, the script version on github master seems to be working just fine for both inkscape and illustrator.

Inkscape "stable": inkscape_stable

Inkscape "prepull": inkscape_prepull

Inkscape "postpull": inkscape_postpull

Illustrator "stable": illustrator_stable

Illustrator "prepull": illustrator_prepull

Illustrator "postpull": illustrator_postpull

addam commented 8 years ago

Wow, great! Comac2k, I owe you a lolcat of awesomenezz for dealing with this issue.