-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gcode generated for simple shapes is being filled and not only the boundary #7
Comments
I found that if I don't specify stroke style and fill:none to the svg, the parser considers the inside as filled. |
I just installed it and ran a test on a simple svg with two lines, not forming any closed shape.
set fill:none as suggested above now it runs but just sits there doing nothing. need to cntl-c to end it. This does not look very useful. What is it supposed to do. The svg has two lines, why does it try to do more than create two simple gcode paths. No proper explanation of what this tool is supposed to do or not do. Needs some basic documentation; ie more that just the command name itself ! |
@J-Dunn How did you implement the stroke and fill style? Once I understood the limitations the code worked fine for me, but I had to edit my svg. |
Thanks, I did get a little bit further but it seems that inkscape is not respecting the first line which gives the python interpreter. The script line1 points to a python2.7 executable but inkscape is apparently calling "python" which default path provides python3 . I found some patches somewhere which rearranges things for py3 syntax but there were still issues, I get error reported from the script and I gave up at that point. Yet another chase down a warren full of rabbit holes which leads no where. Things seem to get broken quicker than anyone can keep up these days. |
@carolinex Can you explain the limitations? |
It's been some time since I last used it, but I do remember that I had to convert certain shapes to paths and remove most properties from the root element. If you use a software like illustrator to create your paths, make sure to convert the shapes into paths on the software. I will take a look at my past code here and update this answer if I remember anything else. |
The gcode generated for simple shapes is being filled. I just wanted to get the gcode for the boundry .
The text was updated successfully, but these errors were encountered: