2014年4月28日月曜日

Meshlab を使って点群を STL に変換する方法

Meshlab を使って点群を STL に変換する方法についてまとめました.

(1) メニュー [File] - [Import Mesh] を選択する.
[Import Mesh] を押下し,STL に変換したいファイル(ここでは,点群ファイル .asc ファイルが既にあると仮定する)を選ぶ.


[OK] を押下する.


(2) [Render]-[Show Vertex Dots] を押下する.




(3) [Filters] - [Point Set] - [Compute normal for point sets] を押下する.



[Compute normal for point sets] ウィンドウの [Neighbor num] の値を 10 から 3 にする.
ウィンドウ下にある [Apply] を押下する.
[Close] を押下する.

(5) [Filters]-[Sampling]-[Clustered vertex Subsampling] を押下する.
Clustered Vertex Subsampling ウィンドウが表示される.
ウィンドウ内の [Cell Size] の右の値を 1.000 から 0.500 に変更する.
[Apply] - [Close] を押下する.



(6) [Render] - [Show Vertex Dots] を押下する.

(7) [Filters] - [Remeshing, Simplification and Reconstruction] - [Surface Reconstruction: Ball Pivoting] を押下する.

Surface Reconstruction: Ball Pivoting ウィンドウで値を変えずに [Apply] - [Close] を押下する.



(8) ツールバーにある六角柱に斜線が入った図形アイコンを押下する.

(9) [Filters] - [Smoothing, Fairing and Deformation] - [Laplacian Smooth] を押下する.
Laplacian Smooth ウィンドウ内の [Smoothing steps] の値を 3 から 10 に変更し [Apply] - [Close] を押下する.



(10) [File] - [Export Mesh As] を押下する.
[Files of type] を [STL File Format(*.stl)] に変更する.
ファイル名を入力してボタン [Save] を押下する.
[Choose Saving Options for “(ファイル名)”] の [Binary encoding] にチェックが入っていることを確認する.
画面下のボタン [All] が選択されていることを確認して,[OK] を押下する.




0 件のコメント:

コメントを投稿