Input URI
{base url} + db/CUTL |
---|
Active Methods
POST, GET, PUT, DELETE |
---|
JSON Schema
Details
{
"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"
}
}
}
}
"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"
}
}
}
}
Examples
Cutting Line
{
"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
}
}
}
"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
}
}
}
Specifications
No. | Description | Key | Value Type | Default | Required |
---|---|---|---|---|---|
1 |
Name of Cutting Line |
"NAME" |
String |
- |
Required |
2 |
Direction • Normal: "NORMAL" • In Plane: "DIR" |
"DIR" |
String |
- |
Required |
3 |
Point 1 - X |
"PT1X" |
Number |
- |
Required |
4 |
Point 1 - Y |
"PT1Y" |
Number |
- |
Required |
5 |
Point 1 - Z |
"PT1Z" |
Number |
- |
Required |
6 |
Point 2 - X |
"PT2X" |
Number |
- |
Required |
7 |
Point 2 - Y |
"PT2Y" |
Number |
- |
Required |
8 |
Point 2 - Z |
"PT2Z" |
Number |
- |
Required |
9 |
Line Color • Red |
"R" |
Integer |
0 |
Optional |
10 |
Line Color • Green |
"G" |
Integer |
0 |
Optional |
11 |
Line Color • Blue |
"B" |
Integer |
0 |
Optional |
12 |
Type |
"TYPE" |
Integer |
0 |
Optional |