Open Tarun-Karthik opened 5 years ago
What kind of image are you using for generating the GCode? Please upload the image so that I can test it too.
i am using a png,jpg image for the conversion
do i have to configure anything to make it generate only the boundary and not fill the entire element
Can confirm the behavior. This seems like a bug in em/svg2gcode which is used to generate the gcode for the selected image.
Don't know how it isn't working. The test case for lines.jpg
works fine and gives output for the boundaries. Thanks for reporting the issue. I don't have the time right now but will try to fix it as soon as possible. It would be really great if you could help me out.
To fix the issue remove the "path = path.fillPath(this.toolDiameter, this.precision);" line from /image2gcode-master/image2gcode-master/node_modules/gcanvas/lib/gcanvas.js. I have checked it and also tested it. after removing the line it only generates code for the boundary
This issue should be open for now as this behavior is not expected. I will fix it as soon as possible. Thanks @Tarun-Karthik and @Gupta-Shreya.
For any basic shape like square, cirlc etc. the gcode generated is a filled element. How to get gcode that draws only the boundry