Large files issue random straight lines #1871
Replies: 4 comments 2 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I thought I'd give an update here. This was happening when running bCNC from a RPi4 with Ubuntu, which was fairly sluggish with larger files. I upgraded to a PC with 16GB RAM, faster CPU, etc and running the latest version of Linux and the problem went away. At least so far. So, while I don't know exactly what was causing it, it seems to have been some sort of resources issue. Thanks for the suggestions! |
Beta Was this translation helpful? Give feedback.
-
To make any suggestion you would need to know how bCNC stores the file being executed. It could be in RAM for small files, but for files of around ten G0 I only see a temporary file on the hard drive to do the job. My version of bCNC is installed on an RPI4 with 8 GB of RAM which boots on a 250 MB disk. So far I haven't had this kind of problem, but my files rarely exceed 1 GB. To reduce the size of files including repetitive machining, it would be necessary to be able to use the subprograms as on professional computers; but as bCNC does not recognize the M98 and M99 functions, a developer would need to take an interest in them. |
Beta Was this translation helpful? Give feedback.
-
Hey folks,
I've been using bCNC for years now on an RPi and it has been awesome! Seriously, I love this software and I want to thank everyone involved in its development.
Over the years I've been having one persistent issue with random straight line movement in large files. I've ruled out Fusion 360 and post processing for grbl. I've ruled out the hardware. It boils down to bCNC randomly inserting straight line movements.
You can see in the image, below and parallel to the green line, how the machine simply stopped executing gcode and moved in a straight random line, and then continued with the gcode as if nothing happened. I repeat, this is not in the gcode. I've analyzed and plotted the gcode at ncviewer.com (if you haven't used this, you're missing out!) and it's perfect. Sometimes several of these random straight lines are cut over the course of the job. The file size is almost 15MB, almost 600K lines of gcode. It's simply a repeating pattern, so I wish there were a way to simply repeat the same bit of gcode over and over, but from different start points. In this case, it would reduce the number of gcode lines to less than 7K! Anyway, a man can dream.
I'm using the latest Beta 9.14 version. Perhaps I should step back to 9.11?
I know that there hasn't been any movement on the bCNC github for quite some time now, but I'm hoping someone may have some insight since I love this software and want to continue using it, but damage is occurring randomly to my work pieces. The autolevel feature is something I can't live without for my purposes. I've looked at other possible gcode senders, but none have as easy and repeatable autolevel setup as bCNC.
I'm going to try breaking the large gcode files into pieces to see if that will have any effect. This is not ideal, as I can't just walk away and let this job run in its entirety, but perhaps it's better than losing work, time and material.
Any input or suggestions to help solve this perplexing riddle, are welcome.
Cheers,
Tyler
Beta Was this translation helpful? Give feedback.
All reactions