Generate G-code Using Snapmakerjs

G-code is a programming language that the machine understands and is a series of commands that tells the machine what actions to perform - where to move, what speed to use, what temperatures to set, and much more. Before you start laser engraving, you need to generate the G-code file from the image you want to engrave.

1) Download Snapmakerjs at https://snapmaker.com/download

2) Connect the computer to the machine using the provided USB Cable.

3) In (Workspace) > Connection, click , select the Port connected to the machine and click Open.

Note: If you cannot find any port to connect to and your computer uses the latest Mac OS Sierra, please download and install the driver at snapmaker.com/download

4) In the left column, click (Laser G-code Generator).

5) Click Upload Image and select the image you want to engrave.6) Select the effect you want, GREYSCALE, B&W or VECTOR. Configure the settings and click Preview to see what you will get.

  • Greyscale: The engraved picture will be in different shades of grey depending on its original color. If you select this effect, configure the parameters according to the following explanations:

A. Contrast: The difference between the lightest color and the darkest color. The contrast is more obvious when this value is bigger.

B. Brightness: The engraved picture is brighter when this value is bigger.

C. White Clip: Set the threshold to turn the color that is not pure white into pure white. 0 means pure black and 255 means pure white and each of the colors in between is assigned a specific number. If White Clip is set to 88, colors whose number is larger than 88 will be turned into pure white (255).

D. Algorithm: Determines how the dots are engraved on the material. See the effect of different Algorithms:

Atkinson:

Burks:

FloyedSteinburg:

JarvisJudiceNinke:

Sierra2:

Sierra3:

SierraLite:

Stucki:

E. Size: Enter the size of the engraved picture. The size cannot be larger than 125 x 125 mm nor the size of your material.

F. Quality: Determines how fine and smooth the engraved picture will be. The bigger this value is, the better quality you will get. The range is 1-10 pixel/mm and 10 is recommended.

G. Dwell Time: Determines how long the laser keeps on when it’s engraving a dot. The bigger this value is, the slower the machine engraves.

H. Work Speed: Determines how fast the machine moves when it’s moving from one dot to the other.

  • B&W: The engraved picture will be in black and white without any grey color. If you select this effect, configure the parameters according to the following explanations:

A. B&W: Set the proportion of the black color based on the original color of the image. The bigger this value is, the bigger the proportion of the black color will be.

B. Size: Enter the size of the engraved picture. The size cannot be larger than 125 x 125 mm or the size of your material.

C. Line Direction: Determines in which direction the Laser Engraving Module moves, Horizontal, Vertical, Diagonal, or Diagonal2. It saves time if you choose the right direction for your image.

D. Quality: Determines how fine and smooth the engraved picture will be. The bigger this value is, the better quality you will get. The range is 1-10 pixel/mm and 10 is recommended.

E. Work Speed: Determines how fast the machine moves when it’s engraving.

F. Jog Speed: Determines how fast the machine moves when it’s not engraving.

  • Vector: This effect is used for engraving vector graphics. The engraved picture will be in black and white without any grey color. If you select this effect, configure the parameters according to the following explanations:

A. Source Type: Select the type of the image. Raster supports PNG and JPEG images, while SVG only supports SVG images. The Raster images will be transferred into SVG automatically.

B. B&W (for Raster): Set the proportion of the black color based on the original color of the image. The bigger this value is, the bigger the proportion of the black color will be.

C. Impurity Size (for Raster): Determines the minimum size of the color lumps which can be showed. Color lumps that are smaller than this size will be turned into the opposite color.

D. Invert (for Raster): Inverts black to white and vise versa.

E. Size: Enter the size of the engraved picture. The size cannot be larger than 125 x 125 mm nor the size of your material.

F. Work Speed: Determines how fast the machine moves when it’s engraving.

G. Jog Speed: Determines how fast the machine moves when it’s not engraving.

H. Optimize Path: Optimizes the path based on the proximity of the lines in the image.

I. Clip: Moves the image to align to the X-axis and Y-axis automatically.

7) Click Generate G-code.

8) Follow the next instruction to set the work origin and adjust the focal length.

results matching ""

    No results matching ""