| | |
| | | function StoreCrn(option, object) { |
| | | this.crnBodyLength = option.crnBody.length||30;//库位长度 |
| | | this.crnBodyLength = option.crnBody.length||50;//库位长度 |
| | | this.crnBodyWidth = option.crnBody.width||50;//库位宽 |
| | | this.crnBodyHeight = option.crnBody.height||500;//库位高 |
| | | this.crnLoadLength = option.crnLoad.length||60;//库位长度 |
| | | this.crnLoadWidth = option.crnLoad.width||60;//库位宽 |
| | | this.crnLoadHeight = option.crnLoad.height||40;//库位高 |
| | | this.crnForkLength = option.crnFork.length||80;//库位长度 |
| | | this.crnForkLength = option.crnFork.length||50;//库位长度 |
| | | this.crnForkWidth = option.crnFork.width||20;//库位宽 |
| | | this.crnForkHeight = option.crnFork.height||30;//库位高 |
| | | |
| | |
| | | var a = new THREE.Mesh(new THREE.BoxBufferGeometry(this.crnBodyLength, this.crnBodyHeight, this.crnBodyWidth), new THREE.MeshBasicMaterial({ |
| | | color: 0xff0000, |
| | | transparent: true, |
| | | opacity: 1.3 |
| | | opacity: .3 |
| | | })) |
| | | a.name = option.crnNo + "-body"; |
| | | a.position.x = option.crnBody.position.x; |