You could cut (subtract) along the inner vertical edges and
stretch (Partial) to re-butt the ends of the horizontal edges?
At least that's how I'd do it, by hand knowing only what I know.
If your question was how to script it, I got nuthin'.
Hi Dick, Thanks for your feedback, if I do it by hand, I'll use your method.
Yes, my question is how to do it by python script.
Anyway, really appreciate your comment. Thanks.
Comments
You could cut (subtract) along the inner vertical edges and
stretch (Partial) to re-butt the ends of the horizontal edges?
At least that's how I'd do it, by hand knowing only what I know.
If your question was how to script it, I got nuthin'.
Hi Dick, Thanks for your feedback, if I do it by hand, I'll use your method.
Yes, my question is how to do it by python script.
Anyway, really appreciate your comment. Thanks.
Hi kmho,
the method you're looking for is "Polygon#decompose_trapezoids". It will give you a set of smaller (4 corners max) polygons from a bigger one.
Regards,
Matthias
Thanks Matthias. It's exactly what I'm need.