quix
2018-08-26 20:58:43 UTC
Regarding the Customizer. I create 3 Drop Down Boxes:
// Do you want a bottom on the design?
has_bottom = "no"; // [no:No, yes:Yes]
// Do you want a box?
has_box = "no"; // [no:No, yes:Yes]
// Do you want dividers?
has_dividers = "yes"; // [no:No, yes:Yes]
In case has_bottom and has_box are both false ("no") and has_dividers true
("yes")...
I want a fourth Drop Down Box to appear:
if (has_box == "no" && has_bottom == "no" && has_dividers == "yes") {
// Do you want divider stabilizers? (RECOMMENDED)
has_divider_stabilizers = "yes"; // [no:No, yes:Yes]
}
This doesn't seem to work. Any way to make the has_divider_stabilizers
appear (if some condition) ???
--
Sent from: http://forum.openscad.org/
// Do you want a bottom on the design?
has_bottom = "no"; // [no:No, yes:Yes]
// Do you want a box?
has_box = "no"; // [no:No, yes:Yes]
// Do you want dividers?
has_dividers = "yes"; // [no:No, yes:Yes]
In case has_bottom and has_box are both false ("no") and has_dividers true
("yes")...
I want a fourth Drop Down Box to appear:
if (has_box == "no" && has_bottom == "no" && has_dividers == "yes") {
// Do you want divider stabilizers? (RECOMMENDED)
has_divider_stabilizers = "yes"; // [no:No, yes:Yes]
}
This doesn't seem to work. Any way to make the has_divider_stabilizers
appear (if some condition) ???
--
Sent from: http://forum.openscad.org/