4
Name: 'Paths (.svg, .ps, .eps, .ai, Gimp)'
7
Submenu: 'Gimp 1.0 - 1.2.5' Gimp_1_0
8
Submenu: 'Gimp 2.0' Gimp_2_0
9
Submenu: 'Illustrator (.ai) PS-Adobe-2.0' AI
10
Submenu: 'InkScape (.svg)' SVG
11
Submenu: 'Postscript (.eps/.ps) PS-Adobe-2.0' EPS
12
Tip: 'Import a path from any of a set of formats (still experimental)'
15
__author__ = "Jean-Michel Soler (jms)"
16
__url__ = ("blender", "elysiun",
17
"AI importer's homepage, http://jmsoler.free.fr/didacticiel/blender/tutor/cpl_import_ai.htm",
18
"Communicate problems and errors, http://www.zoo-logique.org/3D.Blender/newsportal/thread.php?group=3D.Blender")
22
Paths Import imports paths from a selection of different formats:
24
- Gimp 1.0 -> 1.2.5;<br>
26
- AI PS-Adobe 2.0;<br>
31
Run the script from "File->Import", select the desired format from the
32
pop-up menu and select the file to open.
35
If the imported curve looks "messy", you may need to enter edit mode with the imported curve selected and toggle cyclic mode for it, by selecting all its points and pressing "c" or using the Curve menu in the 3d view header.
38
#----------------------------------------------
39
# (c) jm soler juillet 2004, released under Blender Artistic Licence
40
# for the Blender 2.34 Python Scripts Bundle.
41
#----------------------------------------------
45
argv=__script__['arg']
56
elif argv=='Gimp_1_0':
57
from gimp2obj import *
59
elif argv=='Gimp_2_0':
62
text = 'Import %s' % argv
63
Blender.Window.FileSelector (fonctionSELECT, text)