Sign in with STEVE

steve/damper-envelope

Dashpot / gas strut envelope: Ø10 body and Ø5 piston rod as two bodies, any stroke.

v1.0.0 Latest STEVE MIT 0
Isometric
part.py 35 lines · Python · STEVE runtime · checked
Download
1"""Dashpot / gas strut envelope: a cylinder body and a piston rod as two bodies, as step.parts' published models draw
2them, any stroke.
3
4The body (diameter BODY_D, length 30 + stroke) lies along +X from the origin; the rod (diameter ROD_D, length
550 + stroke) runs inside it on the same axis and comes out at +X, 10 + stroke / 2 beyond the body. The rod starts
6stroke / 2 - 10 from the body's left end (for strokes under 20 mm it shows behind the body, as in the models). End
7fittings, the piston and the seals are not modelled.
8"""
9from steve import Model
10
11stroke = 50 # mm Stroke
12material = "unspecified" # Material
13
14# mm, measured on step.parts' models dashpot_stroke<s>_envelope and gas_strut_stroke<s>_envelope (s = 10, 15, 25, 50,
15# 100; the cylinders of their two solids): body and rod diameters, and lengths that grow with the stroke as below
16BODY_D = 10.0
17ROD_D = 5.0
18BODY_BASE = 30.0 # body length = BODY_BASE + stroke
19ROD_BASE = 50.0 # rod length = ROD_BASE + stroke
20ROD_OUT_BASE = 10.0 # rod end beyond the body = ROD_OUT_BASE + stroke / 2
21MATERIALS = {"unspecified": (None, None), "steel": ("steel-generic", "#9da2a8")}
22
23body_length = BODY_BASE + stroke
24rod_length = ROD_BASE + stroke
25rod_end = body_length + ROD_OUT_BASE + stroke / 2
26material_id, colour = MATERIALS[material]
27
28model = Model()
29model.cylinder("body", BODY_D / 2, body_length, direction=(1, 0, 0), name="Body")
30model.cylinder("rod", ROD_D / 2, rod_length, at=(rod_end - rod_length, 0, 0), direction=(1, 0, 0), op="new",
31 name="Rod")
32if material_id:
33 model.material(material_id, color=colour)
34result = model.result()
35

A dashpot or gas strut envelope for assemblies: a Ø10 mm cylinder body and a Ø5 mm piston rod, two bodies on one axis, sized by the stroke (body 30 + stroke, rod 50 + stroke long). Measured from step.parts' published models (MIT), which draw dashpots and gas struts with this same envelope; no maker or standard is behind them. Along +X from the origin. Dimensions and attribution: see the README.

Damper envelope (dashpot / gas strut)

A dashpot or gas strut envelope for assemblies: a cylinder body and a piston rod, two bodies on one axis, any stroke.

Geometry

Along +X from the origin: the body, Ø10, 30 + stroke long; the rod, Ø5, 50 + stroke long, on the same axis inside the body and coming out at +X, 10 + stroke / 2 beyond it (its other end is stroke / 2 − 10 from the body's left end, so for strokes under 20 mm it shows behind the body, as in the models).

Stroke (models) Body Rod Overall
10 40 60 60
15 45 65 65
25 55 75 77.5
50 80 100 115
100 130 150 190

Parameters

Parameter Meaning
stroke mm
material unspecified (no material assigned) or steel

Sources

These generic envelopes name no maker and no standard covers them. The geometry was measured from the published reference models below (the cylinders of each model's two solids: diameters, ends), and every preset is checked against its own models: bounding box within 0.05 mm and volume within 2 %.

  • step.parts, dashpot_stroke<s>_envelope and gas_strut_stroke<s>_envelope for s = 10, 15, 25, 50, 100 (https://www.step.parts, repository https://github.com/earthtojake/step.parts, commit c6113328, catalog/step/): step.parts' own models, original project material under the repository's MIT licence (© 2026 earthtojake). They name no material, so the presets have material = "unspecified".

Simplifications (the models'): dashpots and gas struts share this one envelope; no end fittings, piston or seals; body and rod are plain cylinders (two bodies, the rod inside the body).

Preset list: from the step.parts catalogue (MIT), see library/NOTICE.md; a stroke's dashpot and gas strut share one preset.

  1. 1.0.0 Latest
More #damper
STEVEMIT

steve/miniature-linear-guide

HIWIN MGN miniature linear guideway, sizes 7, 9, 12 and 15: rail (MGNR) or block (MGN-C / MGN-H).

0 9 sizes 0 1 day ago v1.0.0
STEVEMIT

steve/hex-head-screw

Hexagon head screw, fully threaded, ISO 4017 / DIN 933, M1.6 to M36, any length, with catalogue sizes as presets.

18 85 sizes 0 1 day ago v2.0.0
STEVEMIT

steve/button-head-screw

Hexagon socket button head screw, ISO 7380-1, M3 to M16, any length, with catalogue sizes as presets.

10 65 sizes 0 1 day ago v2.0.0
STEVEMIT

steve/hex-nut

Hex nut, ISO 4032, M2 to M12.

7 9 variants 0 2 days ago v1.1.0