This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let requestedWidth = Slider("Width", 100, 10, 300, true, 1, 0) | |
let requestedDepth = Slider("Depth", 50, 5, 300, true, 1, 0) | |
let requestedHeight = Slider("Height", 20, 11, 100, true, 1, 0) | |
let rows = Slider("Rows", 2, 1, 20, true, 1, 0) | |
let columns = Slider("Columns", 5, 1, 20, true, 1, 0) | |
let outsideRadius = Slider("Radius", 10, 2, 40, true, 1, 0) | |
let latches = Slider("Latches", 1, 1, 3, true, 1, 0) | |
let hingeStyle = Dropdown("Hinge type", "pin", {Pin: "pin", Detent: "cone"}, true) |