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

平面荷重形式の設定

入力 URI

{base url} + db/PNLD



メソッド

POST, GET, PUT, DELETE



JSON スキーマ

詳細

{
    "PNLD": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "NAME": {
                "description": "LoadTypeName",
                "type": "string"
            },
            "DESC": {
                "description": "Description",
                "type": "string"
            },
            "LTYPE": {
                "description": "LoadType(POINTorLINEorAREA)",
                "type": "string"
            },
            "POINTLOAD": {
                "description": "LoadData(PointArray)",
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "X": {
                            "description": "PointX",
                            "type": "number"
                        },
                        "Y": {
                            "description": "PointY",
                            "type": "number"
                        },
                        "F": {
                            "description": "Force",
                            "type": "number"
                        }
                    }
                }
            },
            "LINELOAD": {
                "description": "LoadData(Line)",
                "type": "object",
                "properties": {
                    "bUNIFORM": {
                        "description": "IsUniformData(ifTrue,Force[1]sameasForce[0])",
                        "type": "boolean"
                    },
                    "X": {
                        "description": "PointX1,X2",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 2
                        }
                    },
                    "Y": {
                        "description": "PointY1,Y2",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 2
                        }
                    },
                    "F": {
                        "description": "Force",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 2
                        }
                    }
                }
            },
            "AREALOAD": {
                "description": "LoadData(Surface)",
                "type": "object",
                "properties": {
                    "bUNIFORM": {
                        "description": "IsUniformData(ifTrue,Force[1~3]sameasForce[0])",
                        "type": "boolean"
                    },
                    "b3PNT": {
                        "description": "ifTrue,assignloadwith3point",
                        "type": "boolean"
                    },
                    "X": {
                        "description": "PointX1,X2,X3,X4",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 4
                        }
                    },
                    "Y": {
                        "description": "PointY1,Y2,Y3,Y4",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 4
                        }
                    },
                    "LOAD": {
                        "description": "Load",
                        "type": "array",
                        "items": {
                            "type": "number",
                            "maxItems": 4
                        }
                    }
                }
            },
            "COPY_X": {
                "description": "Copyx-Direction",
                "type": "array",
                "items": {
                    "type": "number"
                }
            },
            "COPY_Y": {
                "description": "Copyy-Direction",
                "type": "array",
                "items": {
                    "type": "number"
                }
            },
            "SEQ": {
                "description": "SequenceNumber(MustbeUnique)",
                "type": "integer"
            }
        }
    }
}


集中

{
    "Assign": {
        "1": {
            "NAME": "Point_examples",
            "DESC": "API_example",
            "LTYPE": "POINT",
            "POINTLOAD": [
                {
                    "X": 0,
                    "Y": 0,
                    "F": -10
                },
                {
                    "X": 1,
                    "Y": -1,
                    "F": 10.5
                }
            ],
            "COPY_X": [
                5,
                5,
                5
            ],
            "COPY_Y": [
                4.5
            ],
            "SEQ": 1
        }
    }
}

ライン : 等分布荷重

{
    "Assign": {
        "2": {
            "NAME": "Line_examples1",
            "DESC": "API_example",
            "LTYPE": "LINE",
            "LINELOAD": {
                "bUNIFORM": true,
                "X": [
                    0,
                    3.5
                ],
                "Y": [
                    0,
                    1.2
                ],
                "F": [
                    20.5
                ]
            },
            "COPY_X": [
                5
            ],
            "COPY_Y": [
                5,
                5,
                5
            ],
            "SEQ": 2
        }
    }
}

ライン : 台形荷重

{
    "Assign": {
        "3": {
            "NAME": "Line_examples2",
            "DESC": "API_example",
            "LTYPE": "LINE",
            "LINELOAD": {
                "bUNIFORM": false,
                "X": [
                    0,
                    3.5
                ],
                "Y": [
                    0,
                    1.2
                ],
                "F": [
                    20.5,
                    11.4
                ]
            },
            "COPY_X": [
                5
            ],
            "COPY_Y": [
                5,
                5,
                5
            ],
            "SEQ": 3
        }
    }
}

平面 : 3点と等分布荷重

{
    "Assign": {
        "4": {
            "NAME": "Area_examples1",
            "DESC": "API_example",
            "LTYPE": "AREA",
            "AREALOAD": {
                "bUNIFORM": true,
                "b3PNT": true,
                "X": [
                    1.5,
                    1.5,
                    0
                ],
                "Y": [
                    0,
                    2,
                    2
                ],
                "LOAD": [
                    41.3
                ]
            },
            "COPY_X": [
                2.5,
                2.5
            ],
            "COPY_Y": [
                1.2,
                1.2,
                1.2
            ],
            "SEQ": 3
        }
    }
}

