1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-30 09:49:59 +02:00

added test hook

This commit is contained in:
Justin Lin
2017-06-15 10:37:42 +08:00
parent 5111b1f0d4
commit 75712956c4

View File

@@ -179,16 +179,23 @@ module polysections(sections, triangles = "SOLID") {
polyhedron(
v_pts,
f_idxes
);
);
// hook for testing
test_polysections_solid(v_pts, f_idxes);
} else {
first_idxes = first_idxes();
last_idxes = last_idxes(half_leng_v_pts - half_leng_sect);
f_idxes = concat(first_idxes, outer_idxes, inner_idxes, last_idxes);
polyhedron(
v_pts,
f_idxes
);
// hook for testing
test_polysections_solid(v_pts, f_idxes);
}
}