Compare versions
2 files changed, +7 −3 1.1.0: Materials and finishes: each part is made of its standard's engineering material, with its usual finish.
| @@ -1,5 +1,7 @@ | ||
| 1 | 1 | """ISO 7045 pan head screw with cross recess. Envelope: head, a simplified cross recess, plain shank. |
| 2 | The head's bearing face is on the XY plane at the origin; the shank points down -Z.""" | |
| 2 | The head's bearing face is on the XY plane at the origin; the shank points down -Z. | |
| 3 | ||
| 4 | Material: stainless steel A2 (AISI 304, 1.4301).""" | |
| 3 | 5 | from steve import Model |
| 4 | 6 | |
| 5 | 7 | size = "M3" # Thread size |
| @@ -43,5 +45,6 @@ | ||
| 43 | 45 | with model.sketch("cross_y", on="head_top", name="Recess Y") as sk: |
| 44 | 46 | sk.center_rect("bar", (0, 0), slot, arm) |
| 45 | 47 | model.extrude("recess_y", "cross_y", distance=-0.5 * k, op="cut") |
| 48 | model.material("stainless-304", finish="polished") # A2 stainless | |
| 46 | 49 | result = model.result() |
| 47 | 50 |
| @@ -1,10 +1,11 @@ | ||
| 1 | 1 | name = "steve/pan-head-screw" |
| 2 | version = "1.0.0" | |
| 2 | version = "1.1.0" | |
| 3 | 3 | runtime = "steve" |
| 4 | 4 | license = "MIT" |
| 5 | 5 | summary = "Pan head screw with cross recess, ISO 7045, M2 to M8, any length." |
| 6 | description = "ISO 7045 pan head screw with cross recess. Envelope: head, a simplified cross recess, plain shank.\nThe head's bearing face is on the XY plane at the origin; the shank points down -Z.\n\nDimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread." | |
| 6 | description = "ISO 7045 pan head screw with cross recess. Envelope: head, a simplified cross recess, plain shank.\nThe head's bearing face is on the XY plane at the origin; the shank points down -Z.\n\nMaterial: stainless steel A2 (AISI 304, 1.4301).\n\nDimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread." | |
| 7 | 7 | tags = ["fastener", "screw", "iso-7045", "metric"] |
| 8 | changes = "Materials and finishes: each part is made of its standard's engineering material, with its usual finish." | |
| 8 | 9 | |
| 9 | 10 | [parameters.size] |
| 10 | 11 | type = "choice" |