Mesh API/Meshオブジェクト

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Mesh API and the translation is 60% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎română • ‎日本語
(November 2018) This information may be incomplete and outdated. For the latest API, see the autogenerated API documentation.

Meshオブジェクトに対しては新しいファセットの追加、ファセットの削除、STLファイルからのインポート、メッシュの変換などの操作を行うことができます。何ができるのかを全て概観するにはメッシュモジュールドキュメントも参照してください。メッシュオブジェクトを既存のドキュメントに直接追加することはできません。それを行うにはドキュメントにメッシュをサポートするプロパティクラスを持つオブジェクトを作成する必要があります。 例:

m = Mesh.Mesh()
... # メッシュを操作
d = FreeCAD.activeDocument() # アクティブなドキュメントの参照を取得
f = d.addObject("Mesh::Feature", "Mesh") # メッシュフィーチャーを作成
f.Mesh = m # メッシュオブジェクトを内部のプロパティに代入
d.recompute()


Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIFunction/jp Template:APIProperty/jp Template:APIProperty/jp Template:APIProperty/jp Template:APIProperty/jp Template:APIProperty/jp Template:APIProperty/jp Template:APIProperty/jp Template:APIProperty/jp Template:APIProperty/jp Template:APIProperty/jp