4 children([1:1:$children-1]);
8 children([1:1:$children-1]);
12 children([1:1:$children-1]);
15 children([1:1:$children-1]);
25 module round_edges(r) {
33 module tx(l) { translate([l, 0, 0]) children(); }
34 module ty(l) { translate([0, l, 0]) children(); }
35 module tz(l) { translate([0, 0, l]) children(); }
37 module rx(a) { rotate([a, 0, 0]) children(); }
38 module ry(a) { rotate([0, a, 0]) children(); }
39 module rz(a) { rotate([0, 0, a]) children(); }
41 module sx(a) { scale([a, 1, 1]) children(); }
42 module sy(a) { scale([1, a, 1]) children(); }
43 module sz(a) { scale([1, 1, a]) children(); }
45 // capital letters are ugly, but more visible in short identifiers
46 module Tx(l) { translate([l, 0, 0]) children(); }
47 module Ty(l) { translate([0, l, 0]) children(); }
48 module Tz(l) { translate([0, 0, l]) children(); }
50 module Rx(a) { rotate([a, 0, 0]) children(); }
51 module Ry(a) { rotate([0, a, 0]) children(); }
52 module Rz(a) { rotate([0, 0, a]) children(); }
54 module Sx(a) { scale([a, 1, 1]) children(); }
55 module Sy(a) { scale([1, a, 1]) children(); }
56 module Sz(a) { scale([1, 1, a]) children(); }
58 module Mx() { for (s = [-1, 1]) Sx(s) children(); }
59 module My() { for (s = [-1, 1]) Sy(s) children(); }
60 module Mz() { for (s = [-1, 1]) Sz(s) children(); }