Skip to main content
JSON Manual Created Edited

Node Local Axis

Input URI

{base url} + db/SKEW



Active Methods

POST, GET, PUT, DELETE



JSON Schema

Details

{
    "SKEW": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "iMETHOD": {
                "description": "Inputmethod",
                "type": "integer"
            },
            "ANGLE_X": {
                "description": "Anglex",
                "type": "number"
            },
            "ANGLE_Y": {
                "description": "Angley",
                "type": "number"
            },
            "ANGLE_Z": {
                "description": "Anglez",
                "type": "number"
            },
            "P0X": {
                "description": "PointCoordinatex",
                "type": "number"
            },
            "P0Y": {
                "description": "PointCoordinatey",
                "type": "number"
            },
            "P0Z": {
                "description": "PointCoordinatez",
                "type": "number"
            },
            "P1X": {
                "description": "PointCoordinatex",
                "type": "number"
            },
            "P1Y": {
                "description": "PointCoordinatey",
                "type": "number"
            },
            "P1Z": {
                "description": "PointCoordinatez",
                "type": "number"
            },
            "P2X": {
                "description": "PointCoordinatex",
                "type": "number"
            },
            "P2Y": {
                "description": "PointCoordinatey",
                "type": "number"
            },
            "P2Z": {
                "description": "PointCoordinatez",
                "type": "number"
            },
            "V1X": {
                "description": "DirectionVectorx",
                "type": "number"
            },
            "V1Y": {
                "description": "DirectionVectory",
                "type": "number"
            },
            "V1Z": {
                "description": "DirectionVectorz",
                "type": "number"
            },
            "V2X": {
                "description": "DirectionVectorx",
                "type": "number"
            },
            "V2Y": {
                "description": "DirectionVectory",
                "type": "number"
            },
            "V2Z": {
                "description": "DirectionVectorz",
                "type": "number"
            },
            "LV0X": {
                "description": "DirectionVectorx",
                "type": "number"
            },
            "LV0Y": {
                "description": "DirectionVectory",
                "type": "number"
            },
            "LV0Z": {
                "description": "DirectionVectorz",
                "type": "number"
            },
            "LV1X": {
                "description": "DirectionVectorx",
                "type": "number"
            },
            "LV1Y": {
                "description": "DirectionVectory",
                "type": "number"
            },
            "LV1Z": {
                "description": "DirectionVectorz",
                "type": "number"
            },
            "LV2X": {
                "description": "DirectionVectorx",
                "type": "number"
            },
            "LV2Y": {
                "description": "DirectionVectory",
                "type": "number"
            },
            "LV2Z": {
                "description": "DirectionVectorz",
                "type": "number"
            },
            "REFTYPE": {
                "description": "ReferenceType",
                "type": "integer"
            },
            "G_DIR": {
                "description": "GlobalDirection",
                "type": "integer"
            },
            "L_DIR": {
                "description": "LocalDirection",
                "type": "integer"
            }
        }
    }
}


Examples

Angle Type

{
    "Assign": {
        "1": {
            "iMETHOD": 1,
            "ANGLE_X": 45,
            "ANGLE_Y": 0,
            "ANGLE_Z": 90
        }
    }
}

3 Points Type

{
    "Assign": {
        "2": {
            "iMETHOD": 2,
            "P0X": 130,
            "P0Y": 3.35,
            "P0Z": 0,
            "P1X": 127,
            "P1Y": 3.35,
            "P1Z": 0,
            "P2X": 127,
            "P2Y": -3.35,
            "P2Z": 0
        }
    }
}

Vector Type

{
    "Assign": {
        "3": {
            "iMETHOD": 3,
            "V1X": 0,
            "V1Y": -2.95,
            "V1Z": 0,
            "V2X": -3,
            "V2Y": 0,
            "V2Z": 0
        }
    }
}

Line Vector

{
    "Assign": {
        "4": {
            "iMETHOD": 4,
            "P0X": 18.288,
            "P0Y": 10.9728,
            "P0Z": 0,
            "P1X": 0,
            "P1Y": 0,
            "P1Z": -3,
            "P2X": 0,
            "P2Y": 0,
            "P2Z": 0,
            "LV0X": 0,
            "LV0Y": 1,
            "LV0Z": 0,
            "LV1X": 0.7071067811865476,
            "LV1Y": 0,
            "LV1Z": -0.7071067811865476,
            "LV2X": -0.7071067811865476,
            "LV2Y": 0,
            "LV2Z": -0.7071067811865476,
            "REFTYPE": 1,
            "G_DIR": 0,
            "L_DIR": 1
        }
    }
}


Specifications

No. Description Key Value Type Default Required

1

Input Method

 • Angle: 1

 • 3 points: 2

 • Vector: 3

 • Line Vector: 4

"iMETHOD"

Integer

"ANGLE"

Optional

When Input Method, "iMETHOD" is 1 (Angle)

2

About x

"ANGLE_X"

Number

0

Optional

3

About y

"ANGLE_Y"

Number

0

Optional

4

About z

"ANGLE_Z"

Number

0

Optional

When Input Method, "iMETHOD" is 2 (3 Points)

2

P0 Coordinate - X

"P0X"

Number

0

Optional

3

P0 Coordinate - Y

"P0Y"

Number

0

Optional

4

P0 Coordinate - Z

"P0Z"

Number

0

Optional

8

P1 Coordinate - X

"P1X"

Number

0

Optional

6

P1 Coordinate - Y

"P1Y"

Number

0

Optional

7

P1 Coordinate - Z

"P1Z"

Number

0

Optional

8

P2 Coordinate - X

"P2X"

Number

0

Optional

9

P2 Coordinate - Y

"P2Y"

Number

0

Optional

10

P2 Coordinate - Z

"P2Z"

Number

0

Optional

When Input Method, "iMETHOD" is 3 (Vector)

2

Direction Vector V1-x

"V1X"

Number

0

Optional

3

Direction Vector V1-y

"V1Y"

Number

0

Optional

4

Direction Vector V1-z

"V1Z"

Number

0

Optional

8

Direction Vector V2-x

"V2X"

Number

0

Optional

6

Direction Vector V2-y

"V2Y"

Number

0

Optional

7

Direction Vector V2-z

"V2Z"

Number

0

Optional

When Input Method, "iMETHOD" is 4 (Line Vector)

2

Direction Vector V0-x

"LV0X"

Number

0

Optional

3

Direction Vector V0-y

"LV0Y"

Number

0

Optional

4

Direction Vector V0-z

"LV0Z"

Number

0

Optional

8

Direction Vector V1-x

"LV1X"

Number

0

Optional

6

Direction Vector V1-y

"LV1Y"

Number

0

Optional

7

Direction Vector V1-z

"LV1Z"

Number

0

Optional

8

Direction Vector V2-x

"LV2X"

Number

0

Optional

9

Direction Vector V2-y

"LV2Y"

Number

0

Optional

10

Direction Vector V2-z

"LV2Z"

Number

0

Optional

11

Reference Type

 • Ref. Point: 1Required P0, P1 Point

 • Global Direction: 2Required P0 Point

"REFTYPE"

Integer

-

Required

12

Global Direction

 • Global X: 0

 • Global Y: 1

 • Global Z: 2

"G_DIR"

Integer

-

Required

13

Local Direction

 • Local x: 0

 • Local y: 1

 • Local z: 2

"L_DIR"

Integer

-

Required



0
Was this article helpful?