steve/extrusion-corner-bracket
Corner bracket envelope for 2020, 3030 and 4040 extrusions: two flat legs at a right angle (simplified, no holes).
T-slot aluminium extrusion, 2020 / 3030 / 4040, simplified profile, any length.
| 1 | """Aluminium T-slot extrusion, metric series. Simplified profile: square section with a rectangular slot on each |
| 2 | side and a centre bore. Slot shapes differ between makers: check your supplier's drawing for exact fits. |
| 3 | The profile is centred on the origin in XY and extruded along +Z. |
| 4 | |
| 5 | Material: aluminium, clear anodized (6061-T6 from the material library; T-slot profiles are usually 6063-T5/T6, whose density and look are the same).""" |
| 6 | from steve import Model |
| 7 | |
| 8 | series = "2020" # Profile series |
| 9 | length = 100 # mm Length |
| 10 | |
| 11 | # series: (side a, slot opening w, slot depth t, centre bore b) |
| 12 | SERIES = { |
| 13 | '2020': (20.0, 6.2, 6.0, 4.2), |
| 14 | '3030': (30.0, 8.2, 9.0, 6.8), |
| 15 | '4040': (40.0, 8.2, 12.0, 6.8), |
| 16 | } |
| 17 | a, w, t, b = SERIES[series] |
| 18 | h = a / 2 |
| 19 | |
| 20 | model = Model() |
| 21 | with model.sketch("profile", on="XY", name="Section") as sk: |
| 22 | sk.polyline("outline", [ |
| 23 | (-h, -h), (-w / 2, -h), (-w / 2, -h + t), (w / 2, -h + t), (w / 2, -h), |
| 24 | (h, -h), (h, -w / 2), (h - t, -w / 2), (h - t, w / 2), (h, w / 2), |
| 25 | (h, h), (w / 2, h), (w / 2, h - t), (-w / 2, h - t), (-w / 2, h), |
| 26 | (-h, h), (-h, w / 2), (-h + t, w / 2), (-h + t, -w / 2), (-h, -w / 2), |
| 27 | ]) |
| 28 | sk.circle("bore", (0, 0), b / 2) |
| 29 | model.extrude("bar", "profile", distance=length) |
| 30 | model.material("aluminum-6061-t6", finish="anodized") # clear anodized aluminium |
| 31 | result = model.result() |
| 32 |
| 1 | name = "steve/t-slot-extrusion" |
| 2 | version = "1.1.0" |
| 3 | runtime = "steve" |
| 4 | license = "MIT" |
| 5 | summary = "T-slot aluminium extrusion, 2020 / 3030 / 4040, simplified profile, any length." |
| 6 | description = "Aluminium T-slot extrusion, metric series. Simplified profile: square section with a rectangular slot on each\nside and a centre bore. Slot shapes differ between makers: check your supplier's drawing for exact fits.\nThe profile is centred on the origin in XY and extruded along +Z.\n\nMaterial: aluminium, clear anodized (6061-T6 from the material library; T-slot profiles are usually 6063-T5/T6, whose density and look are the same).\n\nDimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread." |
| 7 | tags = ["extrusion", "t-slot", "frame", "aluminium"] |
| 8 | changes = "Materials and finishes: each part is made of its standard's engineering material, with its usual finish." |
| 9 | |
| 10 | [parameters.series] |
| 11 | type = "choice" |
| 12 | default = "2020" |
| 13 | choices = ["2020", "3030", "4040"] |
| 14 | label = "Series" |
| 15 | |
| 16 | [parameters.length] |
| 17 | type = "number" |
| 18 | default = 100 |
| 19 | min = 10 |
| 20 | max = 3000 |
| 21 | step = 1 |
| 22 | unit = "mm" |
| 23 | label = "Length" |
| 24 |
Aluminium T-slot extrusion, metric series. Simplified profile: square section with a rectangular slot on each side and a centre bore. Slot shapes differ between makers: check your supplier's drawing for exact fits. The profile is centred on the origin in XY and extruded along +Z. Material: aluminium, clear anodized (6061-T6 from the material library; T-slot profiles are usually 6063-T5/T6, whose density and look are the same). Dimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread.
Materials and finishes: each part is made of its standard's engineering material, with its usual finish.
Yanked: Superseded by pythonparts/t-slot-extrusion and pythonparts/v-slot-extrusion: the real measured profiles, not a simplified one.
Corner bracket envelope for 2020, 3030 and 4040 extrusions: two flat legs at a right angle (simplified, no holes).
20 x 20 V-slot aluminium extrusion, any length, measured from the published FreeCAD-library model.
MakerBeam 10 x 10 mm aluminium profile, any length, from MakerBeam's own drawing.
T-slot extrusion accessories (end cap, cover strip, anchor fastener, inside corner connector), 20/30/40 series: simplified.