G-Code Viewing - to ascertain X - Y - Z dimensions ons sliced stl file from Thingiverse
 
Notifications
Clear all

G-Code Viewing - to ascertain X - Y - Z dimensions ons sliced stl file from Thingiverse  

  RSS
eager
(@eager)
Trusted Member
G-Code Viewing - to ascertain X - Y - Z dimensions ons sliced stl file from Thingiverse

I'm still learning but have a lot to learn with 3D printing so I appreciate the generously shared insights here.

A person downloaded a Thingiverse .stl file and re-sized it in the latest Prusa Slicer.

I need to ascertain from the gcode she sliced what the X - Y - Z settings she used as she wants it to be part way one color and the rest of the print another color.

If I can take that same .stl file and recreate it with the settings she used via the gcode slicer then I can change the colors.

I have the 2.9 Prusa G-Code Viewer but when I try to open her gcode file I keep getting the error message "bad allocation."

I'm not sure what that means or ho to correct it?

Would it be better to use another GCode Viewer?

Thank you so much for your kind help.

 

 

 

 

 

Posted : 31/01/2025 9:03 pm
Neophyl
(@neophyl)
Illustrious Member
RE:

Are you sure they used Prusa Slicer to generate the gcode ?  Bad Allocation is usually a problem with memory.  Is the file large ?  Large files with lots of small lines to preview (such as produced using Gyroid infill for example) means using a LOT of computer memory.  

Besides that if all you wanted to do is a filament change to a different colour at a particular height then you could just open the gcode file in a text editor (as long as its not bgcode) and then manually insert a M600 command at the start of the correct layer.  You wouldn't have to reslice.

Also one other thing if you open up Prusa Slicer and use File>Import>Import Config and then select a gcode file it will load in all the settings used for the actual slice.  It wont however help with what the original part was scaled to as it just loads the profile settings in as they are stored at the end of the gcode file.

Although also examining the gcode manually in a text editor will include the maximum layer height its printing at so you could use that info to scale the part to the same height.

 

This post was modified 2 hours ago by Neophyl
Posted : 31/01/2025 9:49 pm
Share: