I want to define a new command in alias for 'Tangential 2 Circles, Radius' (see tiny screenshot of previous comment), which is not included into 'librecad-alias'.
I meant by saying, "How to execute into the software" is that, Will the editing into rs_commands.cpp as shown in previous screenshot, by just click on 'save' and it (the new defined command of Tangential 2 Circles, Radius) will work as 'new command shortcut' along with the edit into the 'librecad-alias' too by just restart the LibreCAD??
And yes, what I define(for my comfort only) for 'Tangential 2 Circles, Radius' is ttr, because basically the circle making a radius will tangent to Two object (not only circles). However, I have no issues with 'ct2' either. ttr is just for fast typing (again, for my comfort).
I am bit lazy to type, C, and T, and then 2 by climbing keyboard's rows, (just imagine, ttr, how fast it is).
I think the rs_commands file should have a standardized command and shortcut in it, and your personal preference for the alias should be in your aliases file. A lot of commands need to be entered into rs_commands.
@VyasG_007, I moved your post here as it is direct related with this thread.
So I understood now that you need help to get changes from source code into the application.
This is a bit too much to handle here, I'll give you some hints, but maybe you should start with some HelloWorld C++ tutorial for a better understanding.
When you change a config file like LibreCAD's command aliases, then this file is read by the binary LibreCAD application and a restart of the application is enough.
But when you change any source code file, you have to create a new binary application from the source code. This requires a tool chain with at least a compiler and linker and often some other tools like make, which automatizes a part of the build process.
Additionally external libraries are used, which brings in ready to use functionality.
To make things not too easy, everything depends on your operating system too.
Concerning your API question:
Qt is an application frame work which makes GUI programming easier, some installer for Windows even contain the compiler/linker tool chain.
muparser is a library we use for command parsing
and boost is a multiple purpose C++ extension library
Basically Plugins are the easy API to extend LibreCAD without knowing much about the internal work flow.
They have to be written in C++ too and have a interface to interact with the active drawing.
This interface allows to add, modify or delete entities to the active document.
Existing plugins are in the plugins folder of the source code.
@flywire I am happy to help and willing to join discussion but I am not a IT professional (developer or programmer), I am a Mechanical Engineer, so I may not help with Coding related discussion but I can help with 'what kind of feature or command should be'.
However, I am finding the best source to Learn C++ online for CAD CUSTOMIZATION which I can use for my projects and contribute here to the community (after sufficient experience with C++ programming).