Dear Duncan,

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

contour3d(....)
writeSTL("Data3D.stl")

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

:-)

Best,

Atte

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


______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to