mirror of https://github.com/vitalif/openscad
Simplified and renamed test related to #612
parent
b33ab943ff
commit
072c3a3059
|
@ -1,16 +0,0 @@
|
|||
|
||||
$fn = 64;
|
||||
|
||||
module inverse() difference() { square(1e6,center=true); child(); }
|
||||
module offset(d=1) minkowski() { circle(d); child(); }
|
||||
|
||||
module s() {
|
||||
inverse() offset(2) inverse() offset(2) union() {
|
||||
hull() { circle(r=4); translate([0,3]) circle(r=4); }
|
||||
translate([0,-3]) hull() { circle(r=1); translate([10,0]) circle(r=1); }
|
||||
}
|
||||
}
|
||||
difference() {
|
||||
linear_extrude(height=3,center=true,convexity=3) s();
|
||||
linear_extrude(height=9,center=true) circle(r=2);
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
The inner minkowski creates a polygon with a tiny crack in it, due to our
|
||||
coincident vertex collapse not being topology-aware.
|
||||
The difference and outer minkowski was added to visualize this.
|
||||
*/
|
||||
$fn = 64;
|
||||
minkowski() {
|
||||
difference() {
|
||||
square(40,center=true);
|
||||
minkowski() { circle(2); circle(4); }
|
||||
}
|
||||
square(1);
|
||||
}
|
|
@ -863,7 +863,6 @@ list(APPEND CGALPNGTEST_FILES ${FEATURES_FILES} ${SCAD_DXF_FILES} ${EXAMPLE_FILE
|
|||
list(APPEND CGALPNGTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/misc/include-tests.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/use-tests.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/transform-nan-inf-tests.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/incorrect_polygon.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/localfiles-test.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/localfiles_dir/localfiles-compatibility-test.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/rotate-empty-bbox.scad
|
||||
|
@ -911,7 +910,8 @@ list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue495.scad
|
|||
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue584.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue585.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue591.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue593.scad)
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue593.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue612.scad)
|
||||
|
||||
list(APPEND OPENCSGTEST_FILES ${BUGS_FILES})
|
||||
list(APPEND CGALPNGTEST_FILES ${BUGS_FILES})
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue