Fri, Apr 22, 2022 12:47 PM
Works on a box that should be left or right configured.by entering e.g. "Left" or "Right" to the moduleThought to use mirror ()and the other thing that needs to be changed is an angle of a tube (ex. Left = 30degree and Right = -30degree)
I have now understand that the suggestion below doesn't work.
(but i have no idea how to solve this)
module box(mountSide="left"){ if (mountSide == "right") { side="1"; exitDegree=1; } if (mountSide == "left") { side="0"; exitDegree=-1; } echo(side, mountSide, exitDegree);....
Works on a box that should be left or right configured.by entering e.g. "Left" or "Right" to the moduleThought to use mirror ()and the other thing that needs to be changed is an angle of a tube (ex. Left = 30degree and Right = -30degree)
I have now understand that the suggestion below doesn't work.
(but i have no idea how to solve this)
=======
module box(mountSide="left"){ if (mountSide == "right") { side="1"; exitDegree=1; } if (mountSide == "left") { side="0"; exitDegree=-1; } echo(side, mountSide, exitDegree);....
=======