1

Is it possible to convert higher order Bézier curves to piecewise cubic Bézier curves in Inkscape?

  • 2
    As far as I know and according to a brief search, neither Inkscape nor any other graphics program does supports Bézier curves of orders higher than three (cubic) at all. What makes you think that Inkscape could be able to do this? And why are you interested in this feature? – Wrzlprmft Apr 7 '15 at 19:56
  • jThis question could be better suited to computer graphics.SE. @Wrzlprmft This kond of thing happens in data fitting and engineering applications. – joojaa Sep 9 '15 at 4:59
1

You should look over this question on StackOverflow.com: https://stackoverflow.com/questions/30419726/simplify-high-order-bezier-curve

Now... as far as supporting higher-order curves in inkscape, Wrzlprmft is right. SVG path data only has commands for orders of the 2nd and 3rd order.

You could, in theory, build a path effect with python that pretends that a set of points are all control points of a single curve, then go through the trouble of sub-dividing that curve into cubic and quadratic curves.

http://wiki.inkscape.org/wiki/index.php/Script_extensions

I would encourage you to crack open Inkscape to view the path effect python files that already exist to use as guidance. And be prepared to be frustrated. It's a long road.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.