mirror of https://github.com/vitalif/openscad
Output timing for convex decomposition when doing minkowski
parent
32024588b5
commit
384c6af273
|
@ -254,6 +254,7 @@ namespace CGALUtils {
|
|||
decomposed_nef = *nef->p3;
|
||||
}
|
||||
|
||||
t.start();
|
||||
CGAL::convex_decomposition_3(decomposed_nef);
|
||||
|
||||
// the first volume is the outer volume, which ignored in the decomposition
|
||||
|
@ -268,6 +269,8 @@ namespace CGALUtils {
|
|||
|
||||
|
||||
PRINTDB("Minkowski: decomposed into %d convex parts", P[i].size());
|
||||
t.stop();
|
||||
PRINTDB("Minkowski: decomposition took %f s", t.time());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue