[Bf-python] svg2obj script.
Campbell Barton
cbarton at metavr.com
Fri Mar 30 02:42:27 CEST 2007
jmsoler at free.fr wrote:
> http://jmsoler.free.fr/util/blenderfile/py/svg2obj_059a.py
>
> jms
Hi, JMS code is much better now.
small change in functionality is needed.
* Import into the current visible layer. (scn.objects.new does this by
default) - users expect the data will be imported into a visible layer.
* Deselect the existing selection scn.objects.selected = [] # is the
fastest way
* Select the new object(s)
* use scene.objects.link(ob) instead of scn.link (prints deprecation
warning at the moment.)
More information about the Bf-python
mailing list