mirror of https://github.com/vitalif/openscad
Use new import() statement instead of import_*()
parent
7cfd61c53e
commit
e26d872373
|
@ -8,5 +8,5 @@ difference()
|
|||
sphere(20);
|
||||
|
||||
translate([ -2.92, 0.5, +20 ]) rotate([180, 0, 180])
|
||||
import_stl("example012.stl", convexity = 5);
|
||||
import("example012.stl", convexity = 5);
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ module shape()
|
|||
rotate(-45) scale([ 0.7, 1.3 ]) circle(5);
|
||||
}
|
||||
|
||||
import_dxf(file = "example009.dxf", layer = "body",
|
||||
import(file = "example009.dxf", layer = "body",
|
||||
convexity = 6, scale=2);
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ module blk2() {
|
|||
|
||||
module chop() {
|
||||
translate([ -14, 0, 0 ])
|
||||
import_stl(file = "example016.stl", convexity = 12);
|
||||
import(file = "example016.stl", convexity = 12);
|
||||
}
|
||||
|
||||
difference() {
|
||||
|
|
Loading…
Reference in New Issue