From ab5315b862afaac1d915a9540905630e95aaf97c Mon Sep 17 00:00:00 2001 From: Ian Roddis <31021769+iroddis@users.noreply.github.com> Date: Mon, 17 Aug 2026 21:08:37 -0300 Subject: [PATCH] Disabling attachment point label for purposes of finding fits --- app/services/fit_matching.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/services/fit_matching.py b/app/services/fit_matching.py index da79916..d1a1cdf 100644 --- a/app/services/fit_matching.py +++ b/app/services/fit_matching.py @@ -77,8 +77,9 @@ def _static_clamp_match(ap_a: AttachmentPoint, ap_b: AttachmentPoint) -> bool: def attachment_points_match(ap_a: AttachmentPoint, ap_b: AttachmentPoint) -> bool: """True if these two attachment points satisfy the fit-matching algorithm.""" - if ap_a.attachment_point_name_id == ap_b.attachment_point_name_id: - return False + # Disabled for now, the attachment_point_names should not be considered for the purposes of matching + # if ap_a.attachment_point_name_id == ap_b.attachment_point_name_id: + # return False return ( _iso_match(ap_a, ap_b) or _unc_match(ap_a, ap_b)