Skip to main content
JSON Manual Created Edited

Named Plane

Input URI

{base url} + db/NPLN



Active Methods

POST, GET, PUT, DELETE



JSON Schema

Details

{
    "NPLN": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "NAME": {
                "description": "PlaneName",
                "type": "string"
            },
            "TYPE": {
                "description": "PlaneType",
                "type": "integer"
            },
            "TOL": {
                "description": "Tolerance",
                "type": "number"
            },
            "POINT": {
                "description": "Point",
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "ITEM": {
                            "description": "PointItem",
                            "type": "array",
                            "items": {
                                "type": "number"
                            }
                        }
                    }
                }
            },
            "COORD": {
                "description": "Coord",
                "type": "number"
            }
        }
    }
}


Examples

Named Plane

{
    "NPLN": {
        "1": {
            "NAME": "NP11",
            "TYPE": 1,
            "TOL": 1,
            "POINT": [
                {
                    "ITEM": [
                        0,
                        235,
                        0
                    ]
                },
                {
                    "ITEM": [
                        0,
                        9710,
                        0
                    ]
                },
                {
                    "ITEM": [
                        15250,
                        9710,
                        0
                    ]
                }
            ]
        },
        "2": {
            "NAME": "NP12",
            "TYPE": 2,
            "TOL": 1,
            "COORD": -12000
        }
    }
}


Specifications

No. Description Key Value Type Default Required

1

Plane Name

"NAME"

String

-

Required

2

Plane Type

 • 3 Points: 1

 • X-Y Plane: 2

 • X-Z Plane: 3

 • Y-Z Plane: 4

"TYPE"

Integer

-

Required

When Plane Type, "TYPE" is 1

3

Point Data

"POINT"

Object

-

Required

(1)

Cutting location

 • 3 Points: 1st, 2nd, 3rd points

 • X-Y Plane: Z Position

 • X-Z Plane: Y Position

 • X-Z Plane: X Position

"ITEM"

Array

[Number]

-

Required

When Plane Type, "TYPE" is 2 to 4

4

Coordinates

"COORD"

Number

0

Optional

5

Tolerance

"TOL"

Number

0

Optional



0
Was this article helpful?