January 11, 2026
Description
I thought the world needed a way of auto-magically generating an 8-bit style 3D rolled cigarette to go along with the very useful Thug Life 8-Bit style glasses.
You can either print the parts without doing anything at all or load up this script in FreeCAD and have it generate the model for you in random "burning" colors. The cherry at the end of the cigarette could be different than any of your other thug friends!Â
To print the pre-exported model, simply select the object you want to change the color of and select the appropriate filament. I have labeled them for you in roughly what makes a cherry at the end. In the models shown in the pictures I doubled up and substituted red for the brown for a 4 color print.
There is an optional cylinder in the middle of the model. You can set it to a negative part modifier and generate a hole right in the slicer!. I have it roughly set up for Dum-Dums.  You can scale this negative modifier right in the slicer and adjust it to your candy of choice!Â
Fading - you can experiment with fading by lowering the purge filament amount!  Note that in my case on a P1S, when the purge amount was set to zero, little stragglers sometimes got into the model. You can also experiment with the size of the prime tower to try to stick those on that.Â
To run the script, make a new script in FreeCAD, paste the text in there and then just sit back and watch the multi cube model appear before your eyes. It is so cool!!!  You may change the size of the 8-bit cigarette, with the cube size and overall shape values.Â
One very cool thing is the seed number. The models in the pictures are generated with seed values of 1 - 4. They can be re-generated by plugging that value into the seed line.  #random.seed(42) # Replace 42 with any integer for a new pattern comment out for always random. It is currently commented, so it will always pick a random seed and generate a totally new model. Â
License:
Creative Commons — Attribution — Noncommercial — Share Alike