zarquon42b / Morpho

R-package providing a toolset for (3D-based) Geometric Morphometrics
51 stars 16 forks source link

mesh2ply should be able to write to a connection #8

Closed nevrome closed 7 years ago

nevrome commented 7 years ago

First of all thanks for implementing the mesh2ply() function - it's exactly what I was searching for!

Unfortunately the line

filename <- paste(filename, ".ply", sep = "")

prevents it from being able to write directly to an R connection. I would like to have this feature and tried to come up with a simple solution that doesn't influence the initial functionality.