plugin script

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

plugin script

Birpal Kaur
Hi everyone, here i have create a script for making plugin.
please check it and also feel free to give your value able views.
https://github.com/birpalk/LibrecadPlugins/blob/master/PluginGenerator.sh
Reply | Threaded
Open this post in threaded view
|

Re: plugin script

hsrai
Birpal Kaur wrote
Hi everyone, here i have create a script for making plugin.
please check it and also feel free to give your value able views.
https://github.com/birpalk/LibrecadPlugins/blob/master/PluginGenerator.sh
Time saved is time generated ;-)

Is there any restriction on your current folder, from which this script to be executed?

What is objective and motivation to write such script?
--
H.S.Rai
Reply | Threaded
Open this post in threaded view
|

Re: plugin script

Birpal Kaur
For Creating plugin we have to manually copy the sample folder and have to replace many things over there. Which is very tedious so to save time and user effort I have created this script. Just give permissions to script and run this script in LibreCAD/plugins folder and edit plugins.pro file, add the plugin name in SUBDIRS and save the changes. Plugin is created now run the librecad as project in Qt  and modify its coding.
Enjoy
Reply | Threaded
Open this post in threaded view
|

Re: plugin script

dxli
I feel we can include some plugins in official LibreCAD.

Reply | Threaded
Open this post in threaded view
|

Re: plugin script

Birpal Kaur
Yes we can and ofcourse this script is very useful for creating a basic structure of such plugins.