Page 1 of 2
Plugin Documentation
Posted:
Tue May 01, 2018 12:02 pm
by saslanis
Anything around that explains the Entry class methods of the Plugininterface?
Re: Plugin Documentation
Posted:
Wed May 02, 2018 5:35 pm
by kig23
Hi,
you can look at the section of the forum (User Documentation) and then the first topic (Macro_capability_detailed.htm - suggested corrections). In this topic at the end you can find the last updated version of the guide with all methods in the Entry class. Robert did a great job with this guide. Thanks to him. Then you can have a look at the example plugin code in the UCCNC folder (C:\UCCNC\Plugins\Example).
Re: Plugin Documentation
Posted:
Thu May 03, 2018 7:19 pm
by Robertspark
It's in my signature section below \/\/\/
Re: Plugin Documentation
Posted:
Fri May 04, 2018 10:45 am
by saslanis
Got it
Thanks
Re: Plugin Documentation
Posted:
Sat Jun 09, 2018 2:22 pm
by asuratman
Hi guys,
This is the way how we learn macro or plugins ? Is there any step by step tutorials, make small program first, etc. ? I am eager to learn to write macro or plugins so that will not disturb anybody with some question which sometimes there is no relation. Thanks in advance.
Re: Plugin Documentation
Posted:
Sat Jun 09, 2018 4:43 pm
by cncdrive
The best way is:
1.) Learn how to program in C#. (Or Visual Basic, because latest test versions also support VB language and plugins can be written in C# or VB or C++)
2.) Check the mentioned documentation and if you already learnt point 1. then it will be easy to write macros or plugins.
Re: Plugin Documentation
Posted:
Sat Jun 09, 2018 4:47 pm
by Robertspark
There is no book on it
Within the default uccnc folder there is a documentation folder which includes a brief explanation.
You can also look at all the macros in the profile folder too
For plugins if you look in the plugins folder there is an example plugin too
The information is quite thin..... You need to struggle through and learn by error .....
What questions do you have and i will try to help
It is probably the same questions all new starters have.... So it may give me an idea what to put in a starters user guide
Re: Plugin Documentation
Posted:
Sat Jun 09, 2018 4:55 pm
by cncdrive
Yes, but the most important is to become familiar with the programming language. If you are familiar with that then it is simple to understand the UCCNC part of programming.
There are many nice C# books available if you want to learn and you can download and use Visual Studio community edition for free of charge from Microsoft's website.
Re: Plugin Documentation
Posted:
Sat Jun 09, 2018 4:56 pm
by Robertspark
This is the book i use for c#
https://www.amazon.co.uk/Beginning-Visu ... 1118314417You don't need it all.... But it's good to understand the basics.
I am not an expert with plugins
Dan has done much much more with modbus and the wizards etc
Re: Plugin Documentation
Posted:
Sat Jun 09, 2018 4:58 pm
by cncdrive
Looks line a nice book Rob.
Learning programming languages is similar to learning to speak languages. You first learn the language itself (words and sentences) only after can you start talking about different topics.