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 | from steve import Model |
| 5 | |
| 6 | series = "2020" # Profile series |
| 7 | length = 100 # mm Length |
| 8 | |
| 9 | # series: (side a, slot opening w, slot depth t, centre bore b) |
| 10 | SERIES = { |
| 11 | '2020': (20.0, 6.2, 6.0, 4.2), |
| 12 | '3030': (30.0, 8.2, 9.0, 6.8), |
| 13 | '4040': (40.0, 8.2, 12.0, 6.8), |
| 14 | } |
| 15 | a, w, t, b = SERIES[series] |
| 16 | h = a / 2 |
| 17 | |
| 18 | model = Model() |
| 19 | with model.sketch("profile", on="XY", name="Section") as sk: |
| 20 | sk.polyline("outline", [ |
| 21 | (-h, -h), (-w / 2, -h), (-w / 2, -h + t), (w / 2, -h + t), (w / 2, -h), |
| 22 | (h, -h), (h, -w / 2), (h - t, -w / 2), (h - t, w / 2), (h, w / 2), |
| 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 | ]) |
| 26 | sk.circle("bore", (0, 0), b / 2) |
| 27 | model.extrude("bar", "profile", distance=length) |
| 28 | result = model.result() |
| 29 |
| 1 | name = "steve/t-slot-extrusion" |
| 2 | version = "1.0.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\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 | |
| 9 | [parameters.series] |
| 10 | type = "choice" |
| 11 | default = "2020" |
| 12 | choices = ["2020", "3030", "4040"] |
| 13 | label = "Series" |
| 14 | |
| 15 | [parameters.length] |
| 16 | type = "number" |
| 17 | default = 100 |
| 18 | min = 10 |
| 19 | max = 3000 |
| 20 | step = 1 |
| 21 | unit = "mm" |
| 22 | label = "Length" |
| 23 |
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. 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.