mirror of https://github.com/vitalif/openscad
Don't use deprecated file parameter.
parent
e182b41c88
commit
d8ab4715e8
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue