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

As reported in #24, paths written using the `wsvg` and `disvg` methods are not including the closing `Z` command for each path segment that shares the same start/stop point location....

The warning shows up when I tried to read the following drawing: https://www.dropbox.com/s/3falsd2jitiy79a/4770.svg?dl=0 Procedure to reproduce: ``` from svgpathtools import svg2paths paths, path_attrs = svg2paths('4770.svg', return_svg_attributes=False) for path_id, path in...

I'm seeing this problem on the current tip of master, ae42197d1096fb1d78526e542db3e0a7fffe0790. ~~~~~ from svgpathtools.path import * p = Path(Arc(start=(106.58928+132.95833j), radius=(40.82143+83.910713j), rotation=0.0, large_arc=False, sweep=True, end=(74.472411+214.93917j)), Arc(start=(74.472411+214.93917j), radius=(40.82143+83.910713j), rotation=0.0, large_arc=False, sweep=True, end=(28.658655+167.9207j)),...

Hello, I have an svg with viewbox(0,0,612,792) . bbox on any path elements gives complex numbers .Is there a way to convert them into coordinates with respect to top left...

I found that there is a memory leak for function `CubicBezier.length()`. The test code is below: ``` for i in range(10000): paths, _, _ = svg2paths2(file) seg = paths[1][0] if...

Hi, A Path object contain for example : > CubicBezier(start=(27.080179592571874+157.03434674518752j), control1=(27.61140677353281+155.774203506625j), control2=(28.261543320386714+154.57737991657814j), end=(29.016691803786323+153.45777340439065j)), CubicBezier(start=(29.016691803786323+153.45777340439065j), control1=(29.771840287185935+152.33816689220313j), control2=(30.632000707131247+151.295777457875j), end=(31.583275634274997+150.34450253075j)), CubicBezier(start=(31.583275634274997+150.34450253075j), control1=(32.53455056141875+149.393227603625j), control2=(33.57693999576094+148.53306718370314j), end=(34.696546507954295+147.77791870032814j)), CubicBezier(start=(34.696546507954295+147.77791870032814j), control1=(35.81615302014765+147.02277021695315j), control2=(37.01297661019218+146.37263367012503j), end=(38.27311984874062+145.8414064891875j)), CubicBezier(start=(38.27311984874062+145.8414064891875j), control1=(39.53326308728906+145.31017930824999j), control2=(40.8567259743414+144.89786149320312j), end=(42.229611080550384+144.61835047339065j)), CubicBezier(start=(42.229611080550384+144.61835047339065j),...

## Description During my recent work with this library, I encountered an issue related to the calculation of bounding boxes for certain cubic Bezier curves. This problem appeared to stem...

I needed intersections code from this project, and beyond being a bit slow, it also has some issues with being a bit in accurate and not dealing with things like...

As described on the README, "these parameterizations are defined over the domain 0

This approach determines intersections of two Quadratic Bezier curves by directly solving the parametric equations for Cartesian coordinates associated with each Bezier curve instead of finding intersections by interpolation. Notation...