Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (23 sloc) 0.946 kb
bodywidth = dxf_dim(file = "example009.dxf", name = "bodywidth");
fanwidth = dxf_dim(file = "example009.dxf", name = "fanwidth");
platewidth = dxf_dim(file = "example009.dxf", name = "platewidth");
fan_side_center = dxf_cross(file = "example009.dxf",
layer = "fan_side_center");
fanrot = dxf_dim(file = "example009.dxf", name = "fanrot");
% dxf_linear_extrude(file = "example009.dxf", layer = "body",
height = bodywidth, center = true, convexity = 10);
% for (z = [+(bodywidth/2 + platewidth/2),
-(bodywidth/2 + platewidth/2)])
{
translate([0, 0, z])
dxf_linear_extrude(file = "example009.dxf", layer = "plate",
height = platewidth, center = true, convexity = 10);
}
intersection()
{
dxf_linear_extrude(file = "example009.dxf", layer = "fan_top",
height = fanwidth, center = true, convexity = 10,
twist = -fanrot);
dxf_rotate_extrude(file = "example009.dxf", layer = "fan_side",
origin = fan_side_center, convexity = 10);
}
Jump to Line
Something went wrong with that request. Please try again.