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) Select the effect you want, B&W, GREYSCALE or VECTOR.

B&W: The engraved picture will be in black and white without any grey color.

Greyscale: The engraved picture will be in different shades of grey depending on its original color.

Vector: This effect is used for engraving vector graphics. The engraved picture will be in black and white without any grey color.

6) Click Upload Image and select the image you want to engrave.

7) Configure the settings and click Preview to see what you will get.

If you select the B&W 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 nor 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. Density: 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. Alignment: Determines whether the center of the image will be aligned to the work origin or not.

If you select the GREYSCALE effect, configure the parameters according to the following explanations:

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

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

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

D. 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).

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

Atkinson:

Burks:

FloyedSteinburg:

JarvisJudiceNinke:

Sierra2:

Sierra3:

SierraLite:

Stucki:

F. Density: 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. Alignment:
Determines whether the center of the image will be aligned to the work origin or not.

If you select the VECTOR 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. Set a higher Impurity size could simplify the picture, and most of the impurities will be eliminated.

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. Alignment:
Determines whether the center of the image will be aligned to the work origin or not.

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

8) Set the Jog Speed and Work Speed, and then click Generate G-code.

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

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

9) Follow the next instruction to set the work origin and find the focus.

results matching ""

    No results matching ""