cavenel / ev3-print3rbot

Python code for the EV3-Print3rbot, based on ev3dev project.
58 stars 34 forks source link

SVG file takes ~10-15min to start printing #19

Open AgentConDier opened 7 years ago

AgentConDier commented 7 years ago

I just tried to print my first own .svg file (well, not homemade, but I googled it myself, at least ;D) after running it through the suggested inkscape command, and while it turned out (rather) well, it took about 10-15 minutes before it started printing. Luckily I started something else and forgot the command was still running. During this time, the cpu usage was sitting between 50-100%. Why does it take so long to load it? I'll probably try some other files tomorrow (haven't quite figured out how to find nice .svg files on google yet). Very nice design though, it prints quite well for lego standards, while being the only lego printer you could actually build with the Mindstorms Ev3 Education kit (no Idea why I didnt get the standard one), something you can't say about the other printers on the ev3dev-page. Hope I can reduce the wobble some more by putting washers between the worm gears and the motors to tighten them up a little, as well as another rubber band. The 17$ or so for the 3d-printed parts were totally worth it! Another note: I added some lines to the writer.py file so that it expects the filename of the .svg file in the images as an argument, saves you from editing it all the time. Maybe implement this?

cavenel commented 7 years ago

Sorry I didn't have time lately to look into this. Could you send me the svg file? The program has to convert the svg in a list of points (coordinates), which can take some time especially if the svg file is huge. The EV3 has a small CPU... For your last comment I actually have a local version that runs on the graphical interface of EV3DEV which makes it easier to select the image. Will push that soon.

AgentConDier commented 7 years ago

There was actually a link in there, in case you missed it: (you could click on ".svg file) https://www.dropbox.com/s/hbwlnhpgpcqzbvb/Snowball.svg?dl=0 I also tried a version of the file resized to fit the template, with all shapes except the outline removed. It printed very well, with (only?) a load time of ~4 minutes.

passwordWindows commented 7 years ago

@AgentConDier, actually, I have the same problem. I solved it by simplifying svg file in Inkscape. The loss of quality isn't so big. @cavenel, thank you for developing graphical interface

chrisje1980 commented 6 years ago

Hi cavenel, are you still here? i have some questions about installing your programm.

greets from the netherlands chris

hugo1887 commented 4 years ago

hello, could you please upoad the building instructions? thank you <3