Skip to content

Commit c749460

Browse files
committed
added another test module to examples/scad_to_include.scad
(and added missing newline before EOF)
1 parent 243bfd7 commit c749460

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

solid/examples/scad_to_include.scad

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ module steps(howmany=3){
1313
}
1414
}
1515

16+
module blub(a) cube([a, 2, 2]);
17+
1618
function scad_points() = [[0,0], [1,0], [0,1]];
1719

1820
// In Python, calling this function without an argument would be an error.
1921
// Leave this here to confirm that this works in OpenSCAD.
2022
function optional_nondefault_arg(arg1) =
2123
let(s = arg1 ? arg1 : 1) cube([s,s,s]);
2224

23-
echo("This text should appear only when called with include(), not use()");
25+
echo("This text should appear only when called with include(), not use()");

0 commit comments

Comments
 (0)