• CAMAPI
  • API Documentation
Show / Hide Table of Contents
  • Supported programming languages
    • C#
    • Delphi
    • C++
  • Tutorial lessons
    • Lesson 1 - general introduction to the extension ideology using the example of a C# project
    • Lesson 2 - connecting the SDK to a Delphi project using the build system
    • Lesson 3 - connecting the SDK to a C++ project using the build system
    • Lesson 4 - demonstration of methods for unloading an extension during main application is running
    • Lesson 5 - Creating a custom operation
    • Lesson 6 - Creating a C# application to interact with geometry in main application
    • Lesson 7 - Creating a C# application to connect to main application for managing it
  • System extensions
    • Extension.Util.Common.Dll
    • Extension.Util.Common.Exe
  • Debugging of extensions
    • Debugging a .NET extension using Visual Studio Code
    • Debugging a Delphi extension using RAD Studio
    • Debugging a C++ extension using Visual Studio
  • Entry points
    • Utilitiy in main form
    • Executor for utility in main form
    • New item to the operation's context menu
  • Machining Tools Import
    • Preparing the environment
    • Working with the tool library
    • Working with cutting tools
      • Milling Tools
      • Turning Tools
      • Custom Axial Shaped Tools
    • Working with the tool holder
  • API Documentation
  • External applications
    • Connecting in a C# application
    • Connecting in a Delphi application
    • Connecting in a C++ application

Creating a C# application to interact with geometry in main application

Objectives

  • Create a separate application in C# which works with geometry model.

Practical part

  • Open the repository in our GitHub account and clone it.
  • Find the directory Geometry. This folder contains two examples, one of them shows how to work with importer and the second shows how to use geometry model.
  • Open project ExtensionUtilityGeometryModelNet\project\main\ExtensionUtilityGeometryModelNet.csproj.
  • Build the project.
  • Run ENCY separately.
  • Open Setting, go to the tab Extensions.
  • Press Install, select the file ExtensionUtilityGeometryModelNet\project\main\ExtensionUtilityGeometryModelNet.settings.json.
  • Return to the main window and press Import, select the model Models\Milling_3D\49-1.igs from examples.
  • After the model import is completed, find the utilities button in the upper left corner and run one of utilities:
    • Export geometry node - this utility exports current geometry model to .osd file;
    • Transform geometry node - this utility transforms current geometry model;
    • Select colored geometry nodes - this utility changes color of nodes and selects then in the main window.
In this article
Back to top Generated by DocFX