Disabling attachment point label for purposes of finding fits

This commit is contained in:
Ian Roddis committed 2026-08-17 21:08:37 -03:00
1 parent 4d6fda6f74
commit ab5315b862
1 file changed
+3 -2
+3 -2
View File
@@ -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: def attachment_points_match(ap_a: AttachmentPoint, ap_b: AttachmentPoint) -> bool:
"""True if these two attachment points satisfy the fit-matching algorithm.""" """True if these two attachment points satisfy the fit-matching algorithm."""
if ap_a.attachment_point_name_id == ap_b.attachment_point_name_id: # Disabled for now, the attachment_point_names should not be considered for the purposes of matching
return False # if ap_a.attachment_point_name_id == ap_b.attachment_point_name_id:
# return False
return ( return (
_iso_match(ap_a, ap_b) _iso_match(ap_a, ap_b)
or _unc_match(ap_a, ap_b) or _unc_match(ap_a, ap_b)