【问题标题】:Im trying to subtract a cylinder from a intersection in openscad我试图从openscad中的交叉点减去一个圆柱体
【发布时间】:2015-03-29 10:01:28
【问题描述】:

这是我到目前为止所拥有的。我无法弄清楚如何从相交的部分中减去圆柱体。

联合(1){ 路口(){ 圆柱体(h=2,d=5,中心=真); 立方体([7,2,2],中心=真); }} 区别(){ 圆柱体(h=3,d=1,center=true); 工会(1); }

【问题讨论】:

    标签: intersection difference openscad


    【解决方案1】:

    这是我的问题的解决方案。如果它有助于任何人都可以使用,因为我回答了我自己的问题。

    区别(){ 圆柱体(h=2,d=4,$fn=48,center=true); 圆柱体(h=3,d=1.5,$fn=48,center=true); 翻译([0,2,0]){ cube([5,2,3],center=true);//右侧 翻译([0,-4,0]){ cube([5,2,3],center=true);//左侧 }}}

    【讨论】:

      【解决方案2】:

      我认为你有点困惑。没有理由不能从相交的对象中减去圆柱体。

       $fn=48;
       difference()
       {
          intersection()
          {
              cylinder(h=2,d=4, center=true);
              cube([7,2,2], center=true);
          }
          cylinder(h=3,d=1.5,center=true);
      }
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-04-30
        • 1970-01-01
        • 2023-04-07
        • 1970-01-01
        • 1970-01-01
        • 2013-02-14
        相关资源
        最近更新 更多