1

Topic: OpenSCAD question, unioning two imported stls

If I want to union two imported STLS would the syntax be:

Union()
{
import("base.stl");
translate (0,0,10) import("addon.stl");
}

I'm very new to OpenSCAD.  I'm looking at using it to union some STLs from the app that I got to make 3D engraved STLs from 2D images.  I've tried in some other apps but they don't seem to want to work with these stls for some reason.

2

Re: OpenSCAD question, unioning two imported stls

translate ([ x,y,z ])

the missing brackets might be the cause of your troubles...

union should also be lower case - or it might be interpreted as a variable.

Also, if these are objects you've made with SCAD, you can also try 'include' on the scad files...

If you get it going, please comment on how

3

Re: OpenSCAD question, unioning two imported stls

One more question, let's say I have an imported stl I want to fit to a cylindrical object.  Is there a way to bend the stl around a curve?  With a cube I could use a for loop to union bunches of small cubes together around the shape.