代码:matlab对stl模型切片(显示切片处的三角形的三顶点)

  • Post author:
  • Post category:其他

在这里插入图片描述
素材:https://github.com/kangjie2333/PCL_CloudSources.git

clc
clear
close all

%读入stl数据
ptCloud = stlread('rabbit.stl');
%显示stl模型
trimesh(ptCloud);
hold on 
%网格顶点坐标矩阵P
P = ptCloud.Points

版权声明:本文为kangjielearning原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。