Hi, i discover this impressed project and after some tests i have some questions

gplus
(Frank Herrmann) #1

Hi, i discover this impressed project and after some tests i have some questions :slight_smile:

If it possible to add a widget with templates for materials. I.e. i choose a material from a pulldown menu “POM Delron”, the widget change all feeds to the milling speed for delron after some question about tool and diameter. The algorythm are not very difficult. please check this website http://zero-divide.net/?page=fswizard or simple but in german http://www.cenon.de/cgi-bin/ToolCalc?lng=de

(JOHN LAUER) #2

Yes, doing a widget like this would be an awesome addition. I’d love to help get you started if you’re interested in contributing one.

(Frank Herrmann) #3

Ok, Sounds good. Then i’ll Check the developer Document :slight_smile:

(JOHN LAUER) #4

I would watch some of the Youtube videos that show you how to create a widget. There is also a Hello World Widget video https://www.youtube.com/watch?v=W7G_veKyb_k that is probably the most relevant.

(Frank Herrmann) #5

Hello John, here the first skeletton to calculate the correct speed and feed: https://jsfiddle.net/xpix/5yem88qo/2/ The materials can defined in the first step.

Now i’ll check the widget feature to implement this and change the gcode on the fly. One Question, how can i save some Machine data (max spindle speed, etc) … via cookie or local database?

(JOHN LAUER) #6

The way to store data locally is:

localStorage.setItem(“mykey”, “myValue”);

Then to get it later:

var myVal = localStorage.getItem(“myKey”);

(Frank Herrmann) #7

Great! Thank you!