[family] metric plastic cable gland - #52
Conversation
Signed-off-by: songmingqing36-lang <songmingqing36@gmail.com>
bench2 validatemetric_plastic_cable_glandPreviews: the |
|
Maintainer note: I edited only the image urls in your description — they were pinned to your branch name, which gets deleted when this PR merges (taking every preview with it), so they now point at the same files pinned to |
There was a problem hiding this comment.
In top view the circle is internally tangent; not externally tangent
Thread-construction check (added 07-31): _ring_thread (part.py:14-24) builds the thread as concentric rectangular rings — consistent with the framework's ring-thread baseline (no helix on the pinned cadquery), so the construction itself is fine. Two details: the crest width is a fixed 0.45 mm instead of scaling with pitch (at P=1.5 that's a thin rib; use ~0.4·P), and int(height/pitch) plus the early break can leave the top of the band bare — derive the count from the covered span. The tangency finding above still stands.
…, full-height grip strips Maintainer pass on top of the review: - both hex bands get the z-direction washer-face chamfer on their top and bottom rims (previously only the vertical corner edges were chamfered); - the bottom-most plane gets its lead-in: a 45-degree chamfer on the thread-end OD and a matching cone at the bore mouth; - the grip strips beside each corner of the upper nut now run the full height of that band and cut a little deeper (they stopped 11% short at both ends and read as a detached stub). bench2 validate passes; all four renders regenerated. Signed-off-by: HaozheZhang6 <haozhezhang6@users.noreply.github.com>
|
Maintainer pass, pushed as
Before (top row) vs after (bottom row) — iso · top view (tangency + step bore) · low-angle: All four renders at Also in the PR body: render links re-pinned to this head, a |
… top entry Addresses the top-view tangency review finding: the dome base is now the hexagon's inscribed circle (sw/2, tangent to the flats from inside; it was outer_dia_a/2 and stood proud of the flats), with the arc bulge kept inside it. The top entry is now a stepped bore: a seal counterbore (clamp bore + max(1.2, 0.045 A), 0.30 dome_h deep) stepping down to the clamp bore — two concentric circles in top view, as on the real gland. Renders regenerated. Signed-off-by: HaozheZhang6 <haozhezhang6@users.noreply.github.com>





Reference (re-embedded from issue #31)
Family
metric_plastic_cable_gland—cat:enclosure-hardwareReference (issue #31 — LAPP SKINTOP ST-M)
Generated — benchmark views (what the model sees)
Generated — easy / medium / hard samples
Extremes — smallest & largest sampled instances
How it's parameterized
size_indexselects one complete LAPP SKINTOP ST-M catalog row from M12 through M63.refine()then copies that row's nominal thread diameter, wrench size, cap diameter A, thread length D, clamping range F, and O-ring state into the model without mixing dimensions between sizes.tightenedselects the published C minimum or C maximum for the same row, representing the fully compressed or relaxed cap position. The external geometry includes an Mx1.5 connection thread, six-flat wrench body, round domed cap with 12 longitudinal grip ribs, functional cable passage, and the M40/M50/M63 shoulder-seal band.Ten parameters describe the family:
size_index: coupled M12–M63 catalog row.thread_d: nominal EN 60423 metric connection diameter; pitch fixed at 1.5 mm.sw: body wrench size across flats.outer_dia_a: cap outside diameter A.overall_len: catalog C minimum or maximum selected bytightened.thread_len: male connection length D.clamp_min,clamp_max: catalog cable clamping range F.o_ring: M40+ NBR shoulder-seal feature.tightened: relaxed versus fully tightened cap position.The molded thread crest, internal trapezoidal cap thread, elastomer insert, and grip-rib detail are simplified with explicit
proportionrules where the manufacturer does not publish their internal geometry.Verification (sampled instances — one non-degenerate solid)
uv run bench2 validate metric_plastic_cable_gland --seeds 4→ PASS (10 parameters complete; all eight catalog rows covered; difficulties distinct; every instance one non-degenerate solid).Checklist
uv run bench2 validate metric_plastic_cable_glandpasses locallypreview.png,preview_views.png, andpreview_extremes.pnggenerated and inspectedfamily.jsoncorrectly omits a multi-bodysolidsdeclarationPARAM_SPEC.sourceandcheck()constraint cites a catalog/rule or honestproportiondesigns/metric_plastic_cable_gland/Sources used
proportion, because separate molded dimensions are not published.Maintainer commits
5d8001f+44e4efa: hex washer-face chamfers, thread-end + bore-mouth entry chamfers, full-height deeper grip strips; renders re-pinned to that head.