Description Usage Arguments Details Value Examples
Remove the specimen container from an oriented 3D mesh
1 | remove_cyl(mesh, radius = 70, clip_fun = "default", keep = "inside", ...)
|
mesh |
The "mesh3d" object to trim |
radius |
Radius of clipping surface in mm |
clip_fun |
A function corresponding to the bounding surface, defaults to an open cylinder |
keep |
"inside" for vertices contained by the surface; "outside" for those falling beyond it |
... |
allows user to set the |
Boolean mesh operation to keep all points inside or outside the clipping surface
A "mesh3d" object with undesired vertices removed
1 2 3 4 | untrimmed <- rgl::translate3d(untrimmed_mesh1, x=-160, y=0, z=0)
trimmed <- remove_cyl(untrimmed_mesh1)
rgl::shade3d(untrimmed)
rgl::shade3d(trimmed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.