import_mesh: import surface mesh

View source: R/BoneDensityFunctions.R

import_meshR Documentation

import surface mesh

Description

import surface mesh

Usage

import_mesh(surface_mesh_filepath)

Arguments

surface_mesh_filepath

String. File path to bone models. .stl or .ply

Value

mesh object

Author(s)

Scott Telfer scott.telfer@gmail.com

Examples


  # 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)


BoneDensityMapping documentation built on Aug. 8, 2025, 6:46 p.m.