Skip to content

FIX Assembly input for meshcloud Distance Calculation #66

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

Merged
merged 4 commits into from
Aug 24, 2024

Conversation

eleniv3d
Copy link
Collaborator

This PR changes the input of the DF_cloud_mesh_distance component from DFBeam to DFAssembly for consistency and should address issue #55 and issue #52

We decide whether to calculate joints or beams by comparing the length of the cloud source input list with the number of beams and joints in the assembly, and output a respective message

PR.mp4

Copy link
Contributor

@9and3 9and3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just very minor minor tiny things from my side! Thanks 🙌

deps/pybind11 Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you get our this from the PR to avoid conflicts please?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okie. i deleted the folder in the last push. Let me know if there was a better way to take it out :)

Copy link
Collaborator

@DamienGilliard DamienGilliard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! I just found one typo 🕵️‍♂️

ghenv.Component.Message= f"Per Joint"
rh_mesh_target_list = [joint.to_mesh(i_analysis_resolution) for joint in i_assembly._all_joints]
else:
ghenv.Component.AddRuntimeMessage(RML.Warning, "The input number of obejcts to compare matches neither the number of beams nor the number of joints")
Copy link
Collaborator

@DamienGilliard DamienGilliard Aug 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small typo in the runtime message ;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noted ;)

@eleniv3d eleniv3d removed the request for review from mariklad August 23, 2024 16:21
@9and3
Copy link
Contributor

9and3 commented Aug 24, 2024

Amazing merging this one so that we have a full pipeline to test! Thanks @eleniv3d !

Copy link
Contributor

@9and3 9and3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 !

@9and3 9and3 merged commit a82b792 into main Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace DFAssemblyin gh components for consistency Detect evaluate mesh-cloud error for joints or assembly
3 participants