name = "steve/flat-bar" version = "1.0.0" runtime = "steve" license = "MIT" summary = "Flat bar / rectangular bar, EN 10058 sizes and plain flat stock, any width, thickness and length." description = """Solid flat (rectangular) bar: width b along X, thickness t along Y, centred on the origin and extruded \ along +Z by the length l. Presets cover EN 10058 hot-rolled flat bars (designated width x thickness) and common flat and rectangular bar \ sizes. Nominal size with sharp edges: rolling tolerances and edge rounding are not modelled.""" tags = ["stock", "bar", "flat-bar", "rectangular-bar", "en-10058", "metric"] [parameters.width] type = "number" default = 20 min = 0.5 max = 1000 unit = "mm" label = "Width" [parameters.thickness] type = "number" default = 5 min = 0.2 max = 500 unit = "mm" label = "Thickness" [parameters.length] type = "number" default = 100 min = 1 max = 12000 unit = "mm" label = "Length" [parameters.material] type = "choice" default = "steel" choices = ["steel", "stainless-304", "aluminium-6061", "brass"] label = "Material" description = "steel: S235JR (EN 10025-2); stainless-304: 1.4301; aluminium-6061: 6061-T6; brass."