snegovick / bcad

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

Add polygon support #9

Closed snegovick closed 4 years ago

snegovick commented 4 years ago

Analysis

Polygon definition from openscad: polygon(points = [ [x, y], ... ], paths = [ [p1, p2, p3..], ...], convexity = N);

Even though polygon is superseded by bcad sketches, it is needed for compatibility.

Not sure if it is a good idea to add multiple ways of doing same thing though.