平面 : 3点と台形荷重

{
    "Assign": {
        "5": {
            "NAME": "Area_examples2",
            "DESC": "API_example",
            "LTYPE": "AREA",
            "AREALOAD": {
                "bUNIFORM": false,
                "b3PNT": true,
                "X": [
                    1.5,
                    1.5,
                    0
                ],
                "Y": [
                    0,
                    2,
                    2
                ],
                "LOAD": [
                    41.3,
                    12.5,
                    13.5
                ]
            },
            "COPY_X": [
                2.5,
                2.5
            ],
            "COPY_Y": [
                1.2,
                1.2,
                1.2
            ],
            "SEQ": 4
        }
    }
}

平面 : 4点と等分布荷重

{
    "Assign": {
        "6": {
            "NAME": "Area_examples3",
            "DESC": "API_example",
            "LTYPE": "AREA",
            "AREALOAD": {
                "bUNIFORM": true,
                "b3PNT": false,
                "X": [
                    1.5,
                    1.5,
                    0,
                    0
                ],
                "Y": [
                    0,
                    2,
                    2,
                    0
                ],
                "LOAD": [
                    41.3
                ]
            },
            "COPY_X": [
                2.5,
                2.5
            ],
            "COPY_Y": [
                1.2,
                1.2,
                1.2
            ],
            "SEQ": 5
        }
    }
}

平面 : 4点と台形荷重

{
    "Assign": {
        "7": {
            "NAME": "Area_examples4",
            "DESC": "API_example",
            "LTYPE": "AREA",
            "AREALOAD": {
                "bUNIFORM": false,
                "b3PNT": false,
                "X": [
                    1.5,
                    1.5,
                    0,
                    0
                ],
                "Y": [
                    0,
                    2,
                    2,
                    0
                ],
                "LOAD": [
                    41.3,
                    24.5,
                    32.6,
                    15.2
                ]
            },
            "COPY_X": [
                5
            ],
            "COPY_Y": [
                3
            ],
            "SEQ": 6
        }
    }
}


仕様

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

1

Load Type Name

"NAME"

String

-

必須

2

Description

"DESC"

String

Blank

オプション

3

Load Type

 • Point: "POINT"

 • Line: "LINE"

 • Area: "AREA"

"LTYPE"

String

-

必須

4

Copy in X-Direction

"COPY_X"

Array
[Number]

-

必須

5

Copy in Y-Direction

"COPY_Y"

Array
[Number]

-

必須

6

Sequence Number (Unique)

"SEQ"

Integer

Auto

オプション

集中荷重のみ

7

Point Loads

 • Insert the data as an object

"POINTLOAD"

Array
[Object]

-

必須

(1)

Point X

"X"

Number

0

オプション

(2)

Point Y

"Y"

Number

0

オプション

(3)

Force

"F"

Number

0

オプション

ライン荷重のみ

7

Line Loads

"LINELOAD"

Object

-

必須

(1)

Load Type

 • Uniform: true

 • Trapezoidal: false

"bUNIFORM"

Boolean

true

オプション

(2)

Coordinates of X1, X2

 • [X1, X2]

"X"

Array
[Number, 2]

0

オプション

(3)

Coordinates of Y1, Y2

 • [Y1, Y2]

"Y"

Array
[Number, 2]

0

オプション

(4)

Force

 • Uniform: [F1]

 • Trapezoidal: [F1, F2]

"F"

Array
[Number, 2]

0

オプション

平面荷重のみ

7

Area Loads

"AREALOAD"

Object

-

必須

(1)

Load Type

 • Uniform: true

 • Trapezoidal: false

"bUNIFORM"

Boolean

false

オプション

(2)

Points

 • 3 points: true

 • 4 points: false

"b3PNT"

Boolean

false

オプション

(3)

Coordinates of X1, X2, X3, X4

 • [X1, X2, X3, X4]

"X"

Array
[Number, 4]

0

オプション

(4)

Coordinates of Y1, Y2, Y3, Y4

 • [Y1, Y2, Y3, Y4]

"Y"

Array
[Number, 4]

0

オプション

(5)

Load

 • Uniform: [F1]

 • Trapezoidal: [F1, F2, F3, F4]

"LOAD"

Array
[Number, 4]

0

オプション



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