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:  --- <br> 步骤1:创建一个梯形:  步骤2:将其沿y轴方向移动20  步骤3:再创建一个梯形:  步骤4:将其沿Y轴方向移动30  步骤5:对2个梯形求布尔差,形成Bitman的头部:  步骤6:做一个椭圆,作为Bitman身体的主体:  步骤7:再做4个小椭圆,作为Bitman的尾部:  步骤8:再做2个椭圆,作为Bitman的肩部:  步骤9:用主体椭圆布尔减去尾部和肩部椭圆:  步骤10:将平面的Bitman拉升为3D:  得到最终的3D Bitman:  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); } } ``` <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@azcax/openscad-or-openscad-tutorial-create-batman">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
author | azcax | ||||||
---|---|---|---|---|---|---|---|
permlink | openscad-or-openscad-tutorial-create-batman | ||||||
category | utopian-io | ||||||
json_metadata | {"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":1049088,"name":"openscad","full_name":"openscad/openscad","html_url":"https://github.com/openscad/openscad","fork":false,"owner":{"login":"openscad"}},"pullRequests":[],"platform":"github","type":"tutorials","tags":["utopian-io","cad","model","programming","development"],"users":["azcax"],"links":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1515584953/efq3rsp7hf4qy1ztoyfh.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585086/r7tsqnlepc5guehwaek5.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585148/vzkuzkzwu6iyvunv09km.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585202/uyfdji1mubp45pbsoxpj.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585260/z4octvmvujoxxkuvmwbq.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585385/esvuo5xn0hbufbyne6sd.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585636/q8v72iidwoengiyhdhdp.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515586064/pvoc9tdvprizkjffgdk1.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515586224/mkckv7umybp3hnf5kyl3.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515586509/lxozdjbbbcqyhobxnkpi.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515586706/yc6ufr0vndf2bui2r1oe.png"],"image":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1515584953/efq3rsp7hf4qy1ztoyfh.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585086/r7tsqnlepc5guehwaek5.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585148/vzkuzkzwu6iyvunv09km.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585202/uyfdji1mubp45pbsoxpj.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585260/z4octvmvujoxxkuvmwbq.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585385/esvuo5xn0hbufbyne6sd.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515585636/q8v72iidwoengiyhdhdp.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515586064/pvoc9tdvprizkjffgdk1.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515586224/mkckv7umybp3hnf5kyl3.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515586509/lxozdjbbbcqyhobxnkpi.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515586706/yc6ufr0vndf2bui2r1oe.png"],"moderator":{"account":"shreyasgune","flagged":true,"reviewed":false,"pending":false}} | ||||||
created | 2018-01-10 12:47:39 | ||||||
last_update | 2018-01-13 03:19:30 | ||||||
depth | 0 | ||||||
children | 3 | ||||||
last_payout | 2018-01-17 12:47:39 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.038 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 2,992 | ||||||
author_reputation | 97,519,363,597 | ||||||
root_title | "OpenSCAD教程之"创建蝙蝠" | OpenSCAD tutorial -- Create Batman" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 28,490,532 | ||||||
net_rshares | 4,969,744,918 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
ubg | 0 | 208,686,482 | 1% | ||
st3llar | 0 | 589,983,692 | 3% | ||
alanzheng | 0 | 2,695,722,004 | 100% | ||
azcax | 0 | 614,468,002 | 100% | ||
xiaodong | 0 | 246,042,605 | 100% | ||
zhengxiaodong | 0 | 246,031,846 | 100% | ||
steemlua | 0 | 245,909,250 | 100% | ||
hao.zheng | 0 | 122,901,037 | 100% |
Your contribution cannot be approved because it is not as informative as other contributions. See the [Utopian Rules](https://utopian.io/rules). Contributions need to be informative and descriptive in order to help readers and developers understand them. You can contact us on [Discord](https://discord.gg/UCvqCsx). **[[utopian-moderator]](https://utopian.io/moderators)**
author | shreyasgune |
---|---|
permlink | re-azcax-openscad-or-openscad-tutorial-create-batman-20180111t105119219z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2018-01-11 10:51:33 |
last_update | 2018-01-11 10:51:33 |
depth | 1 |
children | 2 |
last_payout | 2018-01-18 10:51:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 373 |
author_reputation | 4,924,803,411,962 |
root_title | "OpenSCAD教程之"创建蝙蝠" | OpenSCAD tutorial -- Create Batman" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,724,432 |
net_rshares | 0 |
@shreyasgune, thanks for reviewing! I will update it later.
author | azcax |
---|---|
permlink | re-shreyasgune-re-azcax-openscad-or-openscad-tutorial-create-batman-20180111t134635805z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["shreyasgune"],"app":"steemit/0.1"} |
created | 2018-01-11 13:46:39 |
last_update | 2018-01-11 13:46:39 |
depth | 2 |
children | 0 |
last_payout | 2018-01-18 13:46:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 59 |
author_reputation | 97,519,363,597 |
root_title | "OpenSCAD教程之"创建蝙蝠" | OpenSCAD tutorial -- Create Batman" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,758,725 |
net_rshares | 0 |
@shreyasgune, I updated, please review it again.
author | azcax |
---|---|
permlink | re-shreyasgune-re-azcax-openscad-or-openscad-tutorial-create-batman-20180113t032023439z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2018-01-13 03:20:27 |
last_update | 2018-01-13 03:20:27 |
depth | 2 |
children | 0 |
last_payout | 2018-01-20 03:20:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 48 |
author_reputation | 97,519,363,597 |
root_title | "OpenSCAD教程之"创建蝙蝠" | OpenSCAD tutorial -- Create Batman" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,140,556 |
net_rshares | 0 |