-
Notifications
You must be signed in to change notification settings - Fork 115
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
Buffering issue? #216
Comments
may different settings for cutting strategy inkscape-silhouette/sendto_silhouette.inx Line 101 in be1e155
|
The same happens with other strategies. I can see in the command log that it happens when you see the many "������....":
If I send the same file but using the "dry run option" (so without actually sending the commands to the machine), that issue does NOT happen:
Any ideas? Thanks! |
in order to get things reproducible could you please
|
Sure, here you are:
I attach the SVG file and the logs. |
Does the pause occur alwyas on the exactly same point? Is the plotter connected by usb or bluetooth? The unknown chars in the cuttercommands are normaly 0x03, but at the long pause a sequence of 0x1b,0x05. |
I am connected via USB. (By the way, I did not know this extension works also with Bluetooth? I can pair the PC to the cameo, and it briefly says connected but then goes to "paired" again.... but this is another issue, I guess?) |
seems like status query (ESC, ENQ) is occurring every then and when (which is skipped on dry_run) inkscape-silhouette/silhouette/Graphtec.py Line 698 in ed0c19b
|
So does that mean it's something related to the USB connection? Or what else? Any idea on how to resolve that? :-) |
PS: if it helps, I have tried the same cameo 4 pro on a (different) Debian machine, and I get the same behaviour. |
Have you ever tried another svg file? For me it looks like the plotter has some problem and stops cutting, therfore in the protocol are the status requests. (1b,05) The log file doesn't contain the status answer from the device. |
I had just a look at the sourcecode. This seems to be by design. inkscape-silhouette/silhouette/Graphtec.py Line 618 in ed0c19b
I never observed such pauses at my device (Silhouette Portrait), but maybe because I do only cuts at lower speeds. |
@sunjaxx as a quick and dirty workaround you may try to replace inkscape-silhouette/silhouette/Graphtec.py Line 637 in ed0c19b
although beware this has not been tested yet and could cause unexpected failures... |
Yes I've tried another simple shape (a square and a circle) and the same happens.
I tried that, and the cameo stops plotting midway (I have the impression at the time the first pause would have occurred before the code change...) |
Any other ideas? This extension is promising, and I'd be happy to help (as much as I can)! |
can you construct a reprocase for the command line, so others can easily test on their own plotter models?
you may check the available options using nb: ensure you use the latest version of inkscape-silhouette |
I am on LInux here and have no acces to the windows software. Does the pause also occur in the original windows software too, or is the movement there smoothly? |
The pauses do not occur when using Silhouette Studio (Designer edition) on Windows (on the same SVG) |
@sunjaxx can you update your sendto_silhouette.py to this latest version and repost a new logfile with this changes? |
@sunjaxx The only problem with it was the size. On my device i cannot plot 500x700mm. So it runs on bounding box and gets limited on the page border. (My system is a really old Ubunutu Linux 18.04. Inkscape 0.92. extension version 2020-12-29 tb, v1.24, but at least it shows, a fluent plot is possible.) |
My bad: replacing safe_write with write does NOT result in the pauses! (When i tried last time the paper was not there or properly in place, that's why I think it stopped...) |
here it is: |
In my case it also happens with this A4 version (unless i change "safe_write" with "write" in graphtec.py) |
@sunjaxx thank you for sharing this new dump. here on Cameo3 your svg plots like a charm with some nearly invisible pauses (tiny fraction of a second). @ anybody please test and report back the behaviour of your plotter (cameo 1,2,3,4,pro)
maybe newer models can profit from some tweaks? @EtherGraf do you remember why inkscape-silhouette/silhouette/Graphtec.py Lines 609 to 619 in 7561e54
Maybe we could raise or skip the |
Sorry no, i do not know why this function safe_write was introduced. Possibly it is/was needed for some older devices. If I find some time I can test the next weeks at least with my equipment, if the extension works without the safe_write() method. |
Any update? Thanks! |
Has there been anything done for this? If not, is the workaround the way to go? |
@henryso can you share any observation on this? which device do you have? which workaround does work for you? hopefully this can help fix this nasty hw issue... |
My observation is the same as the opening post. Every so often the device will pause, the lights will blink, and then it will continue. I have a Silhouette Cameo 4 under Linux, Inkscape 1.2.2, and I'm using commit a1941b6. The workaround that works for me is to change |
@henryso did you test huge svg files already? if not can you try some on your own and report back? do you have access and could try on some older hw? |
@t0b3 What do you mean by huge svg file? I've tried cutting a letter size sheet of paper filled with 32mm-diameter circles. I don't have any other devices than the Silhouette Cameo 4. |
Some more observations. I test plotted a bunch of text made using the Hershey Text extension. With |
Maybe the thing to do here is make the use of |
I also see this with the Cameo 4. It's not too bad when cutting but sometimes it leaves rougher spots. |
I am testing this extension (on win 10). I tried to sketch (with a pen) a simple, small shape (a spiral), but while sketching, the machine (cameo 4 pro) pauses for a second few times (and the buttons light up when that happens) - like it's waiting for the data / buffering.
(That is not ideal when sketching because the pen will stop and leave a larger ink dot when that happens.)
Any ideas? (I can provide a video if unclear) Thanks!
The text was updated successfully, but these errors were encountered: