필터 지우기
필터 지우기

How to write my own extrude function

조회 수: 3 (최근 30일)
Mohammad Saeed Mafipour
Mohammad Saeed Mafipour 2021년 4월 12일
답변: Arthi Sathyamurthi 2021년 5월 27일
I'm trying to create a set of 2D points and then extrude it along a vector to have a 3D shape. I don't know how to write my own extrude function. I need to calculate the distance of a single point to the faces of the shape after extrusion. I'd be happy if you could help me.
Thank you!

답변 (1개)

Arthi Sathyamurthi
Arthi Sathyamurthi 2021년 5월 27일
You can directly use the extrude function in the MATLAB PDE toolbox. Further if you want to calculate the distance of a single point to the face of the shape in the extrusion you can use the distance formulae as the vertices of the extruded geometry can be found in the extruded model object, in the property vertices.

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by