OpenSCAD 建模:相框

  下载地址:https://github.com/ZhangGaoxing/openscad-models/tree/master/PhotoFrame

  代码:

module bottom(){
difference(){
cube([,,]);
translate([8.5,8.5,])cube([,,]);
}
} module frame(){
points=[
[,,],[,,],[,,],[,,],
[,,],[,,],[,,],[,,],
[,,],[,,],[,,],[,,],
[,,],[,,],[,,],[,,]
]; faces=[
[,,,],[,,,],[,,,],[,,,],
[,,,],[,,,],[,,,],[,,,],
[,,,],[,,,],[,,,],[,,,],
[,,,],[,,,],[,,,],[,,,]
]; translate([,,])polyhedron(points,faces);
} frame();
//bottom();

  效果图:

OpenSCAD 建模:相框

上一篇:第八节 JS运动基础


下一篇:[Effective JavaScript 笔记]第56条:避免不必要的状态