diff --git a/nhf/parts/handle.py b/nhf/parts/handle.py index 5a61bed..19fe15a 100644 --- a/nhf/parts/handle.py +++ b/nhf/parts/handle.py @@ -6,7 +6,10 @@ from typing import Union, Optional import cadquery as Cq import nhf.parts.metric_threads as metric_threads -class TubeJoint: +class Mount: + """ + Describes the internal connection between two cylinders + """ def diam_insertion_internal(self): """ @@ -26,7 +29,7 @@ class TubeJoint: """ @dataclass -class ThreadedJoint(TubeJoint): +class ThreadedJoint(Mount): pitch: float = 3 @@ -59,7 +62,7 @@ class ThreadedJoint(TubeJoint): length) @dataclass -class BayonetJoint(TubeJoint): +class BayonetMount(Mount): """ Bayonet type joint """ @@ -81,7 +84,7 @@ class Handle: diam: float = 38 diam_inner: float = 33 - joint: Optional[TubeJoint] = field(default_factory=lambda: ThreadedJoint()) + joint: Optional[Mount] = field(default_factory=lambda: ThreadedJoint()) # Internal cavity diameter. This determines the wall thickness of the connector diam_connector_internal: float = 18.0