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

Ronaldo Persiano rcmpersiano at gmail.com
Fri Jul 5 20:26:05 EDT 2019


I think MIchael's code can be simplified by:

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

cutCyl() { c1(); c2(); c3();} };


However, the union of that last object with c2() and c3() does not seem to
be the intended split of the cone union.

[image: CutCones.PNG]

The problem as I see is that the line of intersection of two cones is in a
vertical plane just in the very specific case where both cone have same
height and base diameter. In those case, a vertical plane can "organically"
split the twp cones.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190706/62a38c09/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CutCones.PNG
Type: image/png
Size: 31833 bytes
Desc: not available
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190706/62a38c09/attachment.PNG>


More information about the Discuss mailing list