summaryrefslogtreecommitdiff
path: root/testdata/scad/bugs/minkowski-assert.scad
blob: e2595142b5880c1cf2dcf7b3932f47c9885d5d92 (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 which was fixe in 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