3D Measure Up API

  1. Measure
  2. Metrics

Measure

Measure

POST

/models/measure

Usage and SDK Samples

Curl

curl -X POST -H x-api-key: [[apiKey]]” “https://api.3dmu.prototechsolutions.com/v3/models/measure”

Parameters

Body parameters

Description

{
	Required: filesource,filetype,fileurl,mat
	type: string
	fileurl: string (MODEL-URL)
	auto_align: (true/false)
	orientation_matrix: string (comma seprated alignment matrix)
	filesource: string (url)
	filetype: string (obj|stl)
	output: string (csv|json)
	Default: json
}

 

Responses

Status: 200 – Success Response

Header

NameTypeFormatDescription
Access-Control-Allow-OriginString

 

Schema

{
	statusCode: number
	requestId: string (uuid)
}

 

Status: 400 – Bad Request

Schema

{
	statusCode: integer
	errorMessage: string
}

 

Status: 500 – Internal Server Error

Schema

{
      statusCode:
      integer
      errorMessage:
      string
}

 

Status: 501 – Internal Server Error

Schema

{
	statusCode: integer (501)
	errorMessage: string
}

 

Status: 512 – Internal Server Error

Schema

{
	statusCode: integer
	errorMessage: string
}

 

Status: 513 – Internal Server Error

Schema

{
	statusCode: integer
	errorMessage: string
}

Metrics

GET

metrics/models/metrics

Usage and SDK Samples

Curl

curl -X GET -H “x-api-key: [[apiKey]]” “https://api.3dmu.prototechsolutions.com/v3/models/metrics”

Parameters

Responses

Status: 200 – Success Response

Header

NameTypeFormatDescription
Access-Control-Allow-OriginString

 

Schema

 

{

    “results”:

    {

“metrics”: {

     “girths”: [

         {

             “id”: 101,

             “name”: “head_start”,

             “label”: “Head Start”,

             “girth”: [],

             “level”: 1.6556999683380127,

             “confidence”: 0

         },

         {

             “id”: 102,

             “name”: “head_end”,

             “label”: “Head End”,

             “girth”: [

                 0.44

             ],

             “level”: 1.440644410850525,

             “confidence”: 10

         },

         {

             “id”: 103,

             “name”: “neck_end”,

             “label”: “Neck End”,

             “girth”: [

                 0.42

             ],

             “level”: 1.386880521478653,

             “confidence”: 10

         },

         {

             “id”: 104,

             “name”: “shoulder”,

             “label”: “Shoulder”,

             “girth”: [

                 0.92

             ],

             “level”: 1.333116632106781,

             “confidence”: 90

         },

         {

             “id”: 121,

             “name”: “right_wrist_girth”,

             “label”: “Right Wrist”,

             “girth”: [

                 0.13

             ],

             “level”: 0.9047205306301773,

             “confidence”: 90

         },

            … 

     ]

}

}

}


Status: 202 – Pending Response

Status: 404 – Inbvalid RequestID
Status: 500 – Internal Server Error

Scroll to Top