Sign in with STEVE

steve/flat-bar

Flat bar / rectangular bar, EN 10058 sizes and plain flat stock, any width, thickness and length.

v1.0.0 Latest STEVE MIT 0
Isometric
part.py 30 lines · Python · STEVE runtime · checked
Download
1"""Flat bar / rectangular bar (solid rectangular stock), any width, thickness and length: EN 10058 hot-rolled flat
2bars and plain flat or rectangular bar.
3
4A rectangular section, `width` along X and `thickness` along Y, centred on the origin, extruded along +Z by
5`length`. Sharp edges: the edge rounding allowed by EN 10058 is not modelled.
6"""
7from steve import Model
8
9width = 20 # mm Width b
10thickness = 5 # mm Thickness t
11length = 100 # mm Length
12material = "steel" # Material
13
14# material choice: (STEVE material library id, appearance colour)
15MATERIALS = {
16 "steel": ("steel-s235jr", "#8a8d91"), # EN 10025-2 S235JR, hot rolled
17 "stainless-304": ("stainless-304", "#c9ccd0"), # EN 10088 1.4301
18 "aluminium-6061": ("aluminum-6061-t6", "#d4d7db"),
19 "brass": ("brass", "#c9a54a"),
20}
21
22material_id, colour = MATERIALS[material]
23
24model = Model()
25with model.sketch("section", on="XY", name="Section") as sk:
26 sk.center_rect("outline", (0, 0), width, thickness)
27model.extrude("bar", "section", distance=length, name="Bar")
28model.material(material_id, color=colour)
29result = model.result()
30

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.

Flat bar / rectangular bar (EN 10058)

Solid flat (rectangular) stock at any width, thickness and length: EN 10058 hot-rolled flat steel bars and plain flat and rectangular bars.

Geometry

A rectangular section, width b (width) along X and thickness t (thickness) along Y, centred on the origin, extruded along +Z by l (length). Sharp edges: the edge rounding EN 10058 allows and its tolerances are not modelled.

Parameters

Parameter Meaning
width Width b, mm
thickness Thickness t, mm
length Length l, mm
material steel (S235JR, EN 10025-2), stainless-304 (1.4301), aluminium-6061 (6061-T6), brass

Source

EN 10058:2018, Hot rolled flat steel bars and steel wide flats for general purposes — Dimensions and tolerances on shape and dimensions (it replaced EN 10058:2003), read from the SIST EN 10058:2019 preview (= EN 10058:2018, https://cdn.standards.iteh.ai/samples/64327/193669ce71dd44dcb6a215115e681d31/SIST-EN-10058-2019.pdf): a flat bar is designated width b × thickness t. Clause 5 delivers bars "with the specified dimensions range given in Table 1", whose thicknesses run from 4 to 80 mm; the catalogue's 20 × 3, 25 × 3 and 30 × 3 "EN 10058" bars are below that range and have no preset. EN 10058 bars carry no length (mill lengths): their presets are 1000 mm pieces. Plain flat and rectangular bar presets: width × thickness × length as designated, no standard.

Preset list: sizes of the step.parts catalogue (MIT), see library/NOTICE.md.

  1. 1.0.0 Latest
More #stock
STEVEMIT

steve/square-bar

Square bar, EN 10059 sizes and plain square stock, any side and length.

2 105 sizes 0 1 day ago v1.0.0
STEVEMIT

steve/round-bar

Round bar / round rod, EN 10060 sizes and plain round stock, any diameter and length.

0 145 sizes 0 1 day ago v1.0.0
STEVEMIT

steve/plate

Rectangular plate blank, any width, length and thickness, in common plate and sheet materials.

4 45 sizes 0 1 day ago v1.0.0
STEVEMIT

steve/round-tube

Round tube, any outside diameter, wall and length; presets from EN 10305-1 and EN 10220 sizes.

0 70 sizes 0 1 day ago v1.0.0