3625

Inkscape to povray

作成者 Paco Garcia

svg2pov is a script for inkscape developed in python that exports svg paths to povray, the paths with stroke are exported as a series of cylinders and spheres with a radius equal to that established in the svg, the paths filled are exported as prisms objects. The border and fill color the are established in the svg file, including those with linear or radial gradients.

Inkscape Extensions

リンク
リンク元
arakne.es
作成済み
タイプ
image/jpeg
All Rights Reserved ((C))

リンク

Jabiertxo Arraiza Cenozさんがに投稿:

Also no download

Torvalaarさんがに投稿:

There seems to be an error on saving as "Povray Output" at least using latest Inkscape version,

"Traceback (most recent call last):
File "svg2pov.py", line 247, in <module>
e.affect()
File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 268, in affect
self.effect()
File "svg2pov.py", line 138, in effect
h = inkex.unittouu(docRoot.xpath('@height',namespaces=inkex.NSS)[0])
AttributeError: 'module' object has no attribute 'unittouu'
"

When using "Only paths and shapes" it seems to work right.

brynnさんがに投稿:

Jabiertxo, assuming you're looking to download the extension... Follow the outlink ("Link") (under copyright icon). Download ZIP file is near the bottom, between the video and comment form.

Maren Hachmannさんがに投稿:

If anyone needs this:
Try if it works when you replace

h = inkex.unittouu(docRoot.xpath('@height',namespaces=inkex.NSS)[0])

by

h = self.unittouu(docRoot.xpath('@height',namespaces=inkex.NSS)[0])

see http://wiki.inkscape.org/wiki/index.php/Release_notes/0.91#Units:_Breaking_change for more info.

Nishandh Mayiladanさんがに投稿:

Found these downloadable versions here, from the author (I am yet to use ) :

http://www.arakne.es/svg2pov-nueva-version-exporta-como-lathe/

There are download links for version 1 and 2 also, but all these appears to be first published in year 2016

Thanks to the author for the efforts !

コメントするにはログインしてください!