Creating a C# application to connect to SprutCAM for managing it
Objectives
- Create a separate application in C# to interact with SprutCAM.
Practical part
- Open the repository in our GitHub account and clone it.
- Find the directory ApplicationEmptyNet - this is what you will base your new application on.
- Open project ApplicationEmptyNet/project/main/ApplicationEmptyNet.csproj.
- Pay attention to:
CamHelper
singleton, which connects to any found SprutCAM instance;
- Modify MainWindow.xaml.cs (optional). You can write your own code using the API - there are no restrictions. The example is kept as simple as possible to demonstrate the overall process of creating a separate application.
- Run example;
- Run SprutCAM separately;
- Press
Open project
, choose any project from examples;
- Ensure that the project you selected has opened in SprutCAM.