snegovick / bcad

B-tier OpenSCAD-like 3D CAD software
Other
3 stars 0 forks source link

Uncaught exception in polygon #37

Closed snegovick closed 4 years ago

snegovick commented 4 years ago

Describe the bug BCAD exits due to unhandled exception if polygon arguments are incorrect lists.

To Reproduce This code reproduces errors: polygon([0,0], [0,24]); and polygon([[0,0], [0,24], []]);

Expected behavior If arguments are bad, warning should be produced.

Screenshots N/A

Environment (please complete the following information):

Additional context None