OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Print preview data broken on Ender 3 V3 SE

Open dmcpacks opened this issue 1 year ago • 2 comments

OrcaSlicer Version

1.9.0

OS version

MacOS 14.1.2

Additional system information

No response

Printer

Ender 3 V3 SE

How to reproduce

  1. Add an STL.
  2. Slice STL
  3. Export STL to sd card
  4. plug sd card into printer
  5. Open gcode file

Actual results

Data for print will appear as 0's while it should appear in time or measurements. Creality Print 4.3.9 has fixed this issue, could use that as a base.

Expected results

The data should contain actual values, images for both cases have been attached.

Note 1: gcode for both cases and images have been attached with corresponding names for the slicer that sliced. Note 2: as far as I've seen the print preview image is an issue with printer software itself not slicer, it will always be the default creality man.

Creality Print 4.3.9 Creality Print 4 3 9 Alpha Orca Slicer 1.9.0 Orca Slicer 1 9 0

Project file & Debug log uploads

Zip with gcode for both Creality Print slice and Orca Slicer slice, also includes project file for Orca Slicer. Archive.zip

Checklist of files to include

  • [ ] Log file
  • [X] Project file

dmcpacks avatar Jan 07 '24 18:01 dmcpacks

I have made some tests and it seems the screen only reads those data generated by cura engine at the very begining of each file :

;FLAVOR:Marlin
;TIME:3508.43
;Filament used:4.85155m
;Layer height:0.2

Unfortunately, there is no easy way to add those informations before HEADER_BLOCK_START in Orca...

bistory avatar Jan 08 '24 08:01 bistory

As far as I can tell there is no way to modify it within orca slicer which is why I submitted it as a bug, a potential fix could be to allow for header data to be added by the user in the gcode options? However I'm not sure if theres a way or a variable to add the layer height, used filament, and print time.

dmcpacks avatar Jan 08 '24 15:01 dmcpacks

I made a post processing script that adds the data to the screen. (filament use is provided in grams not meters btw).

Called from orca with "python3.10 /Users/user/Desktop/pyprojects/gcode/test.py;" MacOS. All the script does is read the gcode file to find the data and write it at the top. test.py.zip

dmcpacks avatar Jan 18 '24 03:01 dmcpacks

Thanks @dmcpacks. Worked great! Just had to change a couple lines.

Ubiquitous0 avatar Mar 04 '24 23:03 Ubiquitous0

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Jun 03 '24 00:06 github-actions[bot]

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Jun 10 '24 00:06 github-actions[bot]

The same situation applies to Windows. How can I solve it?

beyondsoft978 avatar Jun 24 '24 12:06 beyondsoft978

The same situation applies to Windows. How can I solve it?

You can run python in Windows. Same steps apply. I'm running Windows myself.

Ubiquitous0 avatar Jun 24 '24 16:06 Ubiquitous0

The same situation applies to Windows. How can I solve it?

You can run python in Windows. Same steps apply. I'm running Windows myself.

thanks,is good work!!!

beyondsoft978 avatar Jul 11 '24 14:07 beyondsoft978

I made a post processing script that adds the data to the screen. (filament use is provided in grams not meters btw).

Called from orca with "python3.10 /Users/user/Desktop/pyprojects/gcode/test.py;" MacOS. All the script does is read the gcode file to find the data and write it at the top. test.py.zip

Can you explain me a litte more about how the script works?

kingKzK avatar Jul 12 '24 03:07 kingKzK