tmontaigu / CloudCompare-PythonRuntime

Python plugin for CloudCompare
55 stars 15 forks source link

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

Open donish-getstand opened 3 weeks ago

donish-getstand commented 3 weeks ago

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 commented 3 weeks ago

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