Raster vectorization and Fanuc ISO code
Click to choose or drag an image here
Supports black-and-white drawings, logos and engraving templates
← Fewer lines (dark only) Value 1 to 254 More detail (including gray) →
Removes small specks, dots and unwanted noise.
Douglas-Peucker removal of redundant points.
Chaikin smoothing removes jagged pixel edges.
Arcs shorten the code and make the feed motion smoother.
Watch a raster image (logo, sketch or template) being vectorized into clean G-code with Custom Macro B variables. See how easily you can change the scale and position of the engraved pattern directly on the machine.
This professional converter transforms graphics (company logos, pictograms, technical sketches and artistic engravings) directly into optimized milling and engraving toolpaths for CNC machines with Fanuc. The backend binarizes the raster in real time, using the Marching Squares traces contour curves, removes jagged pixel edges Chaikin smoothing, reduces redundant points using the Ramer-Douglas-Peucker and optionally approximates line segments with smooth circular arcs G02 / G03.
Lets you upload any JPG, PNG, BMP or SVG image. On first launch, the system automatically generates a demo gear pattern so you can test the functions right away.
Sets the brightness threshold between material and cut. A lower value captures only the darkest lines; a higher value also converts light and gray tones into engraved contours.
Preprocessing of low-quality images. The Invertovat swaps black and white, which is necessary for correctly engraving white artwork on a dark background.
Automatically filters out isolated specks, dust points and unwanted pixel artifacts shorter than the set limit (e.g. up to 1.5 mm). This prevents unnecessary tool plunges in empty areas.
Mathematical reduction of point density along straight and gently curved sections. It cuts the total number of program lines by up to 80% without visible loss of shape accuracy.
A subdivision algorithm that removes the typical pixel staircase effect from the raster, turning jagged edges into smooth, rounded curves.
In G02/G03 the backend fits a circumscribed circle through groups of three points. If the radius is within tolerance, dozens of small line segments are replaced by a single arc command with radius R, giving the smoothest possible machine motion.
Origin location: Bottom-left corner, Pattern center nebo Top-left corner. The options Mirror X a Mirror Y allow producing injection molds or stamps with reversed text.
| Command | Meaning | Function and behavior in the program |
|---|---|---|
| % and O1001 | Program start and number | Standard Fanuc ISO program start, compatible with memory card readers and DNC transfer. |
| G21 | Metric units | Sets the control to millimeter mode. |
| G90 G17 G40 G49 G80 | Safety start-up block | G90: absolutní programování, G17: pracovní rovina XY, G40: zrušení korekce rádiusu frézy, G49: zrušení délkové korekce, G80: zrušení pevných cyklů. |
| G0 / G00 | Rapid traverse (traverses) | Positioning at maximum speed to the safe Z level above the material and traverses between individual engraved contours. |
| G1 / G01 | Linear feed move | Plunges into the material at feed rate Fz and mills linear segments at feed rate Fxy. |
| G2 / G02 | Circular interpolation clockwise (CW) | Smooth clockwise circular arc with the specified radius R. |
| G3 / G03 | Circular interpolation counterclockwise (CCW) | Counterclockwise circular arc. Saves machine memory and produces a smoother surface. |
| M30 | End of program and rewind | Ends the machining cycle and returns the cursor to the start of the program. |
This generator supports advanced parameterization using Fanuc Custom Macro B variables (#). Instead of hard-coded numeric coordinates, the program contains mathematical expressions in square brackets:
G52 X... Y... shifts the machine's entire global origin. If the operator interrupts the cycle with the RESET, stops the program with the emergency stop or a power failure occurs, on many Fanuc machines the G52 shift remains active and not reset in memory!G52 X0 Y0 unintentionally overwrites the values in the base G54 table.#2 = 55.0 and the entire pattern is automatically milled at the new position.#1 = 0.7 scales the entire pattern, including all radii, down to 70% of its original size. All arcs R[#1*...] remain exactly tangent and mathematically correct.WHILE [#2 LE 200] DO 1 mill the same logo on 10 parts side by side with an automatic offset.0.15 to 0.25 mm. This produces a smooth finish without jerky servo-feed movements and significantly reduces total engraving time.