Is it possible to edit .bgcode file?
Hi. I spent quite a while creating a print file with a custom modifier mesh. I now want to change the filament temperature on one color, and I realize my editable model is gone! I have the .bgcode print file, but is there any way to change the temperature setting for one of the colors (extruders) since I have an XL 5 head?
How do I save a project so I can open and edit it in the future? Including all the painstaking work making the modifier mesh fit properly? Do I save a configuration, a project, or what. I don't really understand the differences in what these formats include.
Thank you,
RE: Is it possible to edit .bgcode file?
It turns out you can import your 3MF project, modify it as needed and then save "Project" as .3MF
This is supposed to save all your changes and settings, and can be reimported and edited further.
However, I still need an answer on the BGCODE editing thing.... if anyone knows
RE: Is it possible to edit .bgcode file?
I was able to open the bgcode in a text editor. It starts with print information, including printing temperatures and other information.
I am wondering if I make a change to the temperatures and resave the file, if it will use the new settings. - If this is where the variables are defined, or merely a listing for convenience...
GCDE ! Producer=PrusaSlicer 2.8.1+win64!(Y¥ ì printer_model=XL5ISfilament_type=PLA;PLA;PLA;PLA;
PLAfilament_abrasive=0,0,0,0,0
nozzle_diameter=0.4,0.4,0.4,0.4,0.4
nozzle_high_flow=0,0,0,0,0
bed_temperature=60,60,60,60,60
brim_width=0
fill_density=10%
layer_height=0.2
temperature=210,205,225,200,225
ironing=0
support_material=1
extruder_colour=#000000;#DB5182;#3EC0FF;#FFFFFF;#808000
max_layer_z=48.60
objects_info={"objects":[{"name":"sample tool holder wall mount v1.6",
"polygon":[[305.088,299.281],[294.178,299.281],[293.979,306.901],[287.774,306.901],[287.574,299.281],[90.978,299.281],[90.779,306.901],[84.574,306.901],[84.374,299.281],[73.465,299.281],[73.465,244.174],[305.088,244.174]]}]}
filament used [mm]=29516.03, 529.93, 0.00, 29475.22, 0.00
filament used [g]=88.03, 1.58, 0.00, 87.91, 0.00
filament cost=3.19, 0.06, 0.00, 1.85, 0.00
filament used [cm3]=70.99, 1.27, 0.00, 70.90, 0.00
total filament used for wipe tower [g]=13.71
estimated printing time (normal mode)=7h 38m 13s
estimated printing time (silent mode)=9h 35m 55s
ý·ø o qoif Éÿ)))€ÿJJJÿÿ666¿ÿ
@ Èÿ€ÿEEEÿ›ˆÀ £ˆÿ!!!€ÿ Æÿ,,,€ÿCCCÿ5ˆþ¿ˆþBBB©ˆ Äÿ;;;ÿ©ˆˆ€ˆˆÀ°ˆ Âÿ'''¿ÿ444ÿÀ¤ˆ‹ˆþ ÃþVVV Á•ˆÀ†ˆ5Äþ''' Àÿ###€ÿEEEÿ›ˆ€ˆþ Åþ#1"1 þ"""5ÅþL6>þOOO•ˆÀ$þ Äþ$Àþ(((©ˆUŽˆ‘ˆ$þ Äþþ@@@µˆÀU0"þ Ä25þ,,,þXXX,Uþ$$$5Ã5 þ]]]ÃU;35Ãþ)))?,¥ˆ@UUˆ5À?,7$¢ˆ$7Šˆˆˆ†ˆþPPP0£ˆ(7$?1%0À?;
and so on......
RE: Is it possible to edit .bgcode file?
Look for the option File > Convert in PrusaSlicer. You can convert gcode <-> bgcode files with it.
RE: Is it possible to edit .bgcode file?
Thank you for that. I converted the code and it looks basically the same as the bgcode, it has the same header followed by nonsense.
I'll have to change a couple settings, resave it, and load it to printer and see if changes work.
RE: Is it possible to edit .bgcode file?
in the PrusaSlicer you can set in Menu > Configuration and it will show up new window, in it select tab Other and there uncheck use binary code when printer supports it.
Or in the printer settings in Printer > General > Firmware > Supports Binary Gcode.
See my GitHub and printables.com for some 3d stuff that you may like.
RE: Is it possible to edit .bgcode file?
I don't really have a problem with the binary code. Either code or binary doesn't seem editable after the fact
RE: Is it possible to edit .bgcode file?
Gcode files are ASCII text files. But they tend to be very large. It could be that you are using a text editor that cannot edit files beyond a certain size? Or you edited the bgcode file, then converted the already modified file to gcode and it was garbled in the process. I have not tried this, so this is speculation on my part. I would suggest start the conversion with a bgcode file fresh from the slicer that was not modified in any way, then convert it to gcode with PrusaSlicer. This should be editable ASCII text then.
But if you know beforehand that you want to edit a (b)gcode file, it would involve fewer steps to first output a gcode file, edit that and then convert it to bgcode, e.g. to get a smaller file if the big size of the gcode file is an issue and the reason to use bgcode in the first place.