Removed use of deprecated rotate_extrude variant
This commit is contained in:
parent
c10bc224e5
commit
541352acad
4 changed files with 11 additions and 12 deletions
|
|
@ -18,11 +18,9 @@ module cutout()
|
||||||
module clip()
|
module clip()
|
||||||
{
|
{
|
||||||
difference() {
|
difference() {
|
||||||
// NB! We have to use the deprecated module here since the "dorn"
|
rotate_extrude(convexity = 3, $fn = 0, $fa = 12, $fs = 2) {
|
||||||
// layer contains an open polyline, which is not yet supported
|
import(file = "example007.dxf", layer = "dorn");
|
||||||
// by the import() module.
|
}
|
||||||
rotate_extrude(file = "example007.dxf",
|
|
||||||
layer="dorn", convexity = 3);
|
|
||||||
for (r = [0, 90])
|
for (r = [0, 90])
|
||||||
rotate(r, [0, 0, 1])
|
rotate(r, [0, 0, 1])
|
||||||
cutout();
|
cutout();
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,8 @@ intersection() {
|
||||||
linear_extrude(height = fanwidth, center = true, convexity = 10, twist = -fanrot)
|
linear_extrude(height = fanwidth, center = true, convexity = 10, twist = -fanrot)
|
||||||
import(file = "example009.dxf", layer = "fan_top");
|
import(file = "example009.dxf", layer = "fan_top");
|
||||||
|
|
||||||
// NB! We have to use the deprecated module here since the "fan_side"
|
rotate_extrude(convexity = 10)
|
||||||
// layer contains an open polyline, which is not yet supported
|
import(file = "example009.dxf", layer = "fan_side", origin = [0, -40]);
|
||||||
// by the import() module.
|
|
||||||
rotate_extrude(file = "example009.dxf", layer = "fan_side",
|
|
||||||
origin = fan_side_center, convexity = 10);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Written by Clifford Wolf <clifford@clifford.at> and Marius
|
// Written by Clifford Wolf <clifford@clifford.at> and Marius
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,9 @@ group() {
|
||||||
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -10], [0, 0, 0, 1]]) {
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -10], [0, 0, 0, 1]]) {
|
||||||
group() {
|
group() {
|
||||||
difference() {
|
difference() {
|
||||||
rotate_extrude(file = "example007.dxf", layer = "dorn", origin = [0, 0], scale = 1, convexity = 3, $fn = 0, $fa = 12, $fs = 2);
|
rotate_extrude(convexity = 3, $fn = 0, $fa = 12, $fs = 2) {
|
||||||
|
import(file = "example007.dxf", layer = "dorn", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
|
||||||
|
}
|
||||||
group() {
|
group() {
|
||||||
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
||||||
group() {
|
group() {
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@ group() {
|
||||||
linear_extrude(height = 20, center = true, convexity = 10, twist = -57.5288, slices = 4, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
|
linear_extrude(height = 20, center = true, convexity = 10, twist = -57.5288, slices = 4, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
|
||||||
import(file = "example009.dxf", layer = "fan_top", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
|
import(file = "example009.dxf", layer = "fan_top", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
|
||||||
}
|
}
|
||||||
rotate_extrude(file = "example009.dxf", layer = "fan_side", origin = [0, -40], scale = 1, convexity = 10, $fn = 0, $fa = 12, $fs = 2);
|
rotate_extrude(convexity = 10, $fn = 0, $fa = 12, $fs = 2) {
|
||||||
|
import(file = "example009.dxf", layer = "fan_side", origin = [0, -40], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue