diff --git a/src/polysections.scad b/src/polysections.scad index 6c94603f..e2c82f6b 100644 --- a/src/polysections.scad +++ b/src/polysections.scad @@ -184,16 +184,15 @@ module polysections(sections, triangles = "SOLID") { faces = [ [0, 1, 2], [3, 5, 4], - [0, 4, 1], [1, 5, 2], [2, 3, 0], - [0, 3, 4], [1, 4, 5], [2, 5, 3] + [1, 3, 4], [2, 1, 4], [2, 3, 0], + [0, 3, 1], [2, 4, 5], [2, 5, 3] ] ); } module two_sections(section1, section2) { for(idx = triangles) { - // hull is for preventing from WARNING: Object may not be a valid 2-manifold - hull() tri_sections( + tri_sections( [ section1[idx[0]], section1[idx[1]],