-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Import config from gcode not working and shows error message #7555
Comments
For some reason the G-code parser does not like the block
```
; BEGIN DISPLAYLAYERPROGRESS SETTINGS
; DisplayLayerProgress_layerIndicatorProcessed = true
; END DISPLAYLAYERPROGRESS SETTINGS
```
being added to the end of the G-code.
st 22. 12. 2021 v 13:23 odesílatel PingPongLee ***@***.***>
napsal:
… Version
2.4.0 stable
Operating system type + version
Windows 10 21H2 (Build 19044.1415)
3D printer brand / version + firmware version (if known)
MK3S+ running firmware 3.10.1
Behavior
Using the configuration import through File -> Import -> Import config, to
import a print profile from a gcode file created in PrusaSlicer for the
same printer, in an earlier version (2.2+) i get the following error
message:
"Suspiciously low number of configuration values extracted from
C:\Users\Daniel\Downloads\Lava Lamp testing_0.3mm_ASA_MK3S_3h25m.gcode: 0"
I've tried with another gcode file in which I want to import the same
print profile, but the same error appears. I've attached the gcode file in
question
Project File (.3MF) where problem occurs
*Upload a PrusaSlicer Project File (.3MF) (Plater -> Export plate as 3MF
for Slic3r PE 1.41.2 and older, File -> Save / Save Project for
PrusaSlicer, Slic3r PE 1.42.0-alpha and newer)*
*Images (PNG, GIF, JPEG), PDFs or text files could be drag & dropped to
the issue directly, while all other files need to be zipped first (.zip,
.gz)*
Lava Lamp testing_0.3mm_ASA_MK3S_3h25m.zip
<https://github.com/prusa3d/PrusaSlicer/files/7762576/Lava.Lamp.testing_0.3mm_ASA_MK3S_3h25m.zip>
—
Reply to this email directly, view it on GitHub
<#7555>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMPSI5VRGWB4U2CRLFIHLTUSG7LFANCNFSM5KSN4RJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
That line seems to be from a plugin in octoprint, which I do indeed use. You would think that the parser would just ignore it though |
Your scenario never worked in PrusaSlicer. You generated your G-code
with PrusaSlicer 2.3.1, even PrusaSlicer 2.3.1 cannot import your G-code.
You would think that the parser would just ignore it though
Yes, it is not ideal.
Your issue seems to be a duplicate of #6730. We improved already, thus the
new G-codes will be handled properly.
From the changelog of PrusaSlicer 2.4.0-alpha1:
Release PrusaSlicer 2.4.0-alpha1 · prusa3d/PrusaSlicer · GitHub
<https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.4.0-alpha1>
- Configuration stored into G-code is newly delimited with ";
prusaslicer_config = begin" and "; prusaslicer_config = end". These
delimiters look like any other key / value configuration pairs on purpose
to be compatible with older PrusaSlicer versions trying to parse
configuration from G-code. The G-code viewer reads the "; generated by
PrusaSlicer ...." header and if the G-code was generated by PrusaSlicer
2.4.0-alpha0 and newer, it expects that the configuration block is enclosed
by the new delimiters. This makes the G-code parser more robust going
forward and G-codes can now be loaded by the G-code viewer even if an
OctoPrint plugin adds its own comments at the end of the G-code after
PrusaSlicer's configuration
#6730 <#6730>.
st 22. 12. 2021 v 14:27 odesílatel PingPongLee ***@***.***>
napsal:
… That line seems to be from a plugin in octoprint, which I do indeed use.
You would think that the parser would just ignore it though
—
Reply to this email directly, view it on GitHub
<#7555 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMPSI2JOPRXDO5K4FX267DUSHG3PANCNFSM5KSN4RJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Implemented with PrusaSlicer 2.4.0-alpha1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.4.0 stable
Operating system type + version
Windows 10 21H2 (Build 19044.1415)
3D printer brand / version + firmware version (if known)
MK3S+ running firmware 3.10.1
Behavior
Using the configuration import through File -> Import -> Import config, to import a print profile from a gcode file created in PrusaSlicer for the same printer, in an earlier version (2.2+) i get the following error message:
"Suspiciously low number of configuration values extracted from C:\Users\Daniel\Downloads\Lava Lamp testing_0.3mm_ASA_MK3S_3h25m.gcode: 0"
I've tried with another gcode file in which I want to import the same print profile, but the same error appears. I've attached the gcode file in question
Project File (.3MF) where problem occurs
Lava Lamp testing_0.3mm_ASA_MK3S_3h25m.zip
The text was updated successfully, but these errors were encountered: