How to control the location of an .stl from importGeometry, i.e. set midpoint to z = 0?

2 ビュー (過去 30 日間)
Mark Lepage
Mark Lepage 2017 年 12 月 6 日
編集済み: Mark Lepage 2017 年 12 月 6 日
Hello,
As the title says, I am importing an .stl file to do analysis in the PDE toolbox.
Everything works fine, however, it looks like matlab just assigns the position of the .stl file.
My object is a cylinder, and I would like the midpoints of the cylinder at the x=y=z=0. In other words I want the center of the cylinder to be at the x=y=0, and the midpoint of the cylinder to be at z=0.
Currently, the center of my cylinder is at some arbitrary x, y value, (x = 12, y = -5).
Does anyone know an easy way to do this?

回答 (0 件)

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by