Spector Vision
  • Home
  • Getting started
    • Install
    • Device pairing
  • Features
    • 🔬NDT
      • Measurement mesh
      • Measurement display
    • 🗜️Laminate repair tool
    • 📐Space aware positioning
      • Origin manipulation
    • 📹Video capture
    • 🪄Detection
      • Streaming
    • Advanced use
      • Changing API Environment in Spector
  • UI elements
    • 🎛️Defect panel
    • 📍Origin handler
  • API
    • Overview
    • Startup [Admin API]
    • Device [Content API]
      • Main
      • Marker manipulations
    • Documents [Content API]
      • View documents
    • LRT [Detection API]
    • Defect dimensions [Detection API]
    • Space settings
      • Endpoints
  • Releases
    • 1.2
    • 1.1
    • 1.0
    • Pilot 1.8
      • 🥽Fixes
      • 🥽Alignment marker along z-axis
      • 🥽Nodes rotation
    • Pilot 1.7
      • 🥽Status bar and header
      • 🥽Defect description
      • 🥽Defect codes relations
      • 🥽Disposition: select number of plies
      • 🥽Disposition: all plies table
      • 📡Disposition API: get all plies
      • 📡Disposition API: get selected plies
      • 🥽Disposition: selected plies table
      • 🥽Disposition: display layup image
      • 📡Disposition API: Get image layup
      • 📡Disposition API: Update LRT data
      • 🥽Handler (Scene Origin) Rotation
      • 🖥️Portal laminate repair tool
      • 📡Detection API: Defect dimensions
    • Pilot 1.6
    • Pilot 1.5
    • Pilot 1.4
    • Pilot 1.3
    • Pilot 1.1-2
    • 🔵Pilot 1.0
    • Pilot 0.3
    • Pilot 0.2
    • Pilot 0.1
    • 🟢Demo 1.0
    • Demo 0.3
    • Demo 0.2
    • Demo 0.1
  • Identity
    • Spector logo
Powered by GitBook
On this page

Was this helpful?

  1. API

Defect dimensions [Detection API]

https://app-service-detection.azurewebsites.net

Get relative dimensions of a defect

POST /dimensions

Get defect relative dimensions accordignly to a blade (pre set)

Headers

Name
Value

Content-Type

application/json

Body

{
        "nodes": [
            {
                "x": 0, "y": 0, "z": 2
            },
            {
                "x": 0.1, "y": 0, "z": 2
            },
            {
                "x": 0.1, "y": 0, "z": 2.1
            },
            {
                "x": 0, "y": 0, "z": 2.1
            }
        ],
        "handler": {
            "location": {
                "x": 0, "y": 0, "z": 0
            },
            "rotation": {
                "x": 0, "y": 0, "z": 0, "w": 0
            }
        }
    
}

Response

{
    "LEFT": 2023,
    "LENGTH": 611,
    "RIGHT": 2160,
    "ROOT": 2383,
    "TIP": 72502,
    "WIDTH": 451
}
{
  "error": "Invalid request"
}

Last updated 10 months ago

Was this helpful?