Randomly modifying print temperature when using Bambu Wood PLA

I’m using Bambu Wood filament which can show varying light/dark colors (like real wood) if printed at lower or higher temps. Not sure if this is possible but is there any way you could randomly assign a print temp (within a range) and have that applied to the model being printed? Don’t want to have to manually set this up per layer height so that the changes occur uniformly (by inserting custom g-code), want it to just randomly change the temp throughout the print. Is there a scripting language or something under the covers that one could use to achieve something like this? Any other possible ways of doing something like this?

You could print a Temperature tower… which does exactly what you are looking to do.

https://makerworld.com/en/search/models?keyword=temperature%20tower

A temp tower is a specific model onto itself. I want to print my own model but vary printing temps randomly. Also the temp tower has a defined sequence of temps. I’m looking to have an unsequenced temp profile that’s random but kept within a defined range.

The slicer does not include such a feature. But it’s an interesting suggestion that’s worth formally submitting with the product-request tag.

The way I’d do it is to write a script that parsed the G-Code and inserted the M104 command with randomly varying temperature parameters at fixed intervals throughout the file. Might not be any more difficult than counting CR/LFs and inserting the M104 Ssome-random-number before continuing on… although there are some G-Code sequences that span multiple lines that’d need to be avoided, it’s still not that big a task if you have some programming skills.

I have the skills, but not the time. Maybe someone who has both will see this post and write a script for you if you don’t know how to do that yourself. :slight_smile:

2 Likes

Sounds interesting. I have the programming skills but not seeing it as that big of an issue for me at this point to dig into here. I’ll try to submit a request and see if it gains any traction. Thanks for the heads up.

If worked would be a lot of work on your part but you could try playing with open/closeing door and turning fan off/on or changing speed. It does have some effect on temp but not sure if it’s enough for what u r trying to do.

I just made an account here to answer this. As such I can’t add links or embed images, so sorry for the text only response.

You can do this with the website linked below which is a script that will randomly change the temperatures per layer.

  1. Setup print in Bambu Studio
  2. File > Export > Gcode
  3. Run gcode through tecrd(dot)com/tools/stl_wood/
  4. Right click modified gcode > Open with Bambu Studio
  5. Check Preview Tab > Temperature
  6. Print!