How to create closed boundaries by inner points

Hi, Iā€™m trying to create closed polyline by picking up an Inner point like how Hatch works in AutoCAD,


it works though I have to duplicate more scripts to pick other point every time,

is it possible to optimize this script so that it works with multiple points?
or is there any other way to create boundary easily as AutoCAD?

here is my GH file, thanks in advance :slight_smile:

CreateClosedBoundaryByPoint.gh (27.6 KB)

This is a old/trivial/common possible solution for that problem.


CreateClosedBoundaryByPoint_alt.gh (9.8 KB)

1 Like

Thank you! This is just what I want, and the solution is neat and beautiful!
It bothers me for an entire week, thank you again for your kindness help!

1 Like