mathandy / svgpathtools

A collection of tools for manipulating and analyzing SVG Path objects and Bezier curves.
MIT License
557 stars 142 forks source link

ARC Start and End Angles #226

Open aguileraGit opened 3 months ago

aguileraGit commented 3 months ago

Hello, I'm trying to "map" an SVG Arc to a 3D library (CadQuery). CadQuery is expecting slightly different parameters to draw an Arc. It specifically wants the start and end angles of the Arc. See documentation.

Is it possible to get these angles using svgpathtools? I see the documentation for the Arc, but I'm not sure if any of the values derived are the angles I'm after.

Svgpathtools Arc Documentation