Notifications
Clear all
[Closed] Convert Trimesh to mesh
Dec 15, 2004 3:58 pm
Hi,
I need to convert Trimesh to mesh,but every function that i’m using doesn’t work for Trimesh:
addModifier new_mesh (normalModifier())
No ““addModifier”” function for TriMesh
convertToMesh new_mesh
No ““convertToMesh”” function for TriMesh
…
What should I do?
1 Reply
Dec 15, 2004 3:58 pm
Well, if you’re using Max7 you can supply the triMesh as the mesh: parameter of editable_mesh. Otherwise, you need to first create an empty editable_mesh, and then set the trimesh as its .mesh property and call update(). Here are some examples, which assume myTriMesh to be some triMesh value:
Max7:
myMesh = editable_mesh mesh:myTriMesh
update myMesh –not sure if this is necessary
Pre-Max7:
myMesh = editable_mesh()
myMesh.mesh = myTriMesh
update myMesh
RH