Import STL file into matlab and use a transform object as a parent to move it in a 3D plot

47 次查看(过去 30 天)
Hello, for university, I need to import an STL object into a 3D game built on matlab. Usually I create objects using the patch function and set a transform object as the parent to move it around the game. Is there a way to import the STL object into matlab as a patch or convert it to a patch. Or somehow use the transform object method to move the STL object around the game?

采纳的回答

Yazan
Yazan 2021-7-22
You can use this contribution to return the patch structs from a given stl file.

更多回答(0 个)

产品


版本

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by