有鑒於方便資料整合,故將期中之前的筆記統整成一篇文章,方便其他同學能夠利用最少的時間,學到期中前這幾週老師的課程內容。

可攜系統安裝


  • 下載 mini2016fall.7z

  • start.bat 啟動, stop.bat 關閉

  • 建議存在隨身硬碟中使用

登記GITHUB、ONSHAPE 帳號(利用學校信箱註冊)


Fork 課程倉儲


  1. 先登入 GitHub
  2. 進入課程倉儲
  3. 找到Fork按鈕,按下

建立個人作業倉儲


  1. 先登入 GitHub
  2. Create a new Repository
  3. Repository name : 2016fallcadp_hw
  4. 打勾 [Initialize this repository with a README]
  5. 按下 Create repository
  6. 進入 Setting
  7. Set Default branch : gh-pages

建立個人Github首頁


  1. 先登入 GitHub
  2. Create a new Repository
  3. Repository name : 學號.github.io (example: 40423117.github.io)
  4. 打勾 [Initialize this repository with a README]
  5. 按下 Create repository
  6. 進入 Setting
  7. Set Default branch : gh-pages

Solvespace


  1. Download Solvespace v2.1
  2. 安裝完成後,就開始零件圖繪製囉!bracket.pl
  3. 這是我畫好的檔案 SolveSpace_bracket_hw.slvs
  4. 組合圖

  5. Solvespace 影片教學

錄影工具 (ShareX)


去聲音指令:
ffmpeg.exe -i 檔名 -c copy -an out.mp4

字幕指令:
ffmpeg.exe -i out.mp4 -vf subtitles=in.srt out2.mp4

Git Code


安裝pelican指令: pip install pelican

新增submodule: git submodule add -b gh-pages 倉儲網址

刪除指令: git rm -rf

Clone時連submodule一起下載: git clone --recursive 倉儲網址

Clone完發現submodule是空的時候,用指令抓: git submodule update --init --recursive

子目錄下的子模組一次全部更新(Pull): git submodule foreach --recursive git pull origin gh-pages

Proxy Setting


至區域網路(LAN)設定中,設定Proxy伺服器

位址:proxy.mde.tw 連接埠:3128

Git Proxy Setting


學校代理主機,在命令提示字元[ cmd.exe ]輸入指令:

[http] git config --global http.proxy http://proxy.mde.tw:3128

[https] git config --global https.proxy http://proxy.mde.tw:3128

四連桿機構模擬


當機構繞行一圈後求特定點的座標, 以 Solvespace 進行點座標追蹤存檔, 得到 40423117.csv, 四連桿圖檔