Open ChiaChing-Yen opened 9 months ago
Also, the docs said that it returns a list where the first and last coordinates are identical. This is not the case when I run the script, and it returns 4 pts instead.
IMO this is a better behavior as it is consistent with the input.
Describe the bug The
compas.geometry.offset_polygon()
returnsTypeError
when the parameterpolygon
is provided aPolygon
instanceTo Reproduce Running this script with Python 3.11
returns
Expected behavior As the doc implies, the
polygon
parameter should acceptsequence[point] | [Polygon]
Desktop (please complete the following information):