Sign in with STEVE

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.

part.py +4 −1
@@ -1,5 +1,7 @@
11"""ISO 7045 pan head screw with cross recess. Envelope: head, a simplified cross recess, plain shank.
2The head's bearing face is on the XY plane at the origin; the shank points down -Z."""
2The head's bearing face is on the XY plane at the origin; the shank points down -Z.
3
4Material: stainless steel A2 (AISI 304, 1.4301)."""
35from steve import Model
46
57size = "M3" # Thread size
@@ -43,5 +45,6 @@
4345with model.sketch("cross_y", on="head_top", name="Recess Y") as sk:
4446 sk.center_rect("bar", (0, 0), slot, arm)
4547model.extrude("recess_y", "cross_y", distance=-0.5 * k, op="cut")
48model.material("stainless-304", finish="polished") # A2 stainless
4649result = model.result()
4750
pypart.toml +3 −2
@@ -1,10 +1,11 @@
11name = "steve/pan-head-screw"
2version = "1.0.0"
2version = "1.1.0"
33runtime = "steve"
44license = "MIT"
55summary = "Pan head screw with cross recess, ISO 7045, M2 to M8, any length."
6description = "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."
6description = "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."
77tags = ["fastener", "screw", "iso-7045", "metric"]
8changes = "Materials and finishes: each part is made of its standard's engineering material, with its usual finish."
89
910[parameters.size]
1011type = "choice"