SOLVED!
"ResizeContour" does not work as expected

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-17 05:52 PM
‎2021-03-17
05:52 PM
But clearly something terrible has happened here:
You see, the "start" point of the closed (!) polygon was not taken into account in the right manner. Now I have this corner chamfered away, gone for good.
The expected behaviour should be of course a new rectangle....
Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-04-09 04:07 PM
‎2021-04-09
04:07 PM
Hi runxel,
the problem is probably that when working with dicts, PolyOperations "ResizeContour" expects a polygon whose last point is not the same as the first.
Dict polygons always have to be closed, polylines can be open or closed. A closed polyline/polygon means the last point is not the same as the first (think of it as auto-closed). An open polyline has one more vertices than edges.
the problem is probably that when working with dicts, PolyOperations "ResizeContour" expects a polygon whose last point is not the same as the first.
Dict polygons always have to be closed, polylines can be open or closed. A closed polyline/polygon means the last point is not the same as the first (think of it as auto-closed). An open polyline has one more vertices than edges.
Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest
Software Engineer, Library
Graphisoft SE, Budapest
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-18 02:34 AM
‎2021-03-18
02:34 AM
Reminds me of when you try to offset a polygon that is not closed in AutoCAD... Is there a way to ensure that the input polygon is closed?
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-04-01 12:33 AM
‎2021-04-01
12:33 AM
No solution, GS?

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-04-03 09:31 PM
‎2021-04-03
09:31 PM
Hi, can You share Your object placed in a .pla file? No other way I can comment this problem. Polygon operations usually work fine. Maybe there is something wrong with the initial data. I have found some bugs in the add-on and example objects.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-04-09 04:07 PM
‎2021-04-09
04:07 PM
Hi runxel,
the problem is probably that when working with dicts, PolyOperations "ResizeContour" expects a polygon whose last point is not the same as the first.
Dict polygons always have to be closed, polylines can be open or closed. A closed polyline/polygon means the last point is not the same as the first (think of it as auto-closed). An open polyline has one more vertices than edges.
the problem is probably that when working with dicts, PolyOperations "ResizeContour" expects a polygon whose last point is not the same as the first.
Dict polygons always have to be closed, polylines can be open or closed. A closed polyline/polygon means the last point is not the same as the first (think of it as auto-closed). An open polyline has one more vertices than edges.
Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest
Software Engineer, Library
Graphisoft SE, Budapest

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-05-14 09:35 PM
‎2021-05-14
09:35 PM
Peter wrote:Thank you Péter! That is exactly the right hint.
the problem is probably that when working with dicts, PolyOperations "ResizeContour" expects a polygon whose last point is not the same as the first.
Dict polygons always have to be closed, polylines can be open or closed.A closed polyline/polygon means the last point is not the same as the first (think of it as auto-closed). An open polyline has one more vertices than edges.
What I did was to insert a final new point which is coincident with the first point. When doing that the result will look like in my picture above.
Would be great if this info of auto-closing polygons could be a bit more prominent in the manual.
It was also quite unclear for me why there is a distinction made between polygons and polylines in the first place.
Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»