I am trying to use the python version of clipper. I know there is another "compiled" python version. Perhaps after I understand it more I will used that version (there are fewer docs for it). Also, I just need the offset feature.
I have a list of coordinates in the form [(x1, y1), (x2, y2), ...] which describe the corners of a polygon. I can change the structure of my coordinates if necessary but there is only one polygon at a time. The corners may be clockwise or anti-clockwise and may also be in the form:
I apologise for this, perhaps, obvious question.
I am trying to use the python version of clipper. I know there is another "compiled" python version. Perhaps after I understand it more I will used that version (there are fewer docs for it). Also, I just need the offset feature.
I have a list of coordinates in the form [(x1, y1), (x2, y2), ...] which describe the corners of a polygon. I can change the structure of my coordinates if necessary but there is only one polygon at a time. The corners may be clockwise or anti-clockwise and may also be in the form:
Can clipper offset these polygons and can you provide an example of the actual code used in testing this with the python version?
Thanks.
Last edit: Kene Meniru 2013-06-21
Edit: I've scaled up your coordinates because your offsetting delta was too big and so was returning an empty result.
Last edit: Angus Johnson 2013-06-22