Skip to Content
自造手冊:新工業革命實務指南
book

自造手冊:新工業革命實務指南

by Paolo Aliverti, Andrea Maietta
March 2017
Intermediate to advanced
232 pages
4h 44m
Chinese
GoTop Information, Inc.
Content preview from 自造手冊:新工業革命實務指南
第 11 章 不只是水管
80
面下的各種按鈕、選項與選單中。對本
書的目的來說,我們決定從
OpenSCAD
開始,看起來有點斯巴達簡樸風的免費
軟體(
圖 11-7
),但它功能也很強大且容
易使用。
圖 11-7
OpenSCAD 歡迎畫面
學習 OpenSCAD 不需要理解複雜的按鈕、
滑鼠操作或介面,但它的操作方法相當不
一樣:它使用了簡易的程式語言來編寫
腳本
(script)—也就是一連串指令。
OpenSCAD 可以編譯腳本並呈現該物件
的 3D 圖像,介面共有三個面板:
• 用來輸入設計案所需指令的編輯器
• 以 3D 方式來視覺化呈現物件的區域
• 用來顯示系統訊息、錯誤與建議的主
控台
在 OpenSCAD 中,滑鼠 只在 3D 檢 視視
窗中有用,能做到以下三件事:
• 按下滑鼠左鍵並移動滑鼠來旋轉物件
• 移動滑鼠,同時按著滑鼠右鍵來平移
畫面
• 使用滑鼠中央滾輪來縮小或放大
很簡單吧?
在開始之前,在最右側的視窗可以看到
三條互相垂直的直線—分別是 x、y 與 z
軸—三條線的交會點稱為
原點
(
origin
)。
您可使用這三根軸為參考基準來決定各
點的位置:
x
座標是用來量測某個點與
y
與
z
直線所構成之
yz
平面之間的距離;
y
座標是用來量測某個點與
xz
平面之間的
距離;最後,
z
座標當然就是用來量測某
個點與
xy
平面之間的距離。原點座標是
(0, 0, 0)。
H ello,World!
現在,請在左方欄位中輸入以下指令來
產生一個立方體:
cube([1]);
按下 F6 執行您的第一個腳本,應該會看
到一個邊長為
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

優雅的SciPy|Python科學研究的美學

優雅的SciPy|Python科學研究的美學

Juan Nunez-Iglesias, Stéfan van der Walt, Harriet Dashnow
Presto实战

Presto实战

Matt Fuller, Manfred Moser, Martin Traverso

Publisher Resources

ISBN: 9789864763238