Skip to content
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

Prusa Slicer Error Loading obj file. #12157

Closed
2 tasks
briansturgill opened this issue Jan 30, 2024 · 3 comments
Closed
2 tasks

Prusa Slicer Error Loading obj file. #12157

briansturgill opened this issue Jan 30, 2024 · 3 comments
Assignees

Comments

@briansturgill
Copy link

Description of the bug

No matter what obj file I load (all generated by trimesh), I get prusa slicer reporting 3 open edges.
Even this simple .obj file (of a cube) gets this error.
I can't see anything wrong with this file. It has the expected 8 vertices and 12 faces.
Meshlab doesn't see a problem with it.

# https://github.com/mikedh/trimesh
v 0.00000000 0.00000000 0.00000000 0.94117647 0.90196078 0.54901961
v 0.00000000 0.00000000 10.00000000 0.94117647 0.90196078 0.54901961
v 0.00000000 10.00000000 0.00000000 0.94117647 0.90196078 0.54901961
v 0.00000000 10.00000000 10.00000000 0.94117647 0.90196078 0.54901961
v 10.00000000 0.00000000 0.00000000 0.94117647 0.90196078 0.54901961
v 10.00000000 0.00000000 10.00000000 0.94117647 0.90196078 0.54901961
v 10.00000000 10.00000000 0.00000000 0.94117647 0.90196078 0.54901961
v 10.00000000 10.00000000 10.00000000 0.94117647 0.90196078 0.54901961
f 2 1 5
f 3 5 1
f 2 4 1
f 4 2 6
f 4 3 1
f 4 8 3
f 6 5 7
f 6 2 5
f 7 5 3
f 8 7 3
f 8 4 6
f 8 6 7

Project file & How to reproduce

Just load the obj file onto the platter...

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

Version 2.7.1+linux-x64-GTK3

Operating system

Ubuntu 22.04

Printer model

MK4 and MK3S+

@Jony01
Copy link
Collaborator

Jony01 commented Jan 30, 2024

Thanks for reporting an issue.
Application need line end after last face(triangle indices) at the moment.
For fast fix, add new line(enter) after last face.
not_working_cube.obj
working_cube.obj

@briansturgill
Copy link
Author

Thanks for the workaround!

@lukasmatena
Copy link
Collaborator

Fixed in 2.8.1-rc1. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants