Skip to content
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

how to create a python-based plugin that will print an object's details #127

Open
donish-getstand opened this issue Nov 2, 2024 · 1 comment

Comments

@donish-getstand
Copy link

Hi!

I am trying to script a python based plugin that will print to CloudCompare's console an object's scalar classification after the user 'clicks'/selects the the object in CloudCompare's 3D View.

The way I am trying to go about this is scripting the command in a python file (the file will have a listening function for mouse clicks) and then use CloudCompare's Python File Runner to run the file. I haven't had much success on getting this to work. Any help/suggestions/ideas on how I can get this to work?

Thanks in advance!

@tmontaigu
Copy link
Owner

tmontaigu commented Nov 5, 2024

I don't think that's possible, or if it is, it's probably quite complex to do

What easily work is having the user click the action to trigger the print after it selected entities

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

No branches or pull requests

2 participants