I'd like to use Inkscape as a level editor.
What would be good resources to get started writing a python exporter ?
Particularly, what functions would I use to sample Bezier curves into a finite set of points ?
(I figures it'd be easier to write a python exporter than a .svg parser. I might be wrong though)
Thanks !
Sample curves in python exporter
-
- Posts: 626
- Joined: Wed Jun 06, 2007 2:37 am
Re: Sample curves in python exporter
Just posted an extension that exports the points from curves:
viewtopic.php?f=5&t=8826#p31912
although I based it on code from
http://jumpnslide.tumblr.com/
viewtopic.php?f=5&t=8826#p31912
although I based it on code from
http://jumpnslide.tumblr.com/
Re: Sample curves in python exporter
Ah thanks that would be a good start.
But in the meantime I've found a AS3 svg parser that supports curves
http://www.ezqueststudios.com/blog/box2 ... er-curves/
But in the meantime I've found a AS3 svg parser that supports curves
http://www.ezqueststudios.com/blog/box2 ... er-curves/