![]() Imgcode - simple image etching gcode generator so far so good, now parsing values. Number_of_colours - number of colours / power steps in output image 1 means B/W etc.įor better results use some graphic program that will allow you to change image to B/W, make higher contrast and set brightens to appropriate level. Max_power - maximal laser power 255 or 1000 in most machines Pixel_size_mm - size of one pixel of image You can set it as you like, but I think that the best value is 0.1mm or 0.2mm. Output_image_horizontal_size_mm - size of eatchet image - pretty obvious, I hope ![]() X_offset_mm y_offset_mm - origin offset it is point where lower left corner of image will be according to machines' coordinate system. Output_file_path - path to gcode file (any extension can be provided. Image_path - path to image file relative or absolute (most file formats should work, if something fails convert it with MS Paint to bmp or png). ![]() \imgcode.py "C:\Documents\laser files\lena.png" "C:\laser files\out files\output_gcode.nc" 0 0 10 0. Python imgcode.py image_path output_file_path x_offset_mm y_offset_mm output_image_horizontal_size_mm pixel_size_mm feedrate max_power number_of_coloursĮ.g. ![]() You'll have write parameters in command line after app name: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |