-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Joint Segmentator Doesn't Calculate correctly the total amount of joints #120
Comments
Hello @eleniv3d , I belive that you might running on a branch not updated with the current main. In the main the diffCheck/src/gh/diffCheck/diffCheck/df_geometries.py Lines 403 to 423 in f205939
Nevertheless, the way you are doing it is the correct one. |
I believe it is like that on the main :) @9and3 https://github.com/diffCheckOrg/diffCheck/blob/main/src/gh/components/DF_joint_segmentator/code.py |
Apologies @eleniv3d I didn't get you are referring to the @property
def total_number_joints(self):
return max([joint.id for joint in self.all_joints]) + 1 In your scenario how many joints do you obtain (wrongly)? |
we discussed with @DamienGilliard , he's a bit busy at the moment but since it's touching the segmentation Python component he will take care of solving this. Thanks for bringing this up @eleniv3d 👐 |
@DamienGilliard / @eleniv3d , do you know the status on this one? |
Great, let me know, you can link this issue to the PR you are opening so we know is tracked ! 👐 |
For this assembly, it was trying to find 4 joints. Switching from
i_assembly.total_number_joints
tolen(i_assembly._all_joints)
did the trickThe text was updated successfully, but these errors were encountered: