OpenSCAD multicolor?

I kind been using @MalcTheOracle solution with different STL files
but today i kind figured out much easier way , use the color in the SCAD
Using the latest FreeCad 0.21.2, directly open the SCAD file then select the printable objects top level and export as STEP file (does not very well export the differences and negative elements , unless top level selected or Bambu studio can not import it correctly )
Import in the Slicer and assign individual filaments in the object menu
Unfortunately if hundreds of objects on a different levels may be a bit difficult, as even the colors are assigned does not get propagated to the Bambu studio/Orca slicer as different filaments . If that can be sorted then would be perfect
some where automatic color mapping to Filament is lost or not happening

If any one tried it Please advise or give it a go , but still quite simple for simple object hierarchy

1 Like

This would only work with very basic models and clearly not a solution for MW.

Thank you all for the responses, the question was posed to me by one of the users who commented on my OpenSCAD model.
I have updated the model to allow individual parts to be downloaded, so that they can then be imported and merged in Bambu Studio.

What do you think?

Here the updated model: Ultimate QR Code Generator: Text, Wi-Fi & More by SnaKKo - MakerWorld

@SnaKKo The ā€˜Parts Download’ section works great. Good job!

Wifi mode


Text mode
When selected Label part had some error you might want to check

@vladimir.minkov Maybe because you didn’t add the label?
When does the error occur? When you create the label or when you try to download it?

Correct :slight_smile: , probably one extra condition in the if statement 0 will not generate the error

Thanks, i’m debugging right now :slight_smile:

That looks fairly straightforward. I’ll have to give it a try. I’d still like Bambu Labs to combine multiple STLs into a single 3MF automatically.

2 Likes

I’ve updated the model description to explain the procedure. It’s simple and straightforward to use, so you can get started quickly.

2 Likes

OpenSCAD itself doesn’t support multicolor printing directly, but you can design your model in separate parts and assign different colors in Bambu Studio. It’s a bit of extra work, but it gets the job done.

I am using Fusion 360. Multicolor can be done by creating assemblies goe the different colors and them export the whole model as a STEP file. BambuStudio will recognise it as a model with different objects. You then change the color per object

This works really well and is simple to do! Thank you!

1 Like

Anyone reading this thread should probably be made aware that the nightlies of openscad can export 3MFs. They include color info but importing into Bambu Studio still leaves filament assignments to be done. Though I’m working on a script to add those.

3 Likes