Merge remote-tracking branch 'origin/master' into gridfix

master
Marius Kintel 2015-01-06 00:21:43 -05:00
commit 073b2e7740
20 changed files with 11 additions and 5 deletions

View File

@ -13,7 +13,7 @@ if [[ $? != 0 ]]; then
fi
# Exclude tests known the cause issues on Travis
# opencsgtest_rotate_extrude-tests - Fails on Ubuntu 12.04 using Gallium 0.4 drivers
ctest -j8 -E "opencsgtest_rotate_extrude-tests|opencsgtest_render-tests|opencsgtest_rotate_extrude-hole|opencsgtest_internal-cavity|opencsgtest_internal-cavity-polyhedron|opencsgtest_minkowski3-erosion"
ctest -j8 -E "opencsgtest_rotate_extrude-tests|opencsgtest_render-tests|opencsgtest_rotate_extrude-hole|opencsgtest_internal-cavity|opencsgtest_internal-cavity-polyhedron|opencsgtest_minkowski3-erosion|opencsgtest_issue835|opencsgtest_issue911|opencsgtest_issue913"
if [[ $? != 0 ]]; then
echo "Test failure"
exit 1

View File

@ -1931,7 +1931,7 @@ void MainWindow::actionCheckValidity() {
N.reset(CGALUtils::createNefPolyhedronFromGeometry(*ps));
}
if (N || (N = dynamic_pointer_cast<const CGAL_Nef_polyhedron>(this->root_geom))) {
valid = N->p3->is_valid();
valid = N->p3 ? N->p3->is_valid() : false;
}
PRINTB(" Valid: %6s", (valid ? "yes" : "no"));
clearCurrentOutput();

View File

@ -1,2 +1,2 @@
%square(20);
cube(10);
translate([1,1,0]) cube(10);

View File

@ -1,7 +1,7 @@
difference() {
cube([20,20,3], center=true);
linear_extrude(height=60, center=true, convexity=2) {
linear_extrude(height=10, center=true, convexity=2) {
translate([5,0]) circle(r=3);
translate([-5,5]) circle(r=3);
translate([-5,-5]) circle(r=3);

2
testdata/scad/bugs/issue945b.scad vendored Normal file
View File

@ -0,0 +1,2 @@
rotate([0, 45, 0]) cube(50, true);
rotate([0, 0, 45]) cube(50, true);

2
testdata/scad/bugs/issue945d.scad vendored Normal file
View File

@ -0,0 +1,2 @@
translate([-5,5,0]) cube(10);
rotate([0, -90, 0]) cube(10);

View File

@ -1213,8 +1213,10 @@ list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue584.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue802.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue899.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue904.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue936.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue945.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue945b.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue945c.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue945d.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1089.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1105.scad)
list(APPEND EXPORT3D_TEST_FILES ${BUGS_FILES})

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB