Input URI
{base url} + db/MLFC |
---|
Active Methods
POST, GET, PUT, DELETE |
---|
JSON Schema
Details
{
"MLFC": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"NAME": {
"description": "FunctionName",
"type": "string"
},
"TYPE": {
"description": "TypeofFunction(Force/Moment)",
"type": "string"
},
"SYMM": {
"description": "SymmetricBoolean",
"type": "boolean"
},
"FUNC_ID": {
"description": "FunctionID",
"type": "integer"
},
"ITEMS": {
"description": "FunctionItems",
"type": "array",
"items": {
"type": "object",
"properties": {
"X": {
"description": "Disp,Radian",
"type": "number"
},
"Y": {
"description": "Force,Moment",
"type": "number"
}
}
}
}
}
}
}
"MLFC": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"NAME": {
"description": "FunctionName",
"type": "string"
},
"TYPE": {
"description": "TypeofFunction(Force/Moment)",
"type": "string"
},
"SYMM": {
"description": "SymmetricBoolean",
"type": "boolean"
},
"FUNC_ID": {
"description": "FunctionID",
"type": "integer"
},
"ITEMS": {
"description": "FunctionItems",
"type": "array",
"items": {
"type": "object",
"properties": {
"X": {
"description": "Disp,Radian",
"type": "number"
},
"Y": {
"description": "Force,Moment",
"type": "number"
}
}
}
}
}
}
}
Examples
Force-Deformation Function
{
"Assign": {
"1": {
"NAME": "Force_Deform",
"TYPE": "FORCE",
"SYMM": false,
"FUNC_ID": 0,
"ITEMS": [
{
"X": -0.2,
"Y": -1200
},
{
"X": -0.1,
"Y": -1000
},
{
"X": 0,
"Y": 0
},
{
"X": 0.1,
"Y": 1000
},
{
"X": 0.2,
"Y": 1200
}
]
}
}
}
"Assign": {
"1": {
"NAME": "Force_Deform",
"TYPE": "FORCE",
"SYMM": false,
"FUNC_ID": 0,
"ITEMS": [
{
"X": -0.2,
"Y": -1200
},
{
"X": -0.1,
"Y": -1000
},
{
"X": 0,
"Y": 0
},
{
"X": 0.1,
"Y": 1000
},
{
"X": 0.2,
"Y": 1200
}
]
}
}
}
Moment-Radian Function
{
"Assign": {
"2": {
"NAME": "Moment_Radian",
"TYPE": "MOMENT",
"SYMM": true,
"FUNC_ID": 0,
"ITEMS": [
{
"X": 0,
"Y": 0
},
{
"X": 0.3,
"Y": 100
},
{
"X": 0.4,
"Y": 100
}
]
}
}
}
"Assign": {
"2": {
"NAME": "Moment_Radian",
"TYPE": "MOMENT",
"SYMM": true,
"FUNC_ID": 0,
"ITEMS": [
{
"X": 0,
"Y": 0
},
{
"X": 0.3,
"Y": 100
},
{
"X": 0.4,
"Y": 100
}
]
}
}
}
Specifications
No. | Description | Key | Value Type | Default | Required | |
---|---|---|---|---|---|---|
1 |
Function Name |
"NAME" |
String |
- |
Required |
|
2 |
Type of Function • Force: "FORCE" • Moment: "MOMENT" |
"TYPE" |
String |
"MOMENT" |
Optional |
|
3 |
Symmetric Boolean • Symmetric: true • Unsymmetric: false |
"SYMM" |
Boolean |
false |
Optional |
|
4 |
Function ID |
"FUNC_ID" |
Integer |
0 |
Optional |
|
5 |
Function Data • Insert the data as an object |
"ITEMS" |
Array |
- |
Required |
|
(1) |
X-Axis • Force: Displacement • Moment: Radian |
"X" |
Number |
- |
Required |
|
(2) |
Y-Axis |
"Y" |
Number |
- |
Required |