1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-06 23:46:30 +02:00

Removed spurious convexity in difference from rounded_polygon().

This commit is contained in:
Chris Palmer
2021-05-18 23:14:34 +01:00
parent 08946e3d70
commit 11ebe2225d

View File

@@ -77,7 +77,7 @@ module rounded_polygon(points, _tangents = undef) { //! Draw the rounded polygon
indices = [0 : len - 1];
tangents = [ for (t = _tangents ? _tangents : rounded_polygon_tangents(points)) each [t.x, t.y] ];
difference(convexity = points) {
difference() {
union() {
for(i = indices)
if(points[i][2] > 0)