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

Parkinbot rudolf at digitaldocument.de
Tue Jul 9 04:16:08 EDT 2019


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/



More information about the Discuss mailing list