mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-16 03:34:42 +02:00
changed index
This commit is contained in:
@@ -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]],
|
||||
|
Reference in New Issue
Block a user