Feature Detection - Web API

This page explains how to integrate CAD-AI Web APIs into client applications. It covers authentication, prediction API usage, request/response formats, and common troubleshooting steps.

Integration is a two-step process:

  1. Generate an authentication token using an API Key
  2. Use the token as a Bearer token to call the CAD-AI Prediction API

Prerequisites

Before starting the integration, ensure you have the following items:

This process works for STEP and SAT

  1. For STEP, the Face ID should be present as integer in ADVANCED_FACE label.
  2. For SAT, same IDs are expected to store with attribute: ATTRIB_XACIS_NAME

1. Authentication – Generate Auth Token

API Key

Use the API key provided by Cimatron to generate an authentication token.

Note: Keep the API key secure. Do not expose it in public repositories or client-side code.

Authentication API Details

Authentication Response

On successful authentication, the API returns a token.

Example Response:

{

    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

}

Use this as a Bearer Token for subsequent API calls.

Note:  Generated Bearer Token will expire in 5 mins

2. Prediction API – CAD-AI Feature Recognition

Prediction API Details

Required Headers

Request Input

Prediction API Response

       The API returns AI-based feature recognition results.

       Typical response includes:

     Response structure may evolve based on CAD-AI model updates.

JSON Format

{

  "probabilities":

  {

    FaceID :

    {

      FeatureLabel : Confidence value

    }

  },

  "face_labels":

  {

     FaceID : FeatureLabel

  },

  "label_list": [ FeatureLabelSequence ],

 

  "face_groups":

  {

    FeatureLabel :

    {

      GroupIndex : [FaceIDs]

    }

  },

  "face_type":

  {

    FaceID : FaceTypeIndex

  }

}

Face Type Labels:

0 – Undefined

1 – Wall

2 – Floor

3 – Feature Fillet

Integration Flow Summary

  1. Obtain API Key from Cimatron
  2. Call >Auth API to generate token
  3. Pass token as Authorization: Bearer <token>
  4. Call Prediction API with CAD file input
  5. Parse and consume AI prediction results

Cimatron 2026 Online Help

Some functionality may be dependent on the product package.
Contact your Reseller if you require a license.