[OpenSCAD] BUG: minkowski() fills holes when used with 2D polygons

Triffid Hunter triffid.hunter at gmail.com
Sun Apr 8 10:45:31 CEST 2012


// using 2c273159 - Wed Apr 4 01:46:50 2012 +0200 - Missing NULL check on
some normalization corner cases. Fixes #95


module object_with_holes() {

  difference() {

    square([20, 20], center=true);

    circle(r=5);

  }

}


 // does not work (fills in hole)

linear_extrude(height=1)

minkowski() {

  #object_with_holes();

  circle(r=1);

}


 // works as expected

translate([25, 0, 0])

minkowski() {

  linear_extrude(height=1)

    #object_with_holes();

  cylinder(r=1, h=0.01);

}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rocklinux.net/pipermail/openscad/attachments/20120408/c702a8b0/attachment.html


More information about the OpenSCAD mailing list