mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-08 08:26:29 +02:00
Removed spurious convexity in difference from rounded_polygon().
This commit is contained in:
@@ -77,7 +77,7 @@ module rounded_polygon(points, _tangents = undef) { //! Draw the rounded polygon
|
|||||||
indices = [0 : len - 1];
|
indices = [0 : len - 1];
|
||||||
tangents = [ for (t = _tangents ? _tangents : rounded_polygon_tangents(points)) each [t.x, t.y] ];
|
tangents = [ for (t = _tangents ? _tangents : rounded_polygon_tangents(points)) each [t.x, t.y] ];
|
||||||
|
|
||||||
difference(convexity = points) {
|
difference() {
|
||||||
union() {
|
union() {
|
||||||
for(i = indices)
|
for(i = indices)
|
||||||
if(points[i][2] > 0)
|
if(points[i][2] > 0)
|
||||||
|
Reference in New Issue
Block a user