View source: R/BoneDensityFunctions.R
import_mesh | R Documentation |
import surface mesh
import_mesh(surface_mesh_filepath)
surface_mesh_filepath |
String. File path to bone models. .stl or .ply |
mesh object
Scott Telfer scott.telfer@gmail.com
# Download bone model
url <- "https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl"
bone_filepath <- tempfile(fileext = ".stl")
download.file(url, bone_filepath, mode = "wb")
import_mesh(bone_filepath)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.