05-15-2024, 02:47 PM
I would like to make a plugin, but am having trouble getting started. I've worked with C++ and Python, but am new to Qt.
I've read the plugin documentation at (https://robodk.com/doc/en/PlugIns/index.html) and installed Qt. I've downloaded the PluginExample.pro file from GitHub and opened it with Qt. My question is, does PluginExample.pro need to be located somewhere specific in my file system? Same question for all the header files referenced in PluginExample.pro. I found all the header and cpp files referenced and placed them in the project folders, but I still get the "no rule to make target" error when I try to run PluginExample.pro.
Could someone share an example of their project with the file structure as well, or provide an alternative example?
Lastly, once I am able to get started making the plugin, one feature I want to have is the ability for the user to select several curves on an object, have those curves added to a list, and have reference frames made from 3 points extracted from each curve. Any code snippets for how to enable curve selection for the user would be much appreciated.
I've read the plugin documentation at (https://robodk.com/doc/en/PlugIns/index.html) and installed Qt. I've downloaded the PluginExample.pro file from GitHub and opened it with Qt. My question is, does PluginExample.pro need to be located somewhere specific in my file system? Same question for all the header files referenced in PluginExample.pro. I found all the header and cpp files referenced and placed them in the project folders, but I still get the "no rule to make target" error when I try to run PluginExample.pro.
Could someone share an example of their project with the file structure as well, or provide an alternative example?
Lastly, once I am able to get started making the plugin, one feature I want to have is the ability for the user to select several curves on an object, have those curves added to a list, and have reference frames made from 3 points extracted from each curve. Any code snippets for how to enable curve selection for the user would be much appreciated.