openSCAD 画多边形 三角形_openscad 三角形_小白狼的博客-CSDN博客
polyhedron(
points = [[0,-50,60], [0,50,60], [0,50,0], [0,-50,0], [60,-50,60], [60,50,60]],
faces = [[0,3,2], [0,2,1], [4,0,5], [5,0,1], [5,2,4], [4,2,3], [4,3,0], [5,1,2]]
);
把点标记出来更直观
openSCAD 画多边形 三角形_openscad 三角形_小白狼的博客-CSDN博客
polyhedron(
points = [[0,-50,60], [0,50,60], [0,50,0], [0,-50,0], [60,-50,60], [60,50,60]],
faces = [[0,3,2], [0,2,1], [4,0,5], [5,0,1], [5,2,4], [4,2,3], [4,3,0], [5,1,2]]
);
把点标记出来更直观