javascript documentation
Posted: Sun Oct 13, 2013 6:15 pm
Is there any place where the javascript api can be downloaded as a PDF formatted file?
I'm considering moving from IMService's VectorCAD/CAM which is a Windows program to QCAD for my Mac. One of the issues preventing me from moving are the lack of some of the functions that make generating G-Code easier.
I'd like to see how difficult it would be to write some functions that would create a tool-path from a selected object. For example, if I wanted to cut a 1 inch square from a piece of sheet using a 0.125 inch end mill, I'd have to draw a line on each edge of the square offset by 0.0625 (radius of end mill to be used) Then, I'd want to connect each of those lines by an arc of radius 0.0625 whose center is the corner of the 1 inch square. That object, consisting of four lines and four arcs is the tool path which I'd want to convert to G-Code.
Has anyone working using QCAD written scripts that provide that functionality? Also, If that square was to be cut from 0.25 inch thick material using my Sherline mill, I'd probably want to make several shallow cuts around the object, and then complete it with a finishing cut the complete 0.25 inch. Again, this might be accomplished with a script that could be customized to each object. Has anyone written any scripts to provide that functionality?
Thanks for your comments,
Toolznglue
aka Jerry Jankura
I'm considering moving from IMService's VectorCAD/CAM which is a Windows program to QCAD for my Mac. One of the issues preventing me from moving are the lack of some of the functions that make generating G-Code easier.
I'd like to see how difficult it would be to write some functions that would create a tool-path from a selected object. For example, if I wanted to cut a 1 inch square from a piece of sheet using a 0.125 inch end mill, I'd have to draw a line on each edge of the square offset by 0.0625 (radius of end mill to be used) Then, I'd want to connect each of those lines by an arc of radius 0.0625 whose center is the corner of the 1 inch square. That object, consisting of four lines and four arcs is the tool path which I'd want to convert to G-Code.
Has anyone working using QCAD written scripts that provide that functionality? Also, If that square was to be cut from 0.25 inch thick material using my Sherline mill, I'd probably want to make several shallow cuts around the object, and then complete it with a finishing cut the complete 0.25 inch. Again, this might be accomplished with a script that could be customized to each object. Has anyone written any scripts to provide that functionality?
Thanks for your comments,
Toolznglue
aka Jerry Jankura