import AI2OBJ script updated : 2005/7/11

The ai2obj script can read illustrator 10.0 non packed export .
http://jmsoler.free.fr/didacticiel/blender/tutor/cpl_import_ai_en.htm

just a test on an illustrator 10 example file .
in illustrator:
http://cobalt3d.free.fr/didacticiel/blender/tutor/images/python/pathsimport/ai_test/nai_cheschirecat_orig.jpg
edited curves :
http://cobalt3d.free.fr/didacticiel/blender/tutor/images/python/pathsimport/ai_test/nai_cheschirecat_poignets.jpg
in blender :
http://cobalt3d.free.fr/didacticiel/blender/tutor/images/python/pathsimport/ai_test/nimportai_cheschirecat_now.jpg

jms once again you’ve outdone yourself… thanks for another lovely and o so usefull script :wink:

PS: Oh… eh… how about export??? hehe

Also… not a point of critisism but a request… you have a lot of great scripts… but I personally find it quite hard to find them on your site since I speak very little french… would it perhaps be possible for you to add an english menu to your site??? If not or if you simply don’t want to I understand :wink:

There is yet a english index :
http://jmsoler.free.fr/didacticiel/blender/tutor/eng_index.htm

Two problems corrected on points which end and close the path
http://jmsoler.free.fr/didacticiel/blender/tutor/cpl_import_ai_en.htm
http://cobalt3d.free.fr/didacticiel/blender/tutor/images/python/pathsimport/ai_test/nclosepath01bug017.jpg
http://cobalt3d.free.fr/didacticiel/blender/tutor/images/python/pathsimport/ai_test/nclosepath02bug017.jpg

Version 0.1.7b
Little problem with S (Stroke) code which does not closepath as the s one

Version 0.1.7c :a new little change on the lineto command .

Problem :

BPy error: Callback call failed!
Traceback (most recent call last):
  File "ai2obj_017c.py.001", line 442, in fonctionSELECT
  File "ai2obj_017c.py.001", line 399, in scan_FILE
KeyError: 'F'

Sorry .

Corrected :
http://jmsoler.free.fr/didacticiel/blender/tutor/cpl_import_ai_en.htm#Version-0.1.7d

updated :
http://jmsoler.free.fr/util/blenderfile/py/ai2obj_018.py