Don't use deprecated file parameter.

master
Torsten Paul 2014-05-03 21:33:39 +02:00
parent e182b41c88
commit d8ab4715e8
2 changed files with 4 additions and 6 deletions

View File

@ -22,10 +22,8 @@ module clip()
// NB! We have to use the deprecated module here since the "dorn"
// layer contains an open polyline, which is not yet supported
// by the import() module.
rotate_extrude(
file = "cut_view.dxf",
layer="dorn",
convexity = 3);
rotate_extrude(convexity = 3)
import(file = "cut_view.dxf", layer="dorn");
for (r = [0, 90])
rotate(r, [0, 0, 1])
cutout();

View File

@ -24,7 +24,7 @@ intersection()
// NB! We have to use the deprecated module here since the "fan_side"
// layer contains an open polyline, which is not yet supported
// by the import() module.
rotate_extrude(file = "fan_view.dxf", layer = "fan_side",
origin = fan_side_center, convexity = 10);
rotate_extrude(convexity = 10)
import(file = "fan_view.dxf", layer = "fan_side", origin = fan_side_center);
}