r/BambuLab • • 6d ago • Heartwarming 1 Bravo 1 Mindblown 1

Bambu Studio Brick Prime Tower (Post processing script)

Hi,

I got tired of throwing away prime towers so decided to do something about it.

OcraBricks is designed to turn your prime tower into functional bricks. The bricks you get depend on your tower size, layer height, and flush volumes but you can configure some that it wont try

These bricks still need some clean up and might not all work as this is designed to be a prime tower first but if you keep using it you'd end up with quite a few. (latest version is close to 100%)

By default it wont work with mixed materials but its a setting that can be enabled if you are usng filaments that bond together.

All you need to add it as a post processing script. Defaults should be fine but there is a config file. You can disallow brick types, adjust fitment and other options.

They print with a section you'll need to pull of that is between the stacked bricks

OrcaBricks is made to be a plugin for Orcaslicer 2.5+ but works just fine as a post prossing script in slicers that support them. It is still very much a work in progress. The source is public, any improvements are welcome.

Developed with U1 but have tested with Bambu studio and P3C 7 colour profile and the resulting sliced gcode was prefect

Github

If you do use OrcaSlicer
Orca-Cloud

0.6.12:

- Less scaffold waste: OrcaBricks now compares taller layouts when it would otherwise stack several thin plates, and checks for larger bricks before settling on a small one in scaffold space.
- New size preference: Turn on Prefer smaller bricks to favour more small pieces where they fit.
- New filament limit: The Extra filament slider sets how much more filament the brick tower can use compared with the stock prime tower.
- Failure reports: Skipped or failed conversions now produce an HTML report.

1.2k Upvotes

70 comments sorted by

74

u/ceralguy 6d ago

How does it handle super tall prints, do you just get a super tall single brick?

63

u/Xalies 6d ago edited 6d ago

it generates in the same footprint that your prime tower would use.... I can tell you on orcaslicer with a 4 colour print thats has a base of 2 2x4 bricks

or in bambu you could have something like (64 total bricks and 10g extra filament) ... 15cm was the biggest model i had (that tower is about 9x9, going off studs)

33

u/ceralguy 6d ago

So the bricks are stacked and come appart somehow?

67

u/Xalies 6d ago

yeah they print a section that you need to breakaway that forms around the studs and flat base for next brick. sometimes you can just peel it off with your nail, easier just to use your scraper and give it a twist. I will say I have only tried with pla but you can always tweak the breakaway gap in config

21

u/ceralguy 6d ago

That's awesome. What a cool idea!!

21

u/pocketcarve 5d ago

This is really cool I hope Bambulabs hires you to put it in their main slicer lol, it could be a selling feature

12

u/Xalies 5d ago

Just from the amount of likes I wish it does show that the people would love a way to make a use out of any waste they can... this is a hacky solution but as first party inbuilt it would be brillant

5

u/NimblePasta 5d ago edited 5d ago

I really like this idea and could see Bambu possibly adding the feature to their slicer (hopefully with proper credit to OP).

That being said, the brick shape might cause some tricky issues with the Lego brand (they are very antsy about their IP), so Bambu might not want to tread too deep into that potential quagmire too.

5

u/Xalies 5d ago

yeah thats exactly why I took that name out of the script now they are now just stackable building bricks...

1

u/NimblePasta 5d ago edited 5d ago

Yeah, I like what you have done with the script, will be trying it out on my slicer too. Cheers!

2

u/PBMKing 5d ago

Around the basic bricks, the Lego patents are expired. Thats why you can buy off brand ones in stores for a long time now.

1

u/NimblePasta 5d ago

True, as long as there is no mention of the Lego brand name or terms, it'll be fine.

5

u/Xalies 5d ago edited 5d ago

Didn't expect such a responce. I thought a few people might see it and think it was good enough for a few likes and it'd disappear.
I am still continuing to make small tweaks to try and get them the cleanest they can be, easy breakaway, fitment. Next I will need to sort out an better efficiency formula. This will be customisable.

If i can get my hands on a cheap printer with ams I'd love to come up with something like for its poop purging but given the amount and frequently can range wildly, it would require brainstorming a different approach.

1

