[R] From KDE-surfaces to 3d-printing format?

Atte Tenkanen attenka at utu.fi
Fri Nov 27 23:13:18 CET 2015

Dear Duncan,

Thank you! I think, I got conversion working by putting just writeSTL() 
after the contour3d-function (inside DrawDensity3D()).


At least, the stl-file seems to open in Pleasant3D and ply-file in MeshLab.




27.11.2015, 16.04, Duncan Murdoch kirjoitti:
> On 27/11/2015 7:24 AM, Atte Tenkanen wrote:
>> Hi,
>> Is it somehow possible to produce 3D-printing data from the kernel
>> density map produced by the
>> "DrawDensity3D"-function of "VecStatGraphs3D"-package?
>> I'm not an expert of KDE-technics, just can use that function to produce
>> surfaces...
> I don't know about that package, but you can certainly do so using 
> rgl.  See ?writeSTL (and the See Also links for other formats).
> Duncan Murdoch

More information about the R-help mailing list