r/BambuLab • • 1d ago

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.

963 Upvotes

54 comments sorted by

58

u/ceralguy 1d ago

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

49

u/Xalies 1d ago edited 1d 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)

27

u/ceralguy 1d ago

So the bricks are stacked and come appart somehow?

55

u/Xalies 1d 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

15

u/ceralguy 1d ago

That's awesome. What a cool idea!!

17

u/pocketcarve 23h ago

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

8

u/Xalies 23h 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

3

u/NimblePasta 22h ago edited 20h 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.

4

u/Xalies 22h ago

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

1

u/NimblePasta 20h ago edited 19h ago

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

2

u/PBMKing 12h 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 12h ago

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

4

u/EdTheNerd 1d 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

3

u/Xalies 1d ago

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

27

u/realdawnerd 1d ago

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

2

u/PaurAmma 18h ago

I thought it was intended to be a wedge

-4

u/Xalies 1d ago

i just thought it would just be cleaner to visualise

13

u/diiscotheque A1 Mini 21h ago

stop thinking that

15

u/Xalies 21h ago

Yeah I know, I wish I could change it now

6

u/Rock4evur 16h 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.

8

u/Xalies 16h ago edited 16h 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

1

u/Bargeau 11h 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 😉

0

u/ApprehensiveGold2773 1h ago

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

1

u/realdawnerd 55m 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...

2

u/Xalies 17h ago edited 17h 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.

2

u/animelov 6h 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 5h ago

No worries, will do

96

u/Ill_Locksmith_673 1d ago

brilliant

7

u/Proxy-Pie X1C Combo | P1S | A1 Mini 18h ago

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

401

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

69

u/PeriIous 1d ago

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

5

u/coderwelsch 19h ago

:D best fitting gif

1

u/Xalies 1h ago edited 1h 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.

1

u/Xalies 1h ago

Latest print ... tower breaks apart with ease

1

u/boonhuhn 21h ago

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

3

u/Xalies 21h ago edited 21h 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 21h ago

Sounds very nice. Good job!

1

u/alienbringer 16h 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 16h ago

Oh good idea, I'll look into that.

1

u/Ceros007 A1 Mini + AMS 15h ago

Are the steps for Orca the same for Bambu Studio?

1

u/Xalies 15h 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

3

u/ThePituLegend 16h ago

My fella dropped us awesome MeshVault, and now this. Keep going mate! 🥵

2

u/Gooferloofer H3C + A1 AMSlite 1d ago

This is sick.

2

u/Amerzel 1d 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/Lego_Professor 17h ago

This is awesome!

1

u/frethop 17h 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 10h ago

this is cool as hell

-9

u/lacroixlibation 1d ago

The AI is strong in this one

10

u/Xalies 22h 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 22h ago

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

3

u/Due_Communication629 21h ago

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

-7

u/Im_Still_Here12 18h ago

So you get knock off bricks…

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

10

u/Xalies 18h ago

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