-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
Engraving files are not loaded when greater than 10Mb #111
Comments
What platform are you running? I haven't gone as large as 10Mb, but 5-6Mb files are very slow with my raspberry Pi struggling to keep up the data flow. Smaller files have no problem. |
Hi @mayhem2408 i use a windows 10 machine and i can not upload beyond 10 Mb files. They are big because of 10 bits pixel and 256 gray shades. I wonder if this is something that can be configured? Thanks |
Hi @paulusjacobus, Could you attach a zip file containing your 10MB gcode examples? That will be useful for troubleshooting. |
Hi @cheton will do tonight when I get home. They are very simple rows of G1 Xn.n Yn.n Sn commands. |
Hi I have attached a g code example file that does not load
…On 4 January 2017 at 14:45, Cheton Wu ***@***.***> wrote:
Hi @paulusjacobus <https://github.com/paulusjacobus>,
Could you attach a zip file containing your 10MB gcode examples? That will
be useful for troubleshooting.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#111 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIOTKeT5mEMNG-VI95B-nvnhbi-r0Sooks5rOxXfgaJpZM4LYrBQ>
.
|
You can send the file to my email: cheton@gmail.com |
Hi @paulusjacobus, The maximum upload file size is limited by the body-parser middleware: // https://github.com/expressjs/body-parser
'body-parser': {
'json': {
// maximum request body size. (default: <100kb>)
limit: '10mb'
},
'urlencoded': {
extended: true,
// maximum request body size. (default: <100kb>)
limit: '10mb'
}
} I will increase the upload file limit from 10mb to 100mb in the next version. That should resolve your issue. BTW, I'm doing performance enhancements for loading large G-code files. This can significantly reduce the total loading time from 40+ seconds to 5~8 seconds using your 10MB example. |
Thanks Cheton that's great news. Looking forward to the improved size
handling of files.
Thanks Paul
…On 7 Jan 2017 17:40, "Cheton Wu" ***@***.***> wrote:
Hi @paulusjacobus <https://github.com/paulusjacobus>,
The maximum upload file size is limited by the body-parser middleware:
https://github.com/cheton/cnc/blob/master/src/app/config/
settings.base.js#L54
// https://github.com/expressjs/body-parser'body-parser': {
'json': {
// maximum request body size. (default: <100kb>)
limit: '10mb'
},
'urlencoded': {
extended: true,
// maximum request body size. (default: <100kb>)
limit: '10mb'
}
}
I will increase the upload file limit from 10mb to 100mb in the next
version. That should resolve your issue.
BTW, I'm doing performance enhancements for loading large G-code files.
This can significantly reduce the total loading time from 40+ seconds to
5~8 seconds using your 10MB example.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#111 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIOTKYt7Mh38qNV9GZYdQ3lALVn18MtPks5rPzNngaJpZM4LYrBQ>
.
|
Fixed in v1.8.13 |
I am using cnc for laser engraving via an arduino uno with grbl. I noticed that cnc does not load bigger files than 10Mb. Is there a way to increase the size?
The text was updated successfully, but these errors were encountered: