8 lines
104 B
OpenSCAD
8 lines
104 B
OpenSCAD
|
x=2;
|
||
|
y=1;
|
||
|
if (x > y)
|
||
|
{
|
||
|
cube(size = 1, center = false);
|
||
|
} else {
|
||
|
cube(size = 2, center = true);
|
||
|
}
|