chamfer gadget 1.3 doesn't work in v. 9.012

This section is for general discussion about Gadgets
Post Reply
richard@cnc
Posts: 7
Joined: Thu Nov 30, 2017 11:02 pm
Model of CNC Machine: 9015(35,43x59,06 inch) cnc router
Location: Austria

chamfer gadget 1.3 doesn't work in v. 9.012

Post by richard@cnc »

Hello

today i have installed the new chamfer gadget in Vcarve 9.012.
when i start the app it comes an error message < attempt to call a nil value>
unfortunately, the chamfer gadget still does not work
I also noticed that the gadget files are not installed in the folder `<chamfer> but in the root directory of v9 gadgets
creating a folder manually and copying the files into it also brings no success.
I hope there will be a solution for this

Richard

User avatar
Adrian
Vectric Archimage
Posts: 14503
Joined: Thu Nov 23, 2006 2:19 pm
Model of CNC Machine: ShopBot PRS Alpha 96x48
Location: Surrey, UK

Re: chamfer gadget 1.3 doesn't work in v. 9.012

Post by Adrian »

The installation path is correct as far as I know. It's only gadgets that have support files or have multiple steps that install into a sub-directory. Simple stand alone ones have always installed in the root folder for the program version in gadgets.

The problem with the nil value is caused by a bit of development code that looks like it's been left in the file by error. If you edit the chamfer.lua file (notepad works fine if you don't have any other editor) and put -- before the line which says require("mobdebug").start() and save the file it will then work.

richard@cnc
Posts: 7
Joined: Thu Nov 30, 2017 11:02 pm
Model of CNC Machine: 9015(35,43x59,06 inch) cnc router
Location: Austria

Re: chamfer gadget 1.3 doesn't work in v. 9.012

Post by richard@cnc »

Hi Adrian,
You were absolutely right it was due to these 2 lines from the header.
Now it works great :D

Thanks for your support

Richard

Post Reply