summaryrefslogtreecommitdiff
path: root/testdata/scad/features/modulevariables.scad
blob: fc7a1834118ae375dcf1716a2c865041cb5d85c8 (plain)
1
2
3
4
5
6
7
module mymodule(modparam) {
  inner_variable = 23;
  inner_variable2 = modparam * 2;
  cylinder(r1=inner_variable, r2=inner_variable2, h=10);
}

mymodule(5);
contact: Jan Huwald // Impressum