Closed RickyDaMa closed 3 weeks ago
@simoncozens unsure if the issue here lies in the check code, or in your beziers library, but if you'd be able to take a look, I'd really appreciate it!
The exception is being raised when a QuadraticBezier
has a length of zero (all three co-ordinates are the same). We tried looking in the sources for these co-ordinates, and came up empty
It's clearly in beziers.py. You won't find a length-zero bezier in your sources; it's probably a bug in how we're sampling them.
Should be fixed in beziers 0.6.0, just uploaded.
Anything breaking in the API, or am I safe to PR for this repo moving to 0.6? We're pinned on 0.5.x currently
Should be fixed in beziers 0.6.0, just uploaded.
Even though I see version 0.6.0 at PyPI (https://pypi.org/project/beziers/), I don't see the corresponding commits / git tag for this version at https://github.com/simoncozens/beziers.py
This should now be fixed.
Observed behaviour
The check errors:
Expected behaviour
The check should fail (I think). I'm guessing this exception should be caught and repackaged as the check failing?
Resources and steps needed to reproduce
I'll link this issue on the private repo in question, so you'll see the backlink below if you have access :)