The scripts of the group "import Paths"
are still in an experimental stage and do not always give the expected
results. The word "Path" has not been chosen at random, that's
really the only thing that is managed within the limits of the technical
abilities of the Bézier's curves managed by Blender.
This source file, wich is located in .Blender/scripts directory, can cause a misunderstanding. If you try to launch it the usual way, that is to say "loading it in the text window" and doing "alt-p", you will obtain an error signaling that the variable "fonctionSELECT" can not be found. And indeed, this variable is located into the modules "svg2obj.py, ai2obj.py, eps2obj.py", thus gimp2obj.py and paths_import.py are only used to call them according to the user choice. To do so, you have to go through the sub-menu Scripts/Import/Paths that you can find in the scripts window.
For all the scripts, if you want them to appear in the Blender menus, their headers must begin with those five characters :
This expression tells the python's API that everything that comes after, within the space defined by triple inverted commas
must be interpreted as a layout for a menu's hierarchy.
Submenu is optional and must be followed by a first free text that will appear within the menu and a second one that will be given to the script as if it was an argument in command line (look at the python documentation concerning the sys module and the argv property).
As it is indicated above, the modified script must be saved in the .blender/scripts directory .
Les questions concernant cette page
peuvent être posées sur :