Try   HackMD

FreeCAD 從匯入的 STEP 轉出工程圖

tags: FreeCAD 轉存 工程圖

使用 FreeCAD 將 3D 零件檔 STEP 轉出工程圖時,可以使用PDF或SVG格式,所有線條都是向量格式,文字可選擇保持可編輯的狀態,然後直接放進 AI 或 CDR 裡面。

要注意的是使用 0.19 建立的工程圖,使用0.18打開會有問題。

一、匯入

1.從其他軟體匯出 STEP格式,如果一個組漸有不同零件,最好分開匯出為個別 STEP檔。

2.開啟 FreeCAD,選取 TechDRAW 工作台。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

3.匯入。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

4.選取匯入格式,這裡用STEP

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

5.物件匯入後會顯示在工作視窗。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

*FreeCAD 可以設定匯入的STEP組合件各自獨立,只需將好設定「匯入-匯出」STEP分頁的 「匯入」選項Enable STEP Compound merge 功能取消打鉤即可,此功能預設是將零件合併,因此要取消打鉤。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →


二、建立工程圖

1.開啟工程圖模版資料夾,選擇要使用的模版,如果不想使用有預設內容的模版,則選帶有blank檔名的模版,也可依需求選橫式(Landscape)或直式(Portrait)。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

2.模版開啟之後會顯示在左邊「模型」的樹狀路徑和視窗底部。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

3.接著點一下模型的實體以選取(這裡樹狀列表名稱需自己改,一開始匯入時名稱為 Documant,按 F2進行改名)。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

4.由工具列選擇零件要放到工程圖的視角,或從右上角的軸去拖,也可以直接按住滑鼠中鍵著拖拉到所需的角度。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

5.接著要選取工程圖(這裡的名稱預設是 pagexxx 也是自己改,按F2可修改)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

6.再來是將第 4 步驟的視角放進工程圖中,這時要到工具列的insert a View 點一下,以插入視角。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

7.這時模型視角就會放到工程圖頁。


三、修改工程圖上的顯示

1.在工程圖頁選取要修改的零件圖,被選取的會顯示綠色外框和你鍵視角名稱。名稱預設是 View。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

2.修改視角名稱。倒是窗左下角點「資料」分頁 ,然後點一下Lable旁邊的欄位。預設名稱是Viewxxx,按一下滑鼠左鍵並輸入零件的視角名稱。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

3.若名稱沒有更新,點一下旁邊的小圓圖示,也可以按 F5 或點工具列的重新計算。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

4.修改視角的縮放比例,當零件本身太小就有比要放大,這時要在 Scale 旁邊欄位輸入要放大的比率,同樣的若頁面上沒有更新也是按 F5重新計算。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

5.線寬的設定,有時候預設的線寬不是很符合自己需求,這時候要進「檢視」分頁修改線寬。
(若要永久修改,則要去修改 LineGroup.csv)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

6.進行尺寸標註時,先在頁面選取要標註尺寸單位的視角,然後依選取頂點或線條,被選取的線條或頂點會顯示為綠色,接著按標註工具列上的圖示,有些地方因為線段不是一整條,但要標註總長時,可以按 Ctrl複選兩端的頂點再按工具列的標註圖示。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →


四、永久變更標註樣式

1.在 FreeCAD 的編輯選單找到「偏好設定」,點進去可以看到左邊有「TechDraw」工作桌設定。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

2.點進去之後會有這個工作桌的設定選項,所有的線條樣式都在LineGroup File裡面,在旁邊點一下以進到目錄,然後使用 任何純文字軟體修改 LineGroup.csv檔。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

3.使用純文字軟體修改 *FC 後面的數值,這裡是已經改過的樣式,可依需求自行修改,修改後儲存重新進入FreeCAD。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

4.「TechDraw」工作桌「一般」Lables可設定裡面可自行修改字體為微軟正黑體,大小也可以自己修改。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

5.「縮放」的設定中,可以設定視角四社的縮放比。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

6.「尺寸」中可修改標註文字的Font Size大小和Arrow Size箭頭大小。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

7.「顏色」的分頁中可以設定例如Hidden Line(隱藏線)的顏色之類。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

8.所以設定都設好之後要記得Apply以套用設定。