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

線形拘束条件

入力 URI

{base url} + db/MCON



メソッド

POST, GET, PUT, DELETE



JSON スキーマ

詳細

{
    "MCON": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "ITEMS": {
                "description": "Items",
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "ID": {
                            "description": "ID",
                            "type": "integer"
                        },
                        "GROUP_NAME": {
                            "description": "BoundaryGroupName",
                            "type": "string"
                        },
                        "SLAVE_TYPE": {
                            "description": "SlaveType",
                            "type": "string"
                        },
                        "TYPE": {
                            "description": "ConstraintType",
                            "type": "string"
                        },
                        "SLAVES": {
                            "description": "Slave",
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "NODE_KEY": {
                                        "description": "NodeKey",
                                        "type": "integer"
                                    },
                                    "COEFF": {
                                        "description": "Coeff.",
                                        "type": "number"
                                    },
                                    "WEIGHT": {
                                        "description": "Weight",
                                        "type": "number"
                                    },
                                    "DOF": {
                                        "description": "Node",
                                        "type": "integer"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}


明示的

{
    "Assign": {
        "21": {
            "ITEMS": [
                {
                    "ID": 1,
                    "GROUP_NAME": "Service",
                    "SLAVE_TYPE": "100000",
                    "TYPE": "EX",
                    "SLAVES": [
                        {
                            "NODE_KEY": 22,
                            "COEFF": 0.5,
                            "DOF": 0
                        },
                        {
                            "NODE_KEY": 23,
                            "COEFF": 0.5,
                            "DOF": 1
                        },
                        {
                            "NODE_KEY": 32,
                            "COEFF": 0.5,
                            "DOF": 2
                        },
                        {
                            "NODE_KEY": 33,
                            "COEFF": 0.5,
                            "DOF": 3
                        },
                        {
                            "NODE_KEY": 34,
                            "COEFF": 0.5,
                            "DOF": 4
                        },
                        {
                            "NODE_KEY": 35,
                            "COEFF": 0.5,
                            "DOF": 5
                        }
                    ]
                }
            ]
        }
    }
}

加重変位

{
    "Assign": {
        "24": {
            "ITEMS": [
                {
                    "ID": 1,
                    "GROUP_NAME": "Service",
                    "SLAVE_TYPE": "110001",
                    "TYPE": "WD",
                    "SLAVES": [
                        {
                            "NODE_KEY": 25,
                            "WEIGHT": 10
                        },
                        {
                            "NODE_KEY": 26,
                            "WEIGHT": 10
                        },
                        {
                            "NODE_KEY": 36,
                            "WEIGHT": 10
                        },
                        {
                            "NODE_KEY": 37,
                            "WEIGHT": 10
                        }
                    ]
                }
            ]
        }
    }
}


仕様

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

1

Linear Constraints

 • Insert the data as an object

"ITEMS"

Array
[Object]

-

必須

(1)

Serial Number

"ID"

Integer

0

オプション

(2)

Load Group Name

"GROUP_NAME"

String

Blank

オプション

(3)

DOF of Constraint Node

 • 6th decimal place: DX

 • 5th decimal place: DY

 • 4th decimal place: DZ

 • 3rd decimal place: RX

 • 2nd decimal place: RY

 • 1st decimal place: RZ

"SLAVE_TYPE"

String

-

必須

(4)

Constraint Type

 • Explicit: "EX"

 • Weighted Displacement: "WD"

"TYPE"

String

-

必須

明示的

(5)

Independent Nodes

 • Insert the data as an object

"SLAVES"

Array
[Object]

-

必須

i. Node ID Number

"NODE_KEY"

Integer

-

必須

ii. Coefficient

"COEFF"

Number

-

必須

iii. Degree of Freedom

 • DX: 0

 • DY: 1

 • DZ: 2

 • RX: 3

 • RY: 4

 • RZ: 5

"DOF"

Integer

-

必須

加重変位

(5)

Independent Nodes

 • Insert the data as an object

"SLAVES"

Array
[Object]

-

必須

i. Node ID Number

"NODE_KEY"

Integer

-

必須

ii. Weight

"WEIGHT"

Number

-

必須



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