svgpathtools icon indicating copy to clipboard operation
svgpathtools copied to clipboard

A collection of tools for manipulating and analyzing SVG Path objects and Bezier curves.

Results 74 svgpathtools issues
Sort by recently updated
recently updated
newest added

Hey everyone! I'm currently having a problem with this libary where CubicBezier curves when turned into poly1d sometimes end up being linear or end in other garbage. This is the...

I would like to generate svg files from scratch, without loading file from the hdd. Is it possible with this lib to create new/empty paths, attributes, svg_attributes? I only need...

Format the floating point numbers output by `Path.d` to avoid a bunch of .x0000000000001 and .x999999999999 noise. Fixes https://github.com/mathandy/svgpathtools/issues/223. Changed behavior: - Numbers with small errors introduced by their floating...

Example ``` import svgpathtools d = "M70.63,10.42c0.11,0.33-0.89,2.09-1.54,2.45c-4.95,2.73-17.52,7.24-39.46,11.04" # path from KanjiVG p = svgpathtools.parse_path(d) # some kind of simple path modification not yet implemented print(p.d()) ``` outputs ``` M 70.63,10.42...

This PR contains a minor bugfix for parsing rounded rectangles. When calling `rect2pathd` through the `Document` class, the passed in `Element` instance did not directly expose its `rx` and `ry`...

Thanks for this great library! I was playing with rotated ellipses and noticed a bug in how the rotation angle is extracted from the transform function. Essentially, `arccos` wasn't computing...

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...

Fixes [#232](https://github.com/mathandy/svgpathtools/issues/232) Some GPU does not have 'arc' so we can use cubic bezier for such case. When GPU does not support 'arc' command Circle can be rendered using 2...

While testing with NXP IMXRT device we find some issue in svgpath tools. - Some GPU does not have 'arc' so we can use cubic bizen for such case. -...

There are some improvements in svg_to_paths.py which we want to upstream. 1) ellipse2pathd Use 'cubic' curve to draw ellipse/circle. 'arc' is not supported on all platforms. 2) polyline2pathd - Handle...