4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

OpenSCAD教程之"创建蝙蝠" | OpenSCAD tutorial -- Create Batman

Summary: OpenSCAD (version 2015.03-2) is the open source software for creating solid 3D CAD models. It is available for Linux/UNIX, Windows and Mac OS X, and it is a programming Solid 3D CAD Modeller. In this tutorial I will show you how to create a batman. Let's start...

Result:

图片.png



步骤1:创建一个梯形:

图片.png

步骤2:将其沿y轴方向移动20

图片.png

步骤3:再创建一个梯形:

图片.png

步骤4:将其沿Y轴方向移动30

图片.png

步骤5:对2个梯形求布尔差,形成Bitman的头部:

图片.png

步骤6:做一个椭圆,作为Bitman身体的主体:

图片.png

步骤7:再做4个小椭圆,作为Bitman的尾部:

图片.png

步骤8:再做2个椭圆,作为Bitman的肩部:

图片.png

步骤9:用主体椭圆布尔减去尾部和肩部椭圆:

图片.png

步骤10:将平面的Bitman拉升为3D:

图片.png

得到最终的3D Bitman:

图片.png

OpenSCAD代码如下:

linear_extrude(height = 2, center = true, convexity = 10, twist = 0)
union(){
difference(){
translate([0,20,0])
polygon(points=[[-9.8, -14], [9.8,-14],[3.8, 14],[-3.8, 14] ],paths=[[0,1,2,3]], convexity=10);
translate([0,30,0])
polygon(points=[[-2, -8], [2,-8],[12, 8],[-12, 8] ],paths=[[0,1,2,3]], convexity=10);
}
difference(){
projection(cut=true) rotate([0,50,0])
cylinder(r=30, h=200, center=true);
translate([-8,-23,0]) rotate([0,0,-60])
projection(cut=true) rotate([0,62,0])
cylinder(r=7, h=200, center=true);
translate([8,-23,0]) rotate([0,0,60])
projection(cut=true) rotate([0,62,0])
cylinder(r=7, h=200, center=true);
translate([-18,-24,0]) rotate([0,0,-50])
projection(cut=true) rotate([0,67,0])
cylinder(r=7, h=200, center=true);
translate([18,-24,0]) rotate([0,0,50])
projection(cut=true) rotate([0,67,0])
cylinder(r=7, h=200, center=true);
translate([-7,25,0]) rotate([0,0,30])
projection(cut=true) rotate([0,45,0])
cylinder(r=13, h=200, center=true);
translate([7,25,0]) rotate([0,0,-30])
projection(cut=true) rotate([0,45,0])
cylinder(r=13, h=200, center=true);
}
}



Posted on Utopian.io - Rewarding Open Source Contributors

8 upvotes $0.00

Replies (3)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: