Hello,
I am trying to program an aplication with a G code interpreter integrated on it, like in KMCNC.
To use it as example, I was looking for the KMCNC C# code in the PC VCS Examples\KMotinCNCPro folder but the it is empty. It is lost? Should I download it again?
If there is not C# code for KMCNC I would like to know if anyone knows about libraries who could help me to integrate the G code interpreter in my application.
Thank you!
G code interpreter
Moderators: TomKerekes, dynomotion
Re: G code interpreter
KMCNC is written in C++, and the source can be found in the PC VC Examples directory.
- TomKerekes
- Posts: 2679
- Joined: Mon Dec 04, 2017 1:49 am
Re: G code interpreter
No sorry the port of KMotionCNC to C# WPF never progressed.
You might see the SimpleGCode, SimpleGCodeWPF, and KMotion_dotNet examples.
You might see the SimpleGCode, SimpleGCodeWPF, and KMotion_dotNet examples.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: G code interpreter
I actually spent a bit time a couple weeks ago going through the KMCNC source to try and understand how the key functionality worked together (i.e. how the main Controller is initialised and handled, and how the GCode Interpreter interacts with the Code Viewer and Controller), with a view to writing a C# version, but given my complete lack of MFC understanding, I was none the wiser.
It's something I'll possibly re-visit soon, as I'm working on a new machine that I'll need to extend tool handling functionality, and there is no way I'll manage that with MFC!
It's something I'll possibly re-visit soon, as I'm working on a new machine that I'll need to extend tool handling functionality, and there is no way I'll manage that with MFC!
-
- Posts: 25
- Joined: Wed Sep 04, 2019 11:56 am
Re: G code interpreter
Okay, I'll try to come up with some solution myself by looking at those examples.
Thank you for your replies.
Thank you for your replies.