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

切断線

入力 URI

{base url} + db/CUTL



メソッド

POST, GET, PUT, DELETE



JSON スキーマ

詳細

{
    "CUTL": {
        "$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"
            },
            "R": {
                "description": "ColorRValue",
                "type": "integer"
            },
            "G": {
                "description": "ColorGValue",
                "type": "integer"
            },
            "B": {
                "description": "ColorBValue",
                "type": "integer"
            },
            "TYPE": {
                "description": "Type",
                "type": "integer"
            }
        }
    }
}


切断線

{
    "Assign": {
        "1": {
            "NAME": "Cut-Line#1",
            "DIR": "NORMAL",
            "PT1X": 8.95,
            "PT1Y": 11.0725,
            "PT1Z": 1.205,
            "PT2X": 8.95,
            "PT2Y": -1.0725,
            "PT2Z": 1.205,
            "R": 255,
            "G": 0,
            "B": 0,
            "TYPE": 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

Line Color

 • Red

"R"

Integer

0

オプション

10

Line Color

 • Green

"G"

Integer

0

オプション

11

Line Color

 • Blue

"B"

Integer

0

オプション

12

Type

"TYPE"

Integer

0

オプション



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