Mesh API/Meshオブジェクト

From FreeCAD Documentation
Revision as of 01:11, 22 August 2021 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Jump to navigation Jump to search
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