summaryrefslogtreecommitdiff
path: root/testdata/scad/bugs/minkowski-assert.scad
blob: 74bce5c5fbb9feb6ee2150af00eabf4c5434b33c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
  Originally reported by chrysn 20100516:

  terminate called after throwing an instance of 'CGAL::Assertion_exception'
   what():  CGAL ERROR: assertion violation!
   Expr: N.is_valid(0,0)
   File: /usr/include/CGAL/convex_decomposition_3.h
   Line: 113

   This appears to have been a CGAL issue and it appears to work correctly in OpenSCAD-2011.12 with CGAL-3.9
*/

minkowski() {
 cube(20, center=true);
 rotate([20, 30, 40])
   difference() {
     cube(5, center=true);
     cube([1, 1, 10], center=true);
   }
}
contact: Jan Huwald // Impressum