Differences

This shows you the differences between two versions of the page.

Link to this comparison view

jtp_laser_tool [2019/07/09 09:16]
jtp_laser_tool [2019/11/10 03:16] (current)
Line 1: Line 1:
 +====== JTP Laser Tool ======
  
 +This page is the central documentation site for //** <color #​000000>​JTP Laser Tool</​color>​ **//​ from [[https://​www.51gktools.com/​|GKTOOLS®]]
 +----
 +
 +===== Download and Overview =====
 +Inkscape Laser Plug-In,​Software for GKDraw and GKLaser
 +----
 +
 +There are a few programs we use here at J Tech Photonics, Inc. with our laser upgrade kits to generate the G Code needed to run a program on your 3D printer or CNC machine. ​ We support the vector graphics editing open source software from Inkscape for use with the Laser Tool plug-in. ​ For photos, we support PicLaser from picengrave.com for use with PWM inputs for variable intensity photo engraving. ​ Here you will find how to download and install these programs as well as tutorials on how to use then to generate G Code programs for your laser upgraded machine.
 +
 +The folks over at Inkscape have developed a very good vector editing software program that also allows for extensions. ​ We have updated and modified the original laser engraver plug-in to allow for multiple versions of on and off commands for different printers and CNC machines. ​ If you are installing the newer version of 0.92, I would suggest making a clean install or you might run into problems. ​ Just uninstall your older version before upgrading. ​ We have both versions listed below.
 +
 +For Inkscape version 0.92:
 +To download Inkscape: ​ www.inkscape.org\\
 +
 +Click here to download the plugin: ​
 +[[https://​jtechphotonics.com/​Downloads/​Inkscape/​JTP_Laser_Tool_V2_2%20-%20inkscape%209_2%20version.zip | J Tech Laser Tool Plugin V 2_2 for inkscape 0.92]]
 +
 +For Inkscape version 0.91:
 +To download Inkscape: ​ www.inkscape.org\\
 +
 +Click here to download the plugin: ​
 +[[https://​jtechphotonics.com/​Downloads/​Inkscape/​JTP_Laser_Tool_V1_10.zip |  J Tech Laser Tool Plugin V1_10 for inkscape 0.91]]
 +
 +
 +This plug-in will convert a path object in inkscape into a G Code file for use in your laser upgraded machine. ​ Put the contents of this .zip folder into the “inkscape\share\extensions” folder. ​ Once it is there it will show up under the “extensions” tab in inkscape.  ​
 +
 +  * Known inkscape bug:
 +    * Lines going down from the drawing to Y0 location.If you have lines in your engraving, then the output G Code had a problem with some of the processing.Don’t worry! ​ This can be fixed.The problem is that there are a few lines that the space didn’t get put in between the Y coordinate and the feedrate.To fix, just use a text editor and “find and replace” your feedrate command and put a space before it.Example: ​ If your feedrate was 100, then find “F100″ and put a replace as ” F100″.Do this for both the laser feedrate and the travel feedrate.Everything should work after this!
 +
 +  * We have made some instructions on how to use Inkscape for engraving text and other objects and using the plug-in to generate the G Code.  We have also shown how to import images to make outlines of them to engrave.
 +
 +  * This tutorial will go over how to create drawings and text in inkscape and then create the G Code file needed to run on your 3D printer or CNC machine. ​ We will cover a couple of common items that you can do in inkscape and then use with your GKlaser or GKDraw.
 +
 +===== Overview =====
 +----
 +{{ :​jpt_laser_tool:​overview.jpg?​nolink|}}
 +  * The new plug-in allows for multiple commands for laser on and off for all the different versions of printers as well as the ability for multiple passes for cutting. ​ Here is a description of the features of the plug-in.
 +  - **Laser ON Command:​** ​ The command for turning ON the laser. ​ For example, M03 or M106.
 +  - **Laser OFF Command:** The command for turning OFF the laser. ​ For example, M05 or M107.
 +  - **Travel Speed:​** ​ The speed of the machine when the laser is OFF in mm/min.
 +  - **Laser Speed:​** ​ The speed of the machine when the laser is ON in mm/min.
 +  - **Laser Power:** If you have PWM control, then you can adjust this.  For J Tech firmware and most 3D printers use a number between 0 and 255 (255 being full power). ​ For GRBL 0.9 and 1 standard, use a number between 0 and 12000 (12000 being full power). ​  If you don’t have PWM, keep at max power (either 255 or 12000).
 +  - **Power On Delay:​** ​ This will turn on the laser and wait to move until the delay is complete. ​ It is used to heat up the material and initiate the burning process. ​ Delay in ms for 3D printers and seconds for GRBL.
 +  - **Passes:​** ​ If cutting, this will repeat the entire path by the number of passes. ​ If engraving leave as 1.
 +  - **Pass Depth:​** ​ This will move Z axis down by this amount for each pass.  For example, 3mm piece of material with 3 passes might use 1mm per pass to cut all the way through.
 +  - **Directory:​** ​ The directory to store the file.
 +  - **Filename:​** ​ Name of the file.
 +  - **Add numeric suffix to filename:​** ​ Adds a number to the name in case there already is a file with the same name in the directory.
 +  - **All Units:** Change the units to either mm or inches. ​ This will make everything in inches or mm.
 +  - **Live preview:​** ​ Shows the path being generated.
 +  - **Apply:​** ​ Click to run the converter.
 +  * We change the look of the plugin sometimes, so the pictures of the plugin might be slightly different. ​ This overview section will always have the newest plugin explanations.
 +
 +===== 1.Drawing Text =====
 +----
 +
 +  * Engraving text into materials is a very common need for the laser upgrade. ​ Here is how to accomplish this.
 +{{ :​jpt_laser_tool:​drawing_text01.jpg?​nolink|}}\\
 +
 +    *** Step 1:**  Use the TEXT tool in inkscape to draw your text.  The bottom left corner is you 0,0 location of you machine.
 +{{ :​jpt_laser_tool:​drawing_text02.jpg?​nolink|}}\\
 +
 +    *** Step 2:** You need to convert the object into a path.   All items drawn in inkscape are a vector object. ​ You can convert them into a “path” that will actually “draw” the object. ​ The laser then takes this path to generate the G Code.
 +{{ :​jpt_laser_tool:​drawing_text03.jpg?​nolink|}}\\
 +
 +   *** Step 3:** Under “Extensions” click on “Generate G Code” and “J Tech Photonics Laser Tool.
 +{{ :​jpt_laser_tool:​drawing_text04.jpg?​nolink|}}\\
 +
 +    *** Step 4:** Fill out the Laser Tool Dialog. ​ For more information on the specific items click here.
 +{{ :​jpt_laser_tool:​drawing_text05.jpg?​nolink|}}\\
 +
 +    *** Step 5: ** When finished filling out the form, click APPLY to start.
 +{{ :​jpt_laser_tool:​drawing_text06.jpg?​nolink|}}\\
 +
 +    *** Step 6:**   The laser path will be outlined and the code will be generated in the location provided in the tool.
 +{{ :​jpt_laser_tool:​drawing_text07.jpg?​nolink|}}\\
 +
 +    ***Here is an example of the G Code file produced.**
 +
 +
 +===== 2.Drawing Other Objects =====
 +----
 +{{ :​jpt_laser_tool:​drawing_other_objects.jpg?​nolink|}}\\
 +
 +
 +  * Similar to the text, you can draw anything you want with the other tools. ​ Just at the end when you want to convert it to G Code for the laser. ​ Here is an example of a swirl.
 +
 +===== 3.Drawing Multiple Objects =====
 +----
 +
 +  * In order to draw multiple objects in the same toolpath, you must first group all of the objects and convert to path before generating. ​ Here is an example:
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures01.jpg?​nolink|}}
 +
 +    *** Step 1:**  Draw your separate objects.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures02.jpg?​nolink|}}
 +
 +    *** Step 2:**  Group your objects.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures03.jpg?​nolink|}}
 +
 +    *** Step 3:**  Turn them all into a path.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures04.jpg?​nolink|}}
 +
 +    *** Step 4:**  Start the Laser Tool converter.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures05.jpg?​nolink|}}
 +
 +    *** Step 5:**  Press Apply and run the converter.
 +
 +===== 4.Importing Black and White Pictures =====
 +----
 +
 +  * A cool thing to engrave are black and white “high contrast” images that only have two colors. ​ Here are the steps to engrave them.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures01.jpg?​nolink|}}
 +
 +    * **Step 1:**  Import your image on “file -> Import”. ​ Note it is two colors.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures02.jpg?​nolink|}}
 +
 +    * **Step 2:**  Trace the outline of the image to get the path for the laser.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures03.jpg?​nolink|}}
 +
 +    * **Step 3:**  Using edge detection, update the image and press “OK” to apply the changes.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures04.jpg?​nolink|}}
 +
 +    * **Step 4:**  Delete the original layer underneath the new edge detected layer.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures05.jpg?​nolink|}}
 +
 +    * **Step 5:**  Select “object to path” to create laser path.
 +
 +{{ :​jpt_laser_tool:​importing_black_and_white_pictures06.jpg?​nolink|}}
 +
 +    * **Step 6:**  Generate your laser G Code file by entering your parameters and pressing “Apply”. ​ The laser path will be outlined.
 +
 +===== 5.Creating C Gode for Engraving and Cutting on the Same Drawing =====
 +----
 +
 +  * For cutting and engraving on the same file in inkscape, you need to make at two “objects”. ​ One object will be the engraving and one will be the cut outline. ​ Select the engraving object and click “object to path” and run the inkscape plugin. ​ Put the engraving laser speed for the engraving. ​ Then, click on the cut object (like a line border) and click “object to path” and run the plugin again. ​ This time, put the speed to be a cutting speed (a lot slower) and use multiple passes if needed. ​ Change the name of the file and press apply (or have the “add numeric suffix” button enabled). ​ You will now have a “engraving” G Code file and a “cut” g code file.  You can either combine the two in the same file, or you can run the engraving code first, then run the cut code *without* moving the part you are working on.  It should all line up if nothing moves.
 +  * You can do this process for as many objects as you want to have different parameters in the inkscape Laser Tool Plugin.
 +  * In this example, we have imported a drawing we would like to engrave at one speed and then cut the outside border.
 +
 +{{ :​jpt_laser_tool:​creating_c_gode_for_engraving_and_cutting_on_the_same_drawing01.jpg?​nolink|}}
 +
 +    * **Step 1:** Ungroup objects into separate items. ​ *note* If you have drawn several things on your drawing by yourself, then you would do the opposite. ​ You would group your items you want the same parameters together.
 +
 +{{ :​jpt_laser_tool:​creating_c_gode_for_engraving_and_cutting_on_the_same_drawing02.jpg?​nolink|}}
 +
 +    * **Step 2:**  Select items you want to have the same parameters. ​ If you want to engrave items all at the same speed for example. ​ Hold the shift key down to select multiple objects.
 +
 +{{ :​jpt_laser_tool:​creating_c_gode_for_engraving_and_cutting_on_the_same_drawing03.jpg?​nolink|}}
 +
 +    * **Step 3:**  Press “object to path”
 +
 +{{ :​jpt_laser_tool:​creating_c_gode_for_engraving_and_cutting_on_the_same_drawing04.jpg?​nolink|}}
 +
 +    * **Step 4:** Open Laser Tool Plugin. ​ Make sure “Live Preview” is Unchecked (Live preview assumes you want the whole page engraved the same). ​ Then, enter parameters for the engraving and press “Apply”. ​ This will generate a G Code file for the engraving portion of the drawing.
 +
 +{{ :​jpt_laser_tool:​creating_c_gode_for_engraving_and_cutting_on_the_same_drawing05.jpg?​nolink|}}
 +
 +    * **Step 5:**  Deselect the engraving objects and just select the cut object (or objects). ​ Press “object to path” again and then change the parameters in the Laser Tool Plugin. ​ In this case, we lowered the laser speed and increased the passes to 5.  Press “Apply” to generate another G Code file for the cutting.
 +
 +{{ :​jpt_laser_tool:​creating_c_gode_for_engraving_and_cutting_on_the_same_drawing06.jpg?​nolink|}}
 +
 +    * **Step 6:**  G Code files.
 +    * You now will have at least two separate G Code files, one for engraving and one for cutting (in this example). ​ You can either run them one after another as long as you do not move your workpiece. ​ Alternatively,​ you can combine the files into one using a text editor and run it at the same time.
 +
 +  * So there it is!  Now you are ready to start creating!
  • Show page