openscad/examples/Basics/surface.scad

16 lines
317 B
OpenSCAD
Raw Normal View History

2014-04-05 21:55:36 +04:00
// surface.dat generated using octave:
2014-05-03 22:24:07 +04:00
// d = (sin(1:0.2:10)' * cos(1:0.2:10)) * 10;
2014-04-05 21:55:36 +04:00
// save("surface.dat", "d");
2014-05-03 22:24:07 +04:00
echo(version=version());
2014-05-03 22:24:07 +04:00
intersection()
{
2014-04-05 21:55:36 +04:00
surface(file = "surface.dat",
2014-05-03 22:24:07 +04:00
center = true, convexity = 5);
rotate(45, [0, 0, 1])
2014-04-05 21:55:36 +04:00
surface(file = "surface.dat",
2014-05-03 22:24:07 +04:00
center = true, convexity = 5);
}