I need to generate a mesh over the surface of a 3d object consisting of a number of intersecting cylinders. This needs to be done repeatedly, within the loop of an optimization. I'm hoping there is a simple and free tool out there that could handle the task, so I wouldn't have to make my own. (Panelizing the cylinders is easy, but making an algorithm to deal with panelizing the intersections would be too complicated to code myself.) Are there any such software tools out there? Ideally something that could be called from within matlab or a c++ code?