1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00

added test messages

This commit is contained in:
Justin Lin
2017-06-01 15:21:35 +08:00
parent c3f8eb33ca
commit c34db042cc

View File

@@ -5,6 +5,8 @@ include <paths2sections.scad>;
module test_paths2sections() {
module test_simple_path() {
echo("==== test_simple_path ====");
paths = [
[[5, 0, 5], [15, 10, 10], [25, 20, 5]],
[[-5, 0, 5], [-15, 10, 10], [-25, 20, 5]],
@@ -26,6 +28,9 @@ module test_paths2sections() {
}
module test_bezier_path() {
echo("==== test_bezier_path ====");
t_step = 0.05;
paths = [
@@ -42,8 +47,7 @@ module test_paths2sections() {
[[1.25, 0, -5], [5, 20, -5], [16, 20, 1], [18, 17.5, -3], [20, 17.5, -5]]
)
];
sections = paths2sections(paths);
for(i = [0:len(sections) - 1]) {