对于openscad对象,是否有一种简单的方法/函数来圆边?
圆柱体的边缘
发布于 2015-10-22 19:41:28
minkowski()是你在几何学的所有边上四舍五入的朋友。minkowski()也非常慢,应该只用于最终渲染。您还可以实现与其他构造具有更高效率的圆角的原语。
$fn=60;
module drawLedgeRing()
{
difference()
{
cylinder(4,10,10);
translate([0,0,-1])
cylinder(4,6,6);
translate([0,0,2])
cylinder(4,8,8);
}
}
minkowski()
{
drawLedgeRing();
sphere(.25);
}
//drawLedgeRing();发布于 2020-05-04 17:40:56
制作圆柱体可能有很多种方法。一种方法是制作两个甜甜圈形状的物体并将其壳化。
hull(){
rotate_extrude() translate([r1,0,0]) circle(r2);
rotate_extrude() translate([r1,0,h1]) circle(r2);
}发布于 2020-05-24 18:49:46
我在寻找一个辐射块来3d打印一个仪器盒。在阅读了先前的答案后,我查看了赫尔(而不是城镇!:-)在一个街区的角落制作了8个相同的球体,并将它们脱壳看起来很好。
module radiusedblock(xlen,ylen,zlen,radius){
hull(){
translate([radius,radius,radius]) sphere(r=radius);
translate([xlen + radius , radius , radius]) sphere(r=radius);
translate([radius , ylen + radius , radius]) sphere(r=radius);
translate([xlen + radius , ylen + radius , radius]) sphere(r=radius);
translate([radius , radius , zlen + radius]) sphere(r=radius);
translate([xlen + radius , radius , zlen + radius]) sphere(r=radius);
translate([radius,ylen + radius,zlen + radius]) sphere(r=radius);
translate([xlen + radius,ylen + radius,zlen + radius]) sphere(r=radius);
}
}
radiusedblock(30,40,50,5);https://stackoverflow.com/questions/33146741
复制相似问题