s40723233 cad2019

  • Home
    • Site Map
    • reveal
    • blog
  • Home
  • Weeks
    • week 2~5
    • week 6~9
    • Week10~14
    • Week15~18
    • W17 個人任務
      • W17 協同任務
  • inventor
    • 零件设计
    • 钣金设计
    • 装配设计
  • BOOK
    • Space Modeling with SolidWorks and NX
    • NX-12-for-Engineering-Design
    • cad_history
  • About
  • Develop
week 2~5 << Previous Next >> Week10~14

week 6~9

week 6

建立汽車模型

使用v-rap控制模型

week7

網際 V-rep 模型控制

  1. 先到Task1裡,下載V-rep 3.6.1 rev 4.7z和 web_vrep2.zip。
  2. 將兩個檔案都解壓縮在自己的隨身碟tmp裡面。
  3. 打開自己的start_mdecourse,輸入regedit開啟程式。
  4. 將HKEY_CLASSES_ROOT內的,.py和.py_auto_le刪除。
  5. 開啟web_vrep2的app.py,點Tools的Go。
  6. 再點開剛剛載好的V-REP3\V-REP_PRO_EDU > vrep.exe 。
  7. 開啟後將web_vrep2的two_wheeler.ttt拖移進去。
  8. 到http://127.0.0.1:5000/裡面,就可以操控了。

與互相評分。

新增啟動與停止按鈕

1.進入2b Task 1的 #14 ,準備操作。

2.開啟start_mdecoursr,進入web_vrep2。

3.編輯templates裡面的controls.html。

4.加入start 和 stop 的botton,直接複製改。

5.編輯vrep_linefollower.py,if加入判斷式。 if direction == 'start': vrep.simxStartSimulation(self.clientID, vrep.simx_opmode_oneshot) if direction == 'stop': vrep.simxStopSimulation(self.clientID, vrep.simx_opmode_oneshot)

6.補上else: ,完成後儲存,記得語法要排好。

7.開啟v-rep程式,將two_wheeler.ttt檔案拖入。

8.再開啟app.py 的go進入網址localhost:5000。

9.這樣子就可以進行start 以及 stop的操作了。

Solvespace 納入學號

1.先到自己tmp下的solvespace\build\src\CMakeFiles\solvespace.dir。

2.刪掉solvespace.cpp.obj檔案,開啟start_mdecourse。

3.再到solvespace\src找到solvespace.cpp用編輯器打開。

4.Ctrl+f 搜尋GPL,把Message下面的This is SolveSpace 。

5.改成This is SolveSpace is compiled by 40723210。

6.進入solvespace\build,輸入mingw32-make,等待完成。

7.開啟solvespace.exe,點help > about 就完成了驗證。


week 2~5 << Previous Next >> Week10~14

Copyright © All rights reserved | This template is made with by Colorlib