[OpenSCAD] What's the best way to accomplish splitting these elements?

Ronaldo Persiano rcmpersiano at gmail.com
Fri Jul 5 22:20:14 EDT 2019


I think now I have understood guaranteed_interwoven's construction. Very
clever split.

$fn = 20;

t1 = [4, 5, 0];
t2 = [0, 0, 0];
t3 = [-5, 3, 0];
delta = 0.02;

module c1() translate(t1) cylinder(d1=10, d2=0, h=10);
module c2() translate(t2) cylinder(d1=10, d2=0, h=10);
module c3() translate(t3) cylinder(d1=15, d2=0, h=10);

module cutCyl()
  intersection() {
    children(0);
    linear_extrude(height=1000)
      projection()
        difference() {
          children(0);
          for(i=[1:1:$children-1]) children(i);
        }
  }

translate(delta*t1) cutCyl() { c1(); c2(); c3();}
translate(delta*t2) cutCyl() { c2(); c1(); c3();}
translate(delta*t3) cutCyl() { c3(); c1(); c2();}


[image: CutCones.PNG]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190706/04618cc7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CutCones.PNG
Type: image/png
Size: 17339 bytes
Desc: not available
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190706/04618cc7/attachment.PNG>


More information about the Discuss mailing list