Tibus / TouchScreen-For-NanoDLP

Nextion Touch Screen => NodeJS => NanoDLP By Mango3D
http://fb.com/mango3dslicer
MIT License
79 stars 74 forks source link

Slice not showing 3.2.HMI #14

Open Dougwar opened 6 years ago

Dougwar commented 6 years ago

Hi, the slice image was not showing, so I change this in /bin/plugins/nextion/pages/printingHome.js :

`
case 11: _context2.next = 13; return this.getValue("t12.x");

          case 13:
            this.imageX = _context2.sent;
            _context2.next = 16;
            return this.getValue("t12.y");

          case 16:
            this.imageY = _context2.sent;
            _context2.next = 19;
            return this.getValue("t12.w");

to this `
case 11: _context2.next = 13; return this.getValue("m0.x");

          case 13:
            this.imageX = _context2.sent;
            _context2.next = 16;
            return this.getValue("m0.y");

          case 16:
            this.imageY = _context2.sent;
            _context2.next = 19;
            return this.getValue("m0.w");`        

Now its working fine