Mesh Workbench/ja: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
[[Image:Workbench_Mesh.svg|64px]]

<div class="mw-translate-fuzzy">
'''メッシュワークベンチ'''では[http://en.wikipedia.org/wiki/Triangle_mesh 三角形メッシュ]を取り扱えます。メッシュは3Dオブジェクトの特別なタイプの一つで、エッジと角(頂点とも呼ばれます)によってつながった三角形によって構成されます。
'''メッシュワークベンチ'''では[http://en.wikipedia.org/wiki/Triangle_mesh 三角形メッシュ]を取り扱えます。メッシュは3Dオブジェクトの特別なタイプの一つで、エッジと角(頂点とも呼ばれます)によってつながった三角形によって構成されます。
</div>


<div class="mw-translate-fuzzy">
[[Image:Mesh_example.jpg|An example of a mesh object]]

メッシュオブジェクトの一例

[http://en.wikipedia.org/wiki/Sketchup Sketchup]、[http://en.wikipedia.org/wiki/Blender_(software) Blender]、 [http://en.wikipedia.org/wiki/Maya_(software) Maya]、[http://en.wikipedia.org/wiki/3d_max 3d studio max]といった多くの3Dアプリケーションでは基本となる3Dオブジェクトのタイプとしてメッシュを使用しています。これはメッシュが頂点(点)、エッジ、(三角形)面のみからなる非常にシンプルなオブジェクトで作成や変更、分割、伸縮をとても簡単に行うことができ、劣化なしで容易にアプリケーション間でのやり取りができるためです。また非常にシンプルなデータからできているので3Dアプリケーションは非常に大量のデータであっても普通は問題を起こすことなく扱うことができます。これらの理由からしばしばメッシュは映画やアニメーション、画像作成といったアプリケーションで取り扱う3Dオブジェクトの選択肢となります。
[http://en.wikipedia.org/wiki/Sketchup Sketchup]、[http://en.wikipedia.org/wiki/Blender_(software) Blender]、 [http://en.wikipedia.org/wiki/Maya_(software) Maya]、[http://en.wikipedia.org/wiki/3d_max 3d studio max]といった多くの3Dアプリケーションでは基本となる3Dオブジェクトのタイプとしてメッシュを使用しています。これはメッシュが頂点(点)、エッジ、(三角形)面のみからなる非常にシンプルなオブジェクトで作成や変更、分割、伸縮をとても簡単に行うことができ、劣化なしで容易にアプリケーション間でのやり取りができるためです。また非常にシンプルなデータからできているので3Dアプリケーションは非常に大量のデータであっても普通は問題を起こすことなく扱うことができます。これらの理由からしばしばメッシュは映画やアニメーション、画像作成といったアプリケーションで取り扱う3Dオブジェクトの選択肢となります。
</div>


<div class="mw-translate-fuzzy">
しかしエンジニアリング分野ではメッシュには大きな欠点があります。点とラインと面だけでできているせいで非常に融通がききづらいのです。メッシュは面だけで形づくられ、体積情報がないのでソリッドとして振る舞うことができません。メッシュではある点がオブジェクトの内側にあるのか外側にあるのか自動で判定する方法がありません。つまり加算や減算に代表される全てのソリッドベースの操作はメッシュに対して行うことがかなり難しく、エラーが起きやすいのです。
しかしエンジニアリング分野ではメッシュには大きな欠点があります。点とラインと面だけでできているせいで非常に融通がききづらいのです。メッシュは面だけで形づくられ、体積情報がないのでソリッドとして振る舞うことができません。メッシュではある点がオブジェクトの内側にあるのか外側にあるのか自動で判定する方法がありません。つまり加算や減算に代表される全てのソリッドベースの操作はメッシュに対して行うことがかなり難しく、エラーが起きやすいのです。
</div>


{{TOCright}}
In FreeCAD, since it is an engineering application, we would obviously prefer to work with more intelligent types of 3D objects, that can carry more information, such as mass, solid behaviour, or even custom parameters. The mesh module was first created to serve as a testbed, but to be able to read, manipulate and convert meshes is also highly important for FreeCAD. Very often, in your workflow, you will receive 3D data in mesh format. You will need to handle that data, analyse it to detect errors or other problems that prevent converting them to more intelligent objects, and finally, convert them to more intelligent objects, handled by the [[Part Module]].
[[Image:Mesh_example.jpg|600px]]


<div class="mw-translate-fuzzy">
== メッシュモジュールの使用方法 ==
== メッシュモジュールの使用方法 ==
</div>


<div class="mw-translate-fuzzy">
メッシュモジュールの現在のインターフェイスは非常にシンプルで全ての機能は'''Mesh'''メニューにまとめられています。メッシュに対して行うことのできる操作の中でももっとも重要なものは以下の通りです:
メッシュモジュールの現在のインターフェイスは非常にシンプルで全ての機能は'''Mesh'''メニューにまとめられています。メッシュに対して行うことのできる操作の中でももっとも重要なものは以下の通りです:


Line 26: Line 34:
* 直方体、球、円錐、円筒といったメッシュプリミティブの作成
* 直方体、球、円錐、円筒といったメッシュプリミティブの作成
* ラインに沿ったメッシュの切断
* ラインに沿ったメッシュの切断
</div>


=== General tools ===
* [[Image:Mesh_ImportMesh.png|32px]] [[Mesh Import|Import Mesh]]: Import meshes in several file formats
* [[Image:Mesh_ExportMesh.png|32px]] [[Mesh Export|Export Mesh]]: Export meshes in several file formats
* [[Image:Mesh MeshFromShape.png|32px]] [[Mesh MeshFromShape|Create Mesh from shape]]: Convert [[Part Module|Part]] objects into meshes
* [[Image:Mesh_CurvaturePlot.png|32px]] [[Mesh CurvaturePlot|Curvature Plot]]: Creates a curvature plot
* [[Image:Mesh HarmonizeNormals.png|32px]] [[Mesh HarmonizeNormals|Harmonize Normals]]: Harmonize normals
* [[Image:Mesh_FlipNormals.png|32px]] [[Mesh FlipNormals|Flip Normals]]: Flip [http://en.wikipedia.org/wiki/Surface_normal normals]
* [[Mesh FillHoles|Fill Holes...]]: Fill up holes
* [[Image:Mesh_FillInteractiveHole.png|32px]] [[Mesh FillInteractiveHole|Close hole]]: Close holes in meshes
* [[Mesh AddTriangle|Add triangle]]: Add triangle
* [[Image:Mesh_RemoveComponents.png|32px]] [[Mesh RemoveComponents|Remove components...]]: Remove components of meshes
* [[Mesh RemoveCompByHand|Remove components by hand...]]: Remove components of meshes by hand
* [[Mesh CreateMeshSegment|Create mesh segments...]]: Creates mesh segments
* [[Mesh Smooth|Smooth...]]: Smooth mesh
* [[Mesh Scale|Scale]]


=== Analyze ===
* '''Analyze''' curvature, faces, and check if a mesh can be safely converted into a solid
Analysis of curvature, faces, and check if a mesh can be safely converted into a solid
** [[Mesh EvaluateRepair|Evaluate & Repair mesh...]]: Evaluates and repairs meshes
* [[Mesh EvaluateRepair|Evaluate & Repair mesh...]]: Evaluates and repairs meshes
** [[Image:Mesh EvaluateFacet.png|32px]] [[Mesh EvaluateFacet|Face Info]]: Gives info on faces
** [[Mesh EvaluateCurvature|Curvature Info]]: Gives info on curvature
* [[Image:Mesh EvaluateFacet.png|32px]] [[Mesh EvaluateFacet|Face Info]]: Gives info on faces
* [[Mesh EvaluateCurvature|Curvature Info]]: Gives info on curvature
** [[Mesh EvaluateSolid|Check solid mesh]]: Checks the solid if it can be converted to a mesh
** [[Mesh BoundingBox|Boundings info...]]: Evaluates the bounding box of a mesh
* [[Mesh EvaluateSolid|Check solid mesh]]: Checks the solid if it can be converted to a mesh
* [[Mesh BoundingBox|Boundings info...]]: Evaluates the bounding box of a mesh


=== Regular solid ===
[[Image:Mesh_Regular_Solid.png|32px]] [[Mesh BuildRegularSolid|Regular solid...]] Create mesh primitives, like cubes, cylinders, cones, or spheres:
* [[Image:Mesh_Cube.png|32px]] Create a mesh cube
* [[Image:Mesh_Cylinder.png|32px]] Create a mesh cylinder
* [[Image:Mesh_Cone.png|32px]] Create a mesh cone
* [[Image:Mesh_Sphere.png|32px]] Create a mesh sphere
* [[Image:Mesh_Ellipsoid.png|32px]] Create a mesh ellipsoid
* [[Image:Mesh_Torus.png|32px]] Create a mesh torus


=== Boolean ===
* [[Image:Mesh_Regular_Solid.png|32px]] [[Mesh BuildRegularSolid|Regular solid...]] Create mesh primitives, like cubes, cylinders, cones, or spheres:
* [[Mesh Union|Union]]: Does a union (fusion) on meshes
** [[Image:Mesh_Cube.png|32px]] Create a mesh cube
* [[Mesh Intersection|Intersection]]: Does an intersection (common) on meshes
** [[Image:Mesh_Cylinder.png|32px]] Create a mesh cylinder
* [[Mesh Difference|Difference]]: Does a difference (cut) on meshes
** [[Image:Mesh_Cone.png|32px]] Create a mesh cone
** [[Image:Mesh_Sphere.png|32px]] Create a mesh sphere
** [[Image:Mesh_Ellipsoid.png|32px]] Create a mesh ellipsoid
** [[Image:Mesh_Torus.png|32px]] Create a mesh torus


* Do '''Boolean''' operations with meshes
** [[Mesh Union|Union]]: Does a union (fusion) on meshes
** [[Mesh Intersection|Intersection]]: Does an intersection (common) on meshes
** [[Mesh Difference|Difference]]: Does a difference (cut) on meshes


=== Cutting ===
* [[Image:Mesh Cut.png|32px]] [[Mesh Cut|Cut mesh]]: Cut meshes along a line
* [[Mesh TrimMesh|Trim mesh]]: Trims meshes
* [[Mesh TrimMeshWithPlane|Trim mesh with a plane]]: Trims meshes with a plane
* Create section from mesh and plane


=== Other ===
* [[Mesh Merge|Merge]]: Merges meshes
* [[Mesh Merge|Merge]]: Merges meshes
* [[Mesh SelectMesh|Select Mesh]]: Selects meshes
* [[Mesh SelectMesh|Select Mesh]]: Selects meshes
* [[Image:Mesh Cut.png|32px]] [[Mesh Cut|Cut mesh]]: Cut meshes along a line
* [[Mesh SplitMesh|Split Mesh]]: Splits meshes
* [[Mesh SplitMesh|Split Mesh]]: Splits meshes
* [[Image:Mesh MakeSegment.png|32px]] [[Mesh MakeSegment|Make segment]]: Makes a segment
* [[Image:Mesh MakeSegment.png|32px]] [[Mesh MakeSegment|Make segment]]: Makes a segment
* [[Mesh TrimMesh|Trim mesh]]: Trims meshes
* [[Mesh TrimMeshWithPlane|Trim mesh with a plane]]: Trims meshes with a plane
* [[Mesh CreateMeshSegment|Create mesh segments...]]: Creates mesh segments
* [[Image:Mesh_CurvaturePlot.png|32px]] [[Mesh CurvaturePlot|Curvature Plot]]: Creates a curvature plot


== Preferences ==
* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preference|Preference]] Import-Export


<div class="mw-translate-fuzzy">
* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preference|Preference ...]] Import Export
今のところメッシュモジュールのインターフェイスにはいくつかの基本的な操作しかありません。しかし [[Mesh Scripting/jp|スクリプト]]を使用すればさらに多くの処理をFreeCADのメッシュに対して行うこともできます。
</div>


Meshes can also be handled by [[Mesh Scripting]].
今のところメッシュモジュールのインターフェイスにはいくつかの基本的な操作しかありません。しかし [[Mesh Scripting/jp|スクリプト]]を使用すればさらに多くの処理をFreeCADのメッシュに対して行うこともできます。


==リンク==
==リンク==


<div class="mw-translate-fuzzy">
* [[FreeCAD_and_Mesh_Import|FreeCAD and Mesh Import]]
* [[FreeCAD_and_Mesh_Import|FreeCAD and Mesh Import]]
</div>






<div class="mw-translate-fuzzy">
{{docnav|PartDesign Workbench|OpenSCAD Module}}
{{docnav|PartDesign Workbench|OpenSCAD Module}}
</div>

[[Category:User Documentation]]

Revision as of 14:38, 14 January 2019

メッシュワークベンチでは三角形メッシュを取り扱えます。メッシュは3Dオブジェクトの特別なタイプの一つで、エッジと角(頂点とも呼ばれます)によってつながった三角形によって構成されます。

SketchupBlenderMaya3d studio maxといった多くの3Dアプリケーションでは基本となる3Dオブジェクトのタイプとしてメッシュを使用しています。これはメッシュが頂点(点)、エッジ、(三角形)面のみからなる非常にシンプルなオブジェクトで作成や変更、分割、伸縮をとても簡単に行うことができ、劣化なしで容易にアプリケーション間でのやり取りができるためです。また非常にシンプルなデータからできているので3Dアプリケーションは非常に大量のデータであっても普通は問題を起こすことなく扱うことができます。これらの理由からしばしばメッシュは映画やアニメーション、画像作成といったアプリケーションで取り扱う3Dオブジェクトの選択肢となります。

しかしエンジニアリング分野ではメッシュには大きな欠点があります。点とラインと面だけでできているせいで非常に融通がききづらいのです。メッシュは面だけで形づくられ、体積情報がないのでソリッドとして振る舞うことができません。メッシュではある点がオブジェクトの内側にあるのか外側にあるのか自動で判定する方法がありません。つまり加算や減算に代表される全てのソリッドベースの操作はメッシュに対して行うことがかなり難しく、エラーが起きやすいのです。

メッシュモジュールの使用方法

メッシュモジュールの現在のインターフェイスは非常にシンプルで全ての機能はMeshメニューにまとめられています。メッシュに対して行うことのできる操作の中でももっとも重要なものは以下の通りです:

  • 複数のファイルフォーマットでのメッシュのインポート
  • 複数のファイルフォーマットでのメッシュのエクスポート
  • パートオブジェクトのメッシュへの変換
  • 曲率、面の解析とメッシュを問題なくソリッドに変換できるかどうかのチェック
  • メッシュ法線の反転
  • メッシュに開いた穴の穴埋め
  • メッシュ面の除去
  • メッシュの結合、減算、交差
  • 直方体、球、円錐、円筒といったメッシュプリミティブの作成
  • ラインに沿ったメッシュの切断

General tools

Analyze

Analysis of curvature, faces, and check if a mesh can be safely converted into a solid

Regular solid

Regular solid... Create mesh primitives, like cubes, cylinders, cones, or spheres:

  • Create a mesh cube
  • Create a mesh cylinder
  • Create a mesh cone
  • Create a mesh sphere
  • Create a mesh ellipsoid
  • Create a mesh torus

Boolean

  • Union: Does a union (fusion) on meshes
  • Intersection: Does an intersection (common) on meshes
  • Difference: Does a difference (cut) on meshes

Cutting

Other

Preferences

今のところメッシュモジュールのインターフェイスにはいくつかの基本的な操作しかありません。しかし スクリプトを使用すればさらに多くの処理をFreeCADのメッシュに対して行うこともできます。

Meshes can also be handled by Mesh Scripting.

リンク


PartDesign Workbench
OpenSCAD Module