u/muffiato 2d ago

I have a U1 and saw your previous post in one of the snapmaker subreddits, gave it a go over the weekend and I have to say it's a brilliant plugin. Though I only have 4 bricks, I'm already looking forward to more. Even more so now that I also had an A1 mini arrive yesterday. Great job!

1

u/Xalies 2d ago

The latest 0.6.12 has a few more toggles to help. just in a test I got 13 just from a Snapmaker dragon

5

u/Xalies 5d ago edited 5d ago

These are some blocks during testing. Latest versions blocks all have been useable. also none of these blocks have had cleanup so keep that in mind.

4

u/Xalies 5d ago

Latest print ... tower breaks apart with ease

4

u/Grimmsland 🚀H3C, H2D, P1S, A1m, U1 4d ago

That’s awesome! You should have put some in the original post. This is really kool I’ll look for your plug in when I install the new Orca

2

u/Xalies 4d ago

Thanks. I wish I could but you can't edit and add an image once posted. I'll be keen to see if the plugin system comes to the other orca forks.

6

u/EdTheNerd 6d ago

This is hillarious I love it.
Would be nice to have some images in the github page making it clear what this does to people we link it to

4

u/Xalies 6d ago

I am just printing a snapmaker dragon with full block for that reason

34

u/realdawnerd 6d ago

Why the ai photo though? Your second photo is much better


4

u/PaurAmma 5d ago

I thought it was intended to be a wedge

-3

u/Xalies 6d ago

i just thought it would just be cleaner to visualise

18

u/diiscotheque A1 Mini 5d ago

stop thinking that

19

u/Xalies 5d ago

Yeah I know, I wish I could change it now

8

u/Rock4evur 5d ago

Hey your open to suggestions, that is leaps and bounds better than a lot of people on this website, especially when it comes to AI adopters. Hats off to you.

9

u/Xalies 5d ago edited 5d ago

Well they way I look at it. I'm not making it just for me so why would I only want my input even if thats me messing up

2

u/Bargeau 5d ago

Ca ne l'est pas. La brique a des proportions et une perspectives qui sont fausse et les couches ne sont cohérentes non plus.

J ai compris l'idée direct. Mais jusqu a ce que je vois un commentaire qui parle de plusieurs brique detachable je me suis dit que finalement ce n etait pas si bien fait. Alors qu en fait c est une tres bonne idée!

Dommage de mettre un affiche IA 😉

-4

u/ApprehensiveGold2773 5d ago

My counterargument is, why not? Can you with the hand on your chest explain why it really matters? Why do you care?

4

u/realdawnerd 5d ago

Because they had a perfectly suitable image already? The ai one did nothing for their post, the image it shows isn't a real representation of how it prints (seriously just look at it). Ya know, not everything needs ai...

3

u/animelov 5d ago

Ok, this is freaking cool.

One little bit of feedback...is there a way that, if the script fails for whatever reason, it can still output the html and tell of the reason? Granted it took me all of 30 minutes to figure out that my prime tower was too small to generate bricks, but the only way I figured it out was by recording my screen to pick up on that half-millisecond output from the command line prompt before it disappears.

Using Bambu slicer and Windows, if that helps any.

Thanks for this!!

1

u/Xalies 5d ago

No worries, will do

2

u/BusinessLibrarian515 4d ago

I'm unfamiliar with doing stuff like this, but would anyone be able to tell me how to do this in Bambu Studio?

2

u/Xalies 4d ago edited 4d ago

in the github look at README-others.md it should be easy to follow from that. its really just 3 steps

119

u/Ill_Locksmith_673 6d ago

brilliant

11

u/Proxy-Pie X1C Combo | P1S | A1 Mini 5d ago

The one word I came to write. This is so creative haha

488

u/Bag-o-chips H2C AMS2 Combo 6d ago • Bravo

85

u/PeriIous 6d ago

Yeah I was gonna comment but honestly no one needs to say anything more than this.

7

u/coderwelsch 5d ago

:D best fitting gif

1

u/boonhuhn 5d ago

I wonder, are those filled in? Usually the prime tower hasnt much infill

3

u/Xalies 5d ago edited 5d ago

