#
luxiaotao1123
2021-12-25 2b4aa7fdb59b2656e1281258ebd4a3bccc24958e
static/js/data/ConveyData.js
@@ -2,70 +2,93 @@
    objects: [
        {
            no: '1',
            objectName: 'chain-1',
            objectType: 'chain',
            length: 2750,
            width: 800,
            height: 1,
            position: {
                x: 110,
                y: 0,
                z: 220
            },
            style:{
                color: 0x5F7480,
            rotateY: 0,
            traverse: {
                color: 0xAAAAAA,
                scale: {
                    x: 1,
                    y: 1,
                    z: 1
                }
            }
        },
        {
            no: '2',
            objectName: 'chain-2',
            objectType: 'chain',
            length: 2750,
            width: 800,
            height: 1,
            position: {
                x: 0,
                y: 0,
                z: 0
            },
            style:{
                color: 0x5F7480,
            }
        },
        {
            no: '2',
            objectName: 'roller-1',
            objectType: 'roller',
            length: 2750,
            width: 800,
            height: 1,
            position: {
                x: 0,
                y: 0,
                z: 0
            },
            style:{
            rotateY: Math.PI/2,
            traverse: {
                scale: {
                    x: 2,
                    y: 2,
                    z: 2
                },
                color: 0x5F7480,
            }
        },
        {
            no: '3',
            objectName: 'transport-1',
            objectType: 'transport',
            length: 2750,
            width: 800,
            height: 1,
            objectType: 'roller',
            position: {
                x: 0,
                y: 0,
                z: 0
                x: 210,
                y: 10,
                z: 120
            },
            style:{
                color: 0x5F7480,
            rotateY: Math.PI/2,
            traverse: {
                scale: {
                    x: 2,
                    y: 2,
                    z: 2
                },
                color: 0x000000,
            }
        }
        },
        {
            no: '4',
            objectType: 'transport',
            position: {
                x: 210,
                y: 10,
                z: 120
            },
            rotateY: Math.PI/2,
            traverse: {
                scale: {
                    x: 2,
                    y: 2,
                    z: 2
                },
                color: 0x000000,
            }
        },
        {
            no: '5',
            objectType: 'transport',
            position: {
                x: 310,
                y: 10,
                z: 220
            },
            rotateY: Math.PI/2,
            traverse: {
                scale: {
                    x: 1,
                    y: 1,
                    z: 1
                },
                color: 0xFFFFFF,
            }
        },
    ]
}