Disabling attachment point label for purposes of finding fits
This commit is contained in:
1 parent
4d6fda6f74
commit
ab5315b862
1 file changed
+3
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user