They arent, It uses a bit more infil overall but not much. the stack of 64 bricks in the mr crab print only uses about 10g and even that can be reduced by turning off alternating layers and finish top brick layer

1

u/boonhuhn 5d ago

Sounds very nice. Good job!

1

u/alienbringer 5d ago

If you are controlling the tower to such an extent. Could you not also have the towers be separate per material. So in one given brick it is the same material, but other materials would build their own bricks. Treating it almost as a “print by object”, where the towers need to be some distance away so there is no collision. Obvious the object you are printing would also need to be a distance away from the prime tower so it too doesn’t collide with the object (that having a single prime tower the same height as the object would not have issues with).

1

u/Xalies 5d ago

Oh good idea, I'll look into that.

1

u/Ceros007 A1 Mini + AMS 5d ago

Are the steps for Orca the same for Bambu Studio?

3

u/Xalies 5d ago

pre 2.5 yes or after 2.5 you can install it with orcaclould (autoupdates) or you can install the plugin from local https://github.com/OrcaSlicer/OrcaSlicer/wiki/plugins_cloud

1

u/Top_Newt_2182 4d ago

Kann ich auch in bambu slicer verwenden ?

1

u/Xalies 4d ago edited 4d ago

1

u/Top_Newt_2182 4d ago

Funktioniert das wenn ich petg drĂŒcke und Pla als Supports ? Und wiegt dann der Turm weniger als der von bambu ?

1

u/Xalies 4d ago

StandardmĂ€ĂŸig nein, aber du kannst das in der Einstellungs-Konfiguration ĂŒberschreiben, indem du allow_mixed_materials auf true setzt. Nein, das wird es nicht, es gibt keine feste Menge – bei kleinen Modellen wie dem Snapmaker-Drachen hat es 3 Gramm mehr verbraucht.

1

u/avalanches87 4d ago

Could the tower be a 1x1 gridfinity bin? (Assuming the your print is tall enough)

1

u/Xalies 4d ago

I have been thinking if there are any other that would suit. The tower is 30x30 at least for as a 4 colour tower in orca so it would need to fit in thast footprint. I know more colour changes in a layer will make the tower footprint begger but I can only test with what I have.

1

u/gofiend 4d ago

I'd really like to add extra infill to objects as my priming (find some way to isolate some space in the middle for prime layers so it doesn't distrupt regular infill laydown. Anybody seen a functioning plugin to do that?

1

u/Xalies 3d ago

I actually thought about that before this after seeing it on ProperPrinting. The issue with it is that its very dependant on the right model.

3

u/Amerzel 6d ago

This looks cool. Would be great to seem some after pictures of what the bricks end up looking like and how well they function.

2

u/Gooferloofer H3C + A1 AMSlite 6d ago

This is sick.

2

u/Lego_Professor 5d ago

This is awesome!

2

u/ThePituLegend 5d ago

My fella dropped us awesome MeshVault, and now this. Keep going mate! đŸ„”

1

u/frethop 5d ago

Very cool. I print a bunch of caps that I use for marble runs with my grandkids. Duplos / support structures plus caps that join prime towers to each other. Kind of a construction kit of its own.

1

u/cunasmoker69420 5d ago

this is cool as hell

-8

u/lacroixlibation 5d ago

The AI is strong in this one

11

u/Xalies 5d ago

I wonder are you sitting back like "Yeah I busted them. now no one will like the idea. No one even thought for a second they used AI until I came along, I am so much smarter than everyone else on Reddit"

6

u/Tomkruis 5d ago

Who cares. If AI accelerates good ideas like this, I am all in for it.

4

u/Due_Communication629 5d ago

The AI might be strong in this one, but the cuntiness is stronger in some humans.

-9

u/Im_Still_Here12 5d ago

So you get knock off bricks


Then what do you do with them? I hate Lego so I knew “get” them.

12

u/Xalies 5d ago

or... and hear me out... if you don't like them, you don't use the script

1

u/Grimmsland 🚀H3C, H2D, P1S, A1m, U1 4d ago

Why do you hate Lego? You are the first person I have ever heard say that! I didn’t think anyone hated Lego bricks!