Hello to all.
I know some Python and I am able to use inkscape develop curve BSpline. The Spyro curbas are fine for artistic themes but the BSpline give greater accuracy with less work. Not quite where to begin. I have the mathematical formula for creating splines that I got Internet, I have always worked with programs in script and not much to compile C or anything Can you help me with the first / ... steps?
Greetings from Pamplona. Sorry for my English.
Hi Jabier,
An extension to draw BSpline curves sounds good, but how do you plan on storing these curves in SVG format? SVG only supports quadratic and cubic Bézier curves, and Inkscape only cubic Béziers. Therefore I guess you should store the BSpline curve as a group of Bézier curves (I assume you know that a BSpline can be described as a piecewise Bézier curve).
Therefore, a cubic BSpline curve should be the easiest. A quadratic one is also possible, but you would have to degreeelevate these quadratic Béziers to cubic Béziers. Higher order doesn't seem to be possible.
Regarding the formula/expression for BSplines, I take it that you mean the CoxdeBoor recurrence relation?
Do you plan on supporting any knotvector, or only uniform ones that are closed (i.e. repetitive knots at the start and end)? Also, NURBS (NonUniform Rational BSpline) don't seem to be possible at the moment (no support for rational curves, at least not yet).
Furthermore, the Inkscape forum would also be a good place to discuss this. Looking forward to any progress!
Best regards, Pieter
On Sun, 02 Sep 2012 11:24:23 +0200 Jabiertxo Arraiza Cenoz <jabier.arraiza@...2893...> wrote:
Hello to all.
I know some Python and I am able to use inkscape develop curve BSpline. The Spyro curbas are fine for artistic themes but the BSpline give greater accuracy with less work. Not quite where to begin. I have the mathematical formula for creating splines that I got Internet, I have always worked with programs in script and not much to compile C or anything Can you help me with the first / ... steps?
Greetings from Pamplona. Sorry for my English.
Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Inkscapedevel mailing list Inkscapedevel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscapedevel
participants (2)

Jabiertxo Arraiza Cenoz

Pieter Barendrecht