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

Ronaldo Persiano rcmpersiano at gmail.com
Tue Jul 9 11:58:27 EDT 2019


A very effective method to create a kerf between the split parts. It works
even when the center of a cone base is inside another cone base.

The linear_extrude height in embedded() could be the height of the target
cone preferably with some extra and translated down to avoid z-fighting in
preview. Would not be better the convexity of linear_extrude be something
like 2*len(data) ?

A terça, 9/07/2019, 09:16, Parkinbot <rudolf at digitaldocument.de> escreveu:

> why not using offset() after the projection?
>
>
> module embedded(target, delta)
> {
>   intersection()
>   {
>     gen_node(data[target][0], data[target][1], data[target][2]);
>     linear_extrude(height=1000, convexity = 5)
>     offset(-delta)
>     projection()
>     {
>       difference()
>       {
>         gen_node(data[target][0], data[target][1], data[target][2]);
>         for(i=[0:len(data)-1])
>         {
>           if(i != target)
>           {
>             gen_node(data[i][0], data[i][1], data[i][2]);
>           }
>         }
>       }
>     }
>   }
> }
>
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190709/1017abfd/attachment.html>


More information about the Discuss mailing list