3d-viewer and polygon functions: remove duplicate code about conversion from basic shapes to polygons.
Attach a file by drag & drop or click to upload