“Generate 2D shapes as arrays of points in OpenSCAD
https://github.com/sadr0b0t/2d_points
also available from Openscad-Modules repo
https://github.com/RobertFach/Openscad-Modules
spm install 2d_points
All shapes are generated as array of points, you should apply them to polygon call on your own. This might be convenient, if you want to pass some unknown beforehand shape to module or function as param.”