| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 | var ITEMTYPE = {    Racking: 0,    RackingBeam: 1,    RackingBare: 2,    Rail: 3,    RailLimit: 4,    Xtrack: 5,    Xtrack2: 6,    XtrackInter: 7,    XtrackInter2: 8,    LiftRackingTop: 9,    LiftRacking: 10,    LiftCarrier: 11,    Carrier: 12,    Pallet: 13,    XtrackExt: 14,    SafetyFenceWithoutD: 15,    SafetyFenceWithD: 16,    SafetyFenceForPallet: 17,    AutomatedTransferCart: 18,    RailAutomatedTransCart: 19,    XtrackOutside: 20,    PalletDropSpot: 21,    SafetyFence200: 22,    RailOutside: 23,    ChainConveyor: 24,    ChainConveyor2: 25,    PalletDropSpotChainC: 26,    RollerConveyor200: 27,    RollerConveyorChainC: 28,    ChargingStation: 29,    SafetyFence100: 30,    SafetyFenceD: 31,    ContourScanner: 32,    ExteriorStairs: 33}var ITEMCONTROL = {    auto: 0,    manual: 1}var ITEMDIRECTION = {    bottom: 0,    left: 1,    top: 2,    right: 3}var liftRackingInfo = [    { 'name': 'lift-racking-960', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 0.96, originMesh: null, meshData: [] },    { 'name': 'lift-racking-1160', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 1.16, originMesh: null, meshData: [] },    { 'name': 'lift-racking-1360', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 1.36, originMesh: null, meshData: [] },    { 'name': 'lift-racking-1560', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 1.56, originMesh: null, meshData: [] },    { 'name': 'lift-racking-1760', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 1.76, originMesh: null, meshData: [] },    { 'name': 'lift-racking-1960', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'lift-racking-2160', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 2.16, originMesh: null, meshData: [] },    { 'name': 'lift-racking-2360', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 2.36, originMesh: null, meshData: [] },    { 'name': 'lift-racking-2560', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 2.56, originMesh: null, meshData: [] },    { 'name': 'lift-racking-2760', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 2.76, originMesh: null, meshData: [] }]var itemInfo = [    { 'name': 'racking', 'type': ITEMTYPE.Racking, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'racking-beam', 'type': ITEMTYPE.RackingBeam, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'racking-bare', 'type': ITEMTYPE.RackingBare, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'rail', 'type': ITEMTYPE.Rail, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'rail-limit', 'type': ITEMTYPE.RailLimit, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'xtrack', 'type': ITEMTYPE.Xtrack, 'width': g_width, 'length': 0.88, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'xtrack2', 'type': ITEMTYPE.Xtrack2, 'width': g_width, 'length': 0.88, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'xtrack-inter', 'type': ITEMTYPE.XtrackInter, 'width': g_width, 'length': 0.88, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'xtrack-inter2', 'type': ITEMTYPE.XtrackInter2, 'width': g_width, 'length': 0.88, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'lift-racking-top', 'type': ITEMTYPE.LiftRackingTop, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'lift-racking', 'type': ITEMTYPE.LiftRacking, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'lift-carrier', 'type': ITEMTYPE.LiftCarrier, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'carrier', 'type': ITEMTYPE.Carrier, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'pallet-1000x1200', 'type': ITEMTYPE.Pallet, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'xtrack-extension', 'type': ITEMTYPE.XtrackExt, 'width': g_width, 'length': 0.53, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'safety-fence-without-door', 'type': ITEMTYPE.SafetyFenceWithoutD, 'width': g_width, 'length': 0.14, 'height': 1.4, originMesh: null, meshData: [] },    { 'name': 'safety-fence-with-door', 'type': ITEMTYPE.SafetyFenceWithD, 'width': g_width, 'length': 0.14, 'height': 1.4, originMesh: null, meshData: [] },    { 'name': 'safety-fence-for-pallet', 'type': ITEMTYPE.SafetyFenceForPallet, 'width': g_width, 'length': 0.14, 'height': 1.4, originMesh: null, meshData: [] },    { 'name': 'automated-transfer-cart', 'type': ITEMTYPE.AutomatedTransferCart, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] },    { 'name': 'rail-automated-transfer-cart', 'type': ITEMTYPE.RailAutomatedTransCart, 'width': g_width, 'length': 2.48, 'height': 1.96, originMesh: null, meshData: [] }]var manualItemInfo = [    { 'name': 'xtrack-outside', 'type': ITEMTYPE.XtrackOutside, 'direction': ITEMDIRECTION.bottom, 'width': 1.45, 'length': 1.76, 'height': 1, 'multiply': 1.44, originMesh: null, meshData: [] },    { 'name': 'pallet-drop-spot', 'type': ITEMTYPE.PalletDropSpot, 'direction': ITEMDIRECTION.bottom, 'width': 1.24, 'length': 1.54, 'height': 1.2, 'multiply': 1.44, originMesh: null, meshData: [] },    { 'name': 'safety-fence-200', 'type': ITEMTYPE.SafetyFence200, 'direction': ITEMDIRECTION.bottom, 'width': 0.1, 'length': 2, 'height': 4.2, 'multiply': 1.945, originMesh: null, meshData: [] },    { 'name': 'rail-outside', 'type': ITEMTYPE.RailOutside, 'direction': ITEMDIRECTION.bottom, 'width': 1.04, 'length': 1.24, 'height': 1, 'multiply': 1.24, originMesh: null, meshData: [] },    { 'name': 'chain-conveyor-400', 'type': ITEMTYPE.ChainConveyor, 'direction': ITEMDIRECTION.bottom, 'width': 1.02, 'length': 4.02, 'height': 1, 'multiply': 4.02, originMesh: null, meshData: [] },    { 'name': 'chain-conveyor-540', 'type': ITEMTYPE.ChainConveyor2, 'direction': ITEMDIRECTION.bottom, 'width': 1.02, 'length': 5.44, 'height': 1.2, 'multiply': 5.44, originMesh: null, meshData: [] },    { 'name': 'pallet-drop-spot-with-chain-conveyor', 'type': ITEMTYPE.PalletDropSpotChainC, 'direction': ITEMDIRECTION.bottom, 'width': 2.314, 'length': 1.54, 'height': 1, 'multiply': 1.44, originMesh: null, meshData: [] },    { 'name': 'roller-conveyor-200', 'type': ITEMTYPE.RollerConveyor200, 'direction': ITEMDIRECTION.bottom, 'width': 1.075, 'length': 2.066, 'height': 1.2, 'multiply': 2.066, originMesh: null, meshData: [] },    { 'name': 'roller-conveyor-for-chain-conveyor', 'type': ITEMTYPE.RollerConveyorChainC, 'direction': ITEMDIRECTION.bottom, 'width': 1.075, 'length': 2, 'height': 1.2, 'multiply': 2, originMesh: null, meshData: [] },    { 'name': 'pallet-drop-spot-with-charger', 'type': ITEMTYPE.ChargingStation, 'direction': ITEMDIRECTION.bottom, 'width': 1.24, 'length': 1.54, 'height': 1.2, 'multiply': 1.44, originMesh: null, meshData: [] },    { 'name': 'safety-fence-100', 'type': ITEMTYPE.SafetyFence100, 'direction': ITEMDIRECTION.bottom, 'width': 0.1, 'length': 1.03, 'height': 4.2, 'multiply': 0.9745, originMesh: null, meshData: [] },    { 'name': 'safety-fence-door', 'type': ITEMTYPE.SafetyFenceD, 'direction': ITEMDIRECTION.bottom, 'width': 0.1, 'length': 0.825, 'height': 4.2, 'multiply': 0.775, originMesh: null, meshData: [] },    { 'name': 'contour-scanners', 'type': ITEMTYPE.ContourScanner, 'direction': ITEMDIRECTION.bottom, 'width': 1.44, 'length': 0.1, 'height': 3, 'multiply': 1, originMesh: null, meshData: [] },    { 'name': 'exterior-stairs', 'type': ITEMTYPE.ExteriorStairs, 'direction': ITEMDIRECTION.bottom, 'width': 1.7, 'length': 2.44, 'height': 3, 'multiply': 2.44, originMesh: null, meshData: [] }]
 |