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

Dot in Gcode viewer not aligned in object and completely missing in another Browser. #83

Open
andyspoo opened this issue Aug 16, 2024 · 11 comments

Comments

@andyspoo
Copy link

andyspoo commented Aug 16, 2024

Just to confirm that I am using the latest version of your plugin.
I'm also using Linux (Mint Linux).
The Gcode viewer has been 'refreshed'.
The slicer that generated the gcode was 'Orca'.

When I view the objects in the gcode viewer Firefox does not show any yellow dots at all.
When I view the same using either the Brave web-browser that is based on Chrome or using Opera, some of the dots are perfect, another is completely missing and another is not on an object.
There are 6 objects/models.
Any ideas what is causing this?
yellow dots

@paukstelis
Copy link
Owner

This is due to how the slicer defines the objects. The bounding box/brim is being considered in object. If you reset the objects using the button, then refresh after it has moved to each object they should be in the right spots.

No idea about firefox.

@andyspoo andyspoo changed the title Dot in Gcode viewer not alighned in onbject and completely missing in another Browser. Dot in Gcode viewer not aligned in object and completely missing in another Browser. Aug 16, 2024
@andyspoo
Copy link
Author

This is due to how the slicer defines the objects. The bounding box/brim is being considered in object. If you reset the objects using the button, then refresh after it has moved to each object they should be in the right spots.

No idea about firefox.

Wow....seriously fast reply!!
I'll give it a go later.
Thanks for the reply.

@andyspoo
Copy link
Author

I'm just starting a new print with the same 6 objects and have just noticed your code is only picking 5 of the 6.
Could this be an Orca Slicer Issue?

5 boxes

@paukstelis
Copy link
Owner

It has to be an Orca Silcer issue. If the correct comments are there, they will get picked up.

@paukstelis
Copy link
Owner

If you provide the original gcode file it should be fairly clear what is going on.

@andyspoo
Copy link
Author

Github will not allow me to attach the gcode file. I have uploaded it here. Hopefully it works =
https://drive.google.com/file/d/14DqT6rR9vdyF26BzOmOHhH-scmyGXTDa/view?usp=sharing

@paukstelis
Copy link
Owner

There are only 5 objects tagged in that gcode file. You can look through it and find the ; printing object.... lines. In that case, Orca Silcer must not be tagging one of the objects. Perhaps the one that has the crazy long id number is actually two objects?

@andyspoo
Copy link
Author

I importer 1 .stl file and then 'cloned' it 5 times to make 6. I suspect the one with the long filename might be the original import.
It might be interesting to try importing a model 6 times rather than cloning 1 and see if that makes a difference.
I got Firefox to show the dots BTW, by adding an exception to the Octoprints IP address. It wasn't blocking any other Octoprint code, just yours which seems weird to me. The exceptions I added were for the popup blocker and 'warn when websites try to install ad-ons'. Firefox wasn't warning of anything, so still strange.

@andyspoo
Copy link
Author

Importing individual stl files made no difference.
Think I need to leave a bug report on the Orca Git.

@andyspoo
Copy link
Author

I have just noticed if I import different models it works fine.
If I either import the same model multiple times or import 1 model and copy it then I have the problem above.
Weird Orca Issue.

@andyspoo
Copy link
Author

Orca bug report here = SoftFever/OrcaSlicer#6494

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

No branches or pull requests

2 participants