メインコンテンツへスキップ
JSON Manual 作成 編集

板切断線図

入力 URI

{base url} + db/CLWP



メソッド

POST, GET, PUT, DELETE



JSON スキーマ

詳細

{
    "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"
            }
        }
    }
}


板切断線図

{
    "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
        }
    }
}


仕様

No. 説明 Key データ型 Default 必須

1

Name of Cutting Line

"NAME"

String

-

必須

2

Direction

 • Normal: "NORMAL"

 • In Plane: "DIR"

"DIR"

String

-

必須

3

Point 1 - X

"PT1X"

Number

-

必須

4

Point 1 - Y

"PT1Y"

Number

-

必須

5

Point 1 - Z

"PT1Z"

Number

-

必須

6

Point 2 - X

"PT2X"

Number

-

必須

7

Point 2 - Y

"PT2Y"

Number

-

必須

8

Point 2 - Z

"PT2Z"

Number

-

必須

9

Point 3 - X

"PT3X"

Number

-

必須

10

Point 3 - Y

"PT3Y"

Number

-

必須

11

Point 3 - Z

"PT3Z"

Number

-

必須

12

Line Color

 • Red

"R"

Integer

0

オプション

13

Line Color

 • Green

"G"

Integer

0

オプション

14

Line Color

 • Blue

"B"

Integer

0

オプション



0
コンテンツが役に立ちましたか?