Skip to main content
JSON Manual Created Edited

Plate Cutting Line Diagram

Input URI

{base url} + db/CLWP



Active Methods

POST, GET, PUT, DELETE



JSON Schema

Details

{
    "CLWP": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "NAME": {
                "description": "Name",
                "type": "string"
            },
            "DIR": {
                "description": "Direction",
                "type": "string"
            },
            "PT1X": {
                "description": "Point1X",
                "type": "number"
            },
            "PT1Y": {
                "description": "Point1Y",
                "type": "number"
            },
            "PT1Z": {
                "description": "Point1Z",
                "type": "number"
            },
            "PT2X": {
                "description": "Point2X",
                "type": "number"
            },
            "PT2Y": {
                "description": "Point2Y",
                "type": "number"
            },
            "PT2Z": {
                "description": "Point2Z",
                "type": "number"
            },
            "PT3X": {
                "description": "Point3X",
                "type": "number"
            },
            "PT3Y": {
                "description": "Point3Y",
                "type": "number"
            },
            "PT3Z": {
                "description": "Point3Z",
                "type": "number"
            },
            "R": {
                "description": "ColorRValue",
                "type": "integer"
            },
            "G": {
                "description": "ColorGValue",
                "type": "integer"
            },
            "B": {
                "description": "ColorBValue",
                "type": "integer"
            }
        }
    }
}


Examples

Plate Cutting Line Diagram

{
    "Assign": {
        "1": {
            "NAME": "CL1",
            "DIR": "PLANE",
            "PT1X": 0,
            "PT1Y": 10710,
            "PT1Z": -1000,
            "PT2X": 0,
            "PT2Y": 10710,
            "PT2Z": 0,
            "PT3X": 0,
            "PT3Y": 9945,
            "PT3Z": 0,
            "R": 0,
            "G": 0,
            "B": 0
        }
    }
}


Specifications

No. Description Key Value Type Default Required

1

Name of Cutting Line

"NAME"

String

-

Required

2

Direction

 • Normal: "NORMAL"

 • In Plane: "DIR"

"DIR"

String

-

Required

3

Point 1 - X

"PT1X"

Number

-

Required

4

Point 1 - Y

"PT1Y"

Number

-

Required

5

Point 1 - Z

"PT1Z"

Number

-

Required

6

Point 2 - X

"PT2X"

Number

-

Required

7

Point 2 - Y

"PT2Y"

Number

-

Required

8

Point 2 - Z

"PT2Z"

Number

-

Required

9

Point 3 - X

"PT3X"

Number

-

Required

10

Point 3 - Y

"PT3Y"

Number

-

Required

11

Point 3 - Z

"PT3Z"

Number

-

Required

12

Line Color

 • Red

"R"

Integer

0

Optional

13

Line Color

 • Green

"G"

Integer

0

Optional

14

Line Color

 • Blue

"B"

Integer

0

Optional



0
Was this article helpful?