Login  Register

I need detailed documentation on developing LibreCAD plugins.

Posted by timberners on Aug 07, 2024; 2:15am
URL: https://forum.librecad.org/I-need-detailed-documentation-on-developing-LibreCAD-plugins-tp5725201.html

Hello, developers.
I need detailed documentation on developing LibreCAD plugins. The information on this website is too sketchy:https://wiki.librecad.org/index.php?title=LibreCAD_Plugin_Development
For example, how do I write the plugin code to:

Get text input from the user?
Obtain the input coordinates?
Additionally, how do I write the code to:
Get all objects and their related attributes (such as coordinates, length, enclosed area, enclosed circular area, filled area of the pattern, etc.) in the current user's selection set?
Furthermore, I would like to know how to:
Create a small button tool that, when clicked, pops up a custom interface that I've defined.
So, where can I find more detailed documentation for plugin development?Or videos with rich plugin development examples?

Thanks a lot.