I ended up adding an extra difference and it looks great! Added a cube to
hold the 2 floating pieces in my B.
Or just don't have it punch all the way through.
But i don't really get how it makes a
difference, as you only moved it below my translate and rotate? Is there a
maximum of how many elements i can subtract with difference?
No, but look at the indentation.
When you say
you are asking for A, subtract B, subtract C. Each of A, B, and C
can be arbitrarily complex.
Here's what you had written:
//Navn i urholder
///trækker indersiden af cylinder fra
cylinder(h=45, r=24, center=true, $fn=80);
That entire "translate" block is the A in the difference
operation. The first thing being subtracted from the object, the
B in the difference, is the cylinder. You're saying something
like (ignoring translates and rotates)
(cube plus text) minus cylinder minus cube minus cube
My "option 1", adding in another difference(), makes it be
(cube minus text) minus cylinder minus cube minus cube
and my "option 2", pulling the text out, makes it be
cube minus text minus cylinder minus cube minus cube
I guess I am just being blinded by my own hideous code. :-)
Indentation is your friend. Be obsessive about it.