Loading

XOR-able objects

by MakeALot, published

XOR-able objects by MakeALot Sep 20, 2011

Thing Info

2900Views 2159Downloads
Report Thing

Summary

Objects to 3D XOR with other objects to make checked/striped/spotted (even gingham - for picnics) items in two colours

Best utilised when we can get a two colour Candystruder (CandyFab acknowledged). Hey, what about milk and white chocolate...

And, of course, there's tartan for anyone who thought that I was only joking...

Instructions

Take two STLs, one that you prepared earlier and one XOR stl.

Then use OpenSCAD to create a positive:
difference() {
import_stl("stlNumber1.stl",convexity=15);
import_stl("Check.stl",convexity=15);
}

and export STL.

Create support (or second colour)
intersection() {
import_stl("stlNumber1.stl",convexity=15);
import_stl("Check.stl",convexity=15);
}

and export STL.

Now place in a medium temperature twin 3D printer until golden brown.

Thing Info

2900Views 2159Downloads
Report Thing

Makes

Liked By

View All

License

XOR-able objects by MakeALot is licensed under the Creative Commons - Attribution license.

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

hi,
when i enter your program, my stl file import in 3d but not your files*.
please can u help by sending tuto.
Sorry to distrubing you and thanks you

I assume that it's not importing because OpenSCAD is failing at that point. Have you tried running it on Ubuntu / MacOS? It works much better on these platforms than in windows.

I assume that it's not importing because OpenSCAD is failing at that point. Have you tried running it on Ubuntu / MacOS? It works much better on these platforms than in windows.

That's brilliant. So simple. When my Replicator arrives, I am going to be printing a lot of 2color stuff, completely gratuitously. And this trick is going to be how I do it. 2 color Bre! 2 color gangsta! 2 color Stephen Colert! All your fault!

Thanks! 8-)

How do you display multiple colors in openscad like that? My dual extrders are ordered already btw...

Use the color() directive in front of the item. color([red,green,blue,alpha])

where each parameter is a number between 0 and 1.

So if you wanted a purpley-blue sphere radius 5mm that your drawing program shows as

red=51, green=11, blue=133 and you wanted it 75% semi-transparent, you could use:

color([51/255,11/255,133/255,0.75]) sphere(5);

They should send you a couple of MK7 ;)

Top