Botffy / polyskel

Straight skeleton implementation in Python
GNU Lesser General Public License v3.0
79 stars 21 forks source link

invalid initialization #23

Open llorz opened 4 years ago

llorz commented 4 years ago

Hi Botffy,

Thanks for your great work.

I have a very quick question: I was trying to use your code to generate a straight skeleton for the following outline: poly = [(36.88, 343.19), (36.88, 161.06), (115.81, 161.06), (115.81, 137.2), (184.98, 137.2), (184.98, 6.1279), (282.67, 6.1279), (282.67, 386.26), (163.67, 386.26), (163.67, 343.19)]

Here is how the output skeleton looks like:

Screen Shot 2020-10-28 at 14 55 44

i.e., no inside skeleton was computed. But I feel the input outline is valid. I am not sure what is wrong. Can you please help to check in this case?

Thanks a lot!

Jing