Plugin Documentation

This is where you talk about Plugins. How they are made and how they work, show examples.

Plugin Documentation

Postby saslanis » Tue May 01, 2018 12:02 pm

Anything around that explains the Entry class methods of the Plugininterface?
saslanis
 
Posts: 7
Joined: Thu Apr 26, 2018 4:21 pm

Re: Plugin Documentation

Postby kig23 » Wed May 02, 2018 5:35 pm

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).
kig23
 
Posts: 161
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

Re: Plugin Documentation

Postby Robertspark » Thu May 03, 2018 7:19 pm

It's in my signature section below \/\/\/
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Plugin Documentation

Postby saslanis » Fri May 04, 2018 10:45 am

Got it
Thanks
saslanis
 
Posts: 7
Joined: Thu Apr 26, 2018 4:21 pm

Re: Plugin Documentation

Postby asuratman » Sat Jun 09, 2018 2:22 pm

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.
asuratman
 
Posts: 118
Joined: Sun Jan 28, 2018 1:50 pm

Re: Plugin Documentation

Postby cncdrive » Sat Jun 09, 2018 4:43 pm

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.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Plugin Documentation

Postby Robertspark » Sat Jun 09, 2018 4:47 pm

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
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Plugin Documentation

Postby cncdrive » Sat Jun 09, 2018 4:55 pm

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.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Plugin Documentation

Postby Robertspark » Sat Jun 09, 2018 4:56 pm

This is the book i use for c#
https://www.amazon.co.uk/Beginning-Visu ... 1118314417

You 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
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Plugin Documentation

Postby cncdrive » Sat Jun 09, 2018 4:58 pm

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. :)
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Next

Return to Plugins

Who is online

Users browsing this forum: No registered users and 5